Skip to content

Releases: swagger-api/swagger-core

Swagger-core 1.5.23 released!

22 Aug 14:23
3d4b51c
Compare
Choose a tag to compare

minor release bumping jackson to 2.9.9 (#3246) and fixing a bug related to @JsonSerialize processing (#3264)

Swagger-core 2.0.8 released!

24 Apr 14:01
053b876
Compare
Choose a tag to compare
  • deserialize into MapSchema for bool additionalProperties (#3188)
  • Ticket-3115: Documentation for the swagger-gradle-plugin appears to give incorrect artifact path (#3186)
  • ref #3144 - support filter in maven/gradle plugins (#3183)
  • unnamed example support (#3182)
  • fix #3173 - iterate filtered paths (#3177)
  • fix #3173 - use filtered values in returned instance (#3176)
  • AnnotationsUtils: API response header can be processed with only name… (#3175)
  • Update maven wrapper distribution to 0.5.3 (#3152)
  • Add swagger config file option to maven plugin (#3133) (#3150)
  • ref #3138 - add Automatic-Module-Name to manifest (#3139)

Swagger-core 2.0.7 released!

18 Feb 13:43
debe4bf
Compare
Choose a tag to compare
  • fix #3088 - fixes boolean @type annotation (#3125)
  • Update jackson version to 2.9.8 (#3123)
  • ref #3079 - update guava (#3121)
  • bump jackson to 2.9.8 (#3120)
  • fix #3071 - fixes empty enum in server variable (#3110)
  • ref #2943 - replace reflections with classgraph (#3109)
  • ref #3074 - include ModelConverter skipped classes in Reader shouldIgnoreClass (#3107)
  • fix ArraySchema toString (#3105)
  • fix #3094 - avoid duplicate fields in schema classes (#3102)
  • fix #3098 - fix null enum item handling (#3100)
  • ref #3082 - updated returnType handling (#3096)
  • ref #3082 - jaxrs generic return type is abstract class (#3083)
  • ref #3074 - Incorporate ModelConverters.skippedClasses before adding method return type to schema (#3078)
  • ref #3073 - fix gradle plugin ext url (#3077)
  • Swagger Core Rebranding in master (#3055)
  • ref #3037 - SpecFilter fix filter schemas (#3039)
  • ref #2971 - fix ObjectMapperProcessor scope of action (#3038)

Swagger-core 1.5.22 released!

18 Feb 13:12
1158f93
Compare
Choose a tag to compare
  • ref #3079 - update guava for v1 (#3122)
  • try resolving response example as json (#3113)
  • Swagger-core Jackson version update to 2.9.8 (#3091)
  • Consider properties for equality of ObjectProperty (#3085)
  • fix for issue #2907 - 1.5.x version (#2920)

Swagger-core 2.0.6 released!

27 Nov 16:26
3aa9864
Compare
Choose a tag to compare
  • ref #3029 - fix ref parameter resolving (#3032)
  • ref #3016 - synchronized OpenApiContextLocator (#3018)
  • ref #3015 - fixed schema impl resolving as primitive, add excluded custom classes (#3017)
  • ref #3013 - contextId in maven and gradle plugin (#3014)
  • ref #2918 - JsonView support for RequestBody (#3010)
  • ref #2972 - fixes resolving multiple map properties (#3001)
  • ref #2992 - add support for LocalTime and custom system and primitive types (#2993)
  • ref #2977 - fix ctxId in context, fix reader usage (#2990)
  • ref #2984 - fix duplicated operationId (#2988)
  • Form param bean param fix (#2986)
  • Assign id to OpenApiContext correctly, to enable caching of OpenApiCo… (#2978)
  • Fix for Issue #2966 (#2974)
  • ref #2971 - adds modelConverterClasses and objectMapperProcessorClass to config (#2973)
  • Preserve order in maps accross the OAS model (#2968)
  • fix ref callback deserialization (#2963)

Swagger-core 2.0.5 released!

19 Sep 15:03
7090ca2
Compare
Choose a tag to compare

Notable features

  • implements maven and gradle plugins (#2954)

Provides maven and gradle plugins to resolve an OpenAPI definition at build time.

Swagger-core 2.0.4 released!

05 Sep 15:06
bde7078
Compare
Choose a tag to compare
  • make ModelResolver _isOptionalType protected (#2908)
  • ref #2420 - adds propertyName to annotatedType (#2909)
  • make addRequiredItem protected so that it can be used in subclasses (#2911)
  • ref #2915 - fix property name (#2917)
  • ref #2926 - fix extensions (de)serialization (#2931)
  • ref #2846 - fix SecuritySchemePair visibility (#2932)

Swagger-core 2.0.3 released!

09 Aug 15:38
168e9b5
Compare
Choose a tag to compare
  • 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)

Swagger-core 1.5.21 released!

09 Aug 15:38
74398a6
Compare
Choose a tag to compare

Minor bug fix release implementing/fixing the following:

  • refactor and fix references handling (#2849, see PR description)
  • Not specifying example causes warn log message with stacktrace for longs (#2783)
  • Basic implementation of 'allOf' for properties (#2890)

Swagger-core 2.0.2 released!

24 May 15:27
2d956c5
Compare
Choose a tag to compare

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)