Skip to content

Releases: swagger-api/swagger-parser

Swagger-parser 1.0.34 released!

23 Jan 15:45
7b50ce5
Compare
Choose a tag to compare

Minor release fixing a couple of issues:

  • Fix to SwaggerCompatConverter so it can load inputSpec from classpath (#580)
  • Fix compat-spec-parser and array test (#598)
  • Fixing bug resolving additionalProperties (#602)
  • Fixing the internal refs paths - resolving refs (#611)
  • Fix allOf failing to resolve RELATIVE ref (#617)
  • Adding maxItems and MinItems into ArrayModel in deserializing (#619)
  • Fix allOf to process load properties with external $ref (#621)
  • Fix handling of relative refs without leading dot (#422)

Swagger-parser 2.0.0-rc2 released!

22 Nov 18:28
fc8993b
Compare
Choose a tag to compare
Pre-release

The Swagger team is proud to announce the rc2 release candidate of the swagger-parser library.

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 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.

Notable Changes:

  • Add Support to anyOf and oneOf schemas and Fix array schema deserialization (#585)
  • Added flag to avoid aggregation of anyOf/allOf/oneOf schemas while using resolveFully() (#568)
  • New Option: Flatten Schema Option (#541)
  • Fixed Number Handling in Enums (#575, #537)
  • Fixed parsing of security requirements (#572)
  • Fixed default explode value (#570)
  • Fix NPE in ResolverFully when components is missing (#566)
  • Adding a isValid method in ParserResult (#554)
  • Update dependencies - Versioning and naming - refs (#561)
  • Numerous 2.0 -> 3.0 conversion fixes

Swagger-parser 1.0.33 released!

22 Nov 18:02
6be4df3
Compare
Choose a tag to compare

Minor release fixing a couple of issues and adding parser readWithInfo method with resolve parameter:

Fix referenced models parsing on definitions (#495)
Fix Issue with Parser listing empty definitions (#552)
Added parser readWithInfo method with resolve parameter (#574)

Swagger-parser 2.0.0-rc1 released!

29 Sep 23:29
Compare
Choose a tag to compare
Pre-release

The Swagger team is proud to announce the rc1 release candidate of the swagger-parser library.

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 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.

Notable Changes:

  • Create schemas based on their types (#504, #513)
  • Fixed composed schema parsing (#515, #516)
  • Fixed examples parsing (#506, #511, #532)
  • Fixed parsing of securitySchemes (#512)
  • Fix inconsistent behavior between the types of the API definition loading (#520)
  • Update dependencies
  • Numerous 2.0 -> 3.0 conversion fixes

Swagger-parser 2.0.0-rc0 released!

22 Aug 05:05
Compare
Choose a tag to compare
Pre-release

The Swagger team is proud to announce the rc0 release candidate of the swagger-praser library. This release candidate provides official initial support for OpenAPI 3.0’s main features. The missing features will be added in the next release candidates until the final release is available.

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 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.

Notable Features:

  • First official release candidate of OpenAPI 3.0 support.
  • Swagger-Parser will convert 2.0 to 3.0 upon loading.
  • Available on Maven central, and the sources are in the 2.0 branch. PRs should be submitted against the 2.0 branch.
  • Built with Java 8

We invite you to check the README for more information on how to use it.

Swagger-parser 1.0.32 released!

17 Oct 18:45
Compare
Choose a tag to compare

Minor update to update the swagger-core dependency which brings some vulnerability fixes in dependencies.
See /~https://github.com/swagger-api/swagger-core/releases/tag/v1.5.16 for more details.

Swagger-parser 1.0.31 released!

14 Jul 19:39
Compare
Choose a tag to compare

This minor fix has thrilling and tantalizing updates, namely:

  • swagger-core updated to latest & greatest (1.5.15)
  • security fix for possible BadPersonActivity(tm) in YAML #481
  • Added missing descriptions for security definitions #482

Note: The security fix was generously found and fixed by @ mmosemmle by using the lgtm.com tool

Get it while it's hot!

swagger-parser 1.0.29 released!

31 May 17:27
Compare
Choose a tag to compare

It 'aint 3.0 support, but who cares! This is the latest update to the swagger-parser which adds the following:

  • More tests! Ensures regression of #243 won't happen anytime this century
  • Exposed guts of the SwaggerDeserializer to make it easier to extend #430
  • Fixed a semi-lame NPE when string-based definition is null #432
  • Capture extensions in array models #450
  • Properly re-root remote references #458

Swagger-Parser 1.0.26 Released!

01 Mar 13:15
Compare
Choose a tag to compare

Some minor updates in the parser to support the swagger-core 1.5.12 release.

Improvements

  • Better parsing of BodyParameter. Support extensions #360, #381
  • Update HTTP client library to more secure version #397
  • Show SSL errors more gracefully #383

Fixes

  • No longer converting minimum, maximum, default values to double when parsing. Now uses BigDecimal along with a string cache to keep the original formatting without interpolation #400

Swagger-parser 1.0.25 Released!

27 Dec 21:28
Compare
Choose a tag to compare

Well what do you know, a late holiday gift! Here's a new release of swagger-parser to bring you into the New Year the right way.

Enhancements

  • Updated to Jackson 2.8.4, along with the latest swagger-core
  • Parsing of non-string enum values #363
  • URL cleaning to support 1.1, 1.2 specs #367
  • Parsing of uniqueItems, multipleOf #372
  • Less printlns #370

Fixes

  • allOf with single element no longer gives error #371