Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
APACHE-2.0 License
Bot releases are hidden (Show)
Published by frantuma about 5 years ago
ApiModel.value
(#3292)Published by frantuma about 5 years ago
Note: swagger-gradle-plugin
version for this release is 2.0.9.1
, this is due to an issue with the publishing mechanism of gradle plugin portal
Published by frantuma about 5 years ago
minor release bumping jackson to 2.9.9 (#3246) and fixing a bug related to @JsonSerialize
processing (#3264)
Published by frantuma over 5 years ago
Published by frantuma over 5 years ago
Published by frantuma over 5 years ago
Published by frantuma almost 6 years ago
Published by frantuma about 6 years ago
Published by frantuma about 6 years ago
Published by frantuma about 6 years ago
Minor bug fix release implementing/fixing the following:
Published by frantuma about 6 years ago
Add ref
field to annotations with related support in Reader (#2839)
refs #2848 - fix required resolving for arrayschema schema (#2867)
refs #2778 - also consider NotEmpty and NotBlank to resolve required (#2876)
refs #2833 - fixes and resolves Links requestBody (#2877)
IMPORTANT NOTE: this PR addresses #2833, by updating requestBody
member datatype of swagger-models Link
to be Object
instead of previous RequestBody
, as it correctly maps to OpenAPI definition https://github.com/OAI/OpenAPI-Specification/blob/3.0.1/versions/3.0.1.md#linkObject.
This is a breaking change, but it makes sense as the previous datatype was basically wrong and meaningless. An alternative would be deprecating requestBody, and introducing a new requestBodyObject
serialized as JSON requestBody
via mixin and jackson annotations.
NPE on Json sub type with no name defined (#2862)
Add ref
field to annotations with related support in Reader (#2839)
supports primitives in oneOf, anyOf, allOf schema annotations (#2902)
Published by frantuma over 6 years ago
Notable features
Updates master branch to Swagger 2.0 / OpenAPI 3.0 code; 1.5.X code has been moved from master to 1.5 branch where 1.5.X code development/maintenance will continue (#2787)
Allows custom typename resolving (#2121)
Matrix param support (#2799)
@NotNull
support in parameter (#2803)
Avoid NPE in some scenarios involving maps (#2793)
Full support for ArraySchema properties via annotations (#2806)
Published by frantuma over 6 years ago
Updates master branch to Swagger 2.0 / OpenAPI 3.0 code; 1.5.X code has been moved from master to 1.5 branch where 1.5.X code development/maintenance will continue (#2787)
Add missing properties to Model (#2768)
Fix security scheme name/key resolving (#2767)
Fix missing enum in converted response schema (#2790)
Allows setting operation deprecated to false (#2782)
Fix name resolution in enums (#2707)
Allows custom typename resolving (#2121)
Fixed override issue on property collectionFormat
part of annotation @ApiImplicitParam
(#2800)
Response example support (#2319)
Published by frantuma over 6 years ago
Notable features
Mainly bug fix release implementing/fixing the following:
JDK 9/10 support in build (#2735)
Supports OpenAPIExtension
decorateOperation
(#2748)
Fix path building for resources without leading slashes (#2751)
Fix stackOverflowError for circuclar reference in jackson ModelResolver (#2740)
Fix CVE-2018-7489 - jackson version 2.9.5 (#2755)
Fix random build error (#2752)
Fix NPE in Reader with null config (#2736)
Improve support for #2635
Correctly resolve array schema annotations with ref schema items (#2763)
Fix security scheme name/key resolving (#2767)
Published by frantuma over 6 years ago
Notable features
ApiModelProperty
field accessMode
which replaces readOnly
(deprecated) to allow setting readOnly both as true
and false
in ApiModelProperty
annotation. (#2379)accessMode
) is left unaltered to maintain backward compatibility.Bug fixes
operationId
(#2433)Published by frantuma over 6 years ago
The Swagger team is proud to announce the first official 2.0.0 release of our main java library swagger-core. This release enhances rc4 support for OpenAPI 3.0’s main features.
In order to better improve these libraries and tools, we ask that you start using them and provide us with feedback in form of issues (please use label 3.0 spec support
) on the github repository. The issues are a huge help in finding what’s missing or not working properly (though note some issues are already submitted). We would also appreciate any PRs that improve existing or new tickets.
Be aware that the release notes contain the notable changes, but there may some changes that we missed in the list.
openapi.json
and openapi.yaml
to known locations (#2727)Published by frantuma over 6 years ago
The Swagger team is proud to announce the rc4 release candidate of our main java library swagger-core. This release candidate enhances rc3 support for OpenAPI 3.0’s main features. The missing features will be added in the final release.
In order to better improve these libraries and tools, we ask that you start using them and provide us with feedback in form of issues (please use label 3.0 spec support
) on the github repository. The issues are a huge help in finding what’s missing or not working properly (though note some issues are already submitted). We would also appreciate any PRs that improve existing or new tickets.
Be aware that the release notes contain the notable changes, but there may some changes that we missed in the list. The same applies for the Limitations
section.
Boolean
or Schema
(#2461)RequestBody
and other annotations support (#2562)MatrixParam
annotation supportPublished by frantuma over 6 years ago
Mainly bug fix release implementing/fixing the following:
Published by frantuma almost 7 years ago
Minor release fixing a couple of issues and adding extensions to model property:
Published by frantuma almost 7 years ago
Project groupId
and package naming have changed since v2.0.0-rc3
(see ticket #2485)
New groupId is io.swagger.core.v3
, therefore e.g. swagger-jaxrs2
maven dependency is in the form:
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-jaxrs2</artifactId>
<version>2.0.0-rc3</version>
</dependency>
Root package for all modules also changed to io.swagger.v3
, e.g. swagger-jaxrs2
root package is now io.swagger.v3.jaxrs2
The Swagger team is proud to announce the rc3 release candidate of our main java library swagger-core. This release candidate enhances rc2 support for OpenAPI 3.0’s main features. The missing features will be added in the final release.
In order to better improve these libraries and tools, we ask that you start using them and provide us with feedback in form of issues (please use label 3.0 spec support
) on the github repository. The issues are a huge help in finding what’s missing or not working properly (though note some issues are already submitted). We would also appreciate any PRs that improve existing or new tickets.
Be aware that the release notes contain the notable changes, but there may some changes that we missed in the list. The same applies for the Limitations
section.
groupId
and package naming change! (#2485, see also above)ServletContainerInitializer
based startup scanning (#2504, see related samples in samples, jersey sample, RESTEasy sample)@OpenAPIDefinition
support (#2517)@ApplicationPath
support (#2489)@Schema
elements resolving (#2476)@Hidden
support (#2528)@Schema.subTypes
support (#2511)@ArraySchema
support (#2501)MatrixParam
annotation support