Skip to content

Releases: openapi-json-schema-tools/openapi-json-schema-generator

4.0.0

08 Jan 20:34
7eb4fca
Compare
Choose a tag to compare

Updates

  • Java client added with openapi v3.0.0 - 3.0.3 schema validation
  • Python: pem content-type added

Breaking Changes:

  • Generators, simplifies storage of txt that is codeEscaped vs htmlEscaped [breaking] by @spacether in #315
  • Generators, adjusts storage of exclusiveMaximum/exclusiveMinimum [breaking] by @spacether in #316
  • Java, schema documentation improvements for strings [breaking] by @spacether in #322
  • Java, adds map builders [breaking] by @spacether in #347

What's Changed

Read more

3.3.1

07 Nov 22:55
402221e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.3.0...3.3.1

3.3.0

01 Nov 03:18
3940c87
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.2.1...3.3.0

3.2.1

25 Oct 22:05
67583f9
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.2.0...3.2.1

3.2.0

20 Oct 21:16
4806ecd
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.1.1...3.2.0

3.1.1

16 Oct 19:26
b540502
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.1.0...3.1.1

3.1.0

28 Sep 21:18
e378f80
Compare
Choose a tag to compare

Adds preliminary openapi v3.1.0 document processing

Over 50% of the 3.1.0 new json schema keyword features have been implemented
Preliminary 3.1.0 spec support includes these json schema keywords:

  1. type (array of types supported in addition to one non-array value)
  2. const: only string values are working because of bugs in swagger parser
  3. contains
  4. dependentRequired
  5. dependentSchemas
  6. maxContains
  7. minContains
  8. patternProperties
  9. prefixItems
  10. propertyNames
  11. unevaluatedItems
  12. unevaluatedProperties

What's Changed

Full Changelog: 3.0.0...3.1.0

3.0.0

16 Aug 17:31
Compare
Choose a tag to compare

Big Changes

  • Schema classes have been changed from being nested to sequential
  • Schema classes now only store json schema info
  • Schema payload output classes are now generated for type: object and type: array payloads
  • python code now passes mypy checks, means that this generator can be ported into compiled languages
  • Overloads added for SomeSchema.validate with type constraints on inputs and outputs
  • Enums of type string/integer/boolean now have typing.Literal type hints for inputs and outputs
  • python version changed to >= 3.8
  • java version changed to 11
  • java project simplified via refactoring
  • Read about the v3 changes in the python client v3 migration guide here

What's Changed

  • merge the 3_0_0 branch into master by @spacether in #202
  • docs update including migration doc #201
  • updates docs to correctly describe shemas + schema.validate input #200
  • v3 updates format fn names #199
  • CircleCI cleanup #198
  • Adds XSchemaDict constructor using named arguments #197
  • upgrades immutabledict #196
  • Shortens operation + response files, improves request body serialize #195
  • Samples simplified #194
  • Updates python version >= 3.8 #193
  • Updates java version to 11 #192
  • root file cleanup #190
  • java package consolidation, folder cleanup, docker image size reduction #189
  • improves enums #188
  • adds mypy #187
  • adds enum literal input and output type hints #186
  • simplifies validation #185
  • adds new overload #184
  • updates __new__ to take one input arg #183
  • converts nested schemas into sequential schemas #177
  • fix operation overloads #176
  • fixes type errors #175
  • adds generic type info to schema classes/properties/items #174
  • code reduction with shared imports #168
  • more code reduction #167
  • reduces generated code #166
  • reduce typing overloads #165
  • removes get_item_ #159

Full Changelog: 2.0.3...3.0.0

2.0.3

07 Jun 21:18
f9d4c5e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.2...2.0.3

2.0.2

17 May 17:25
18864f4
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.1...2.0.2