This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Releases: openapi-json-schema-tools/openapi-json-schema-generator
Releases · openapi-json-schema-tools/openapi-json-schema-generator
4.0.0
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
- Java: adds MapSchema by @spacether in #279
- Java: changes return types from BigDecimal to Number by @spacether in #281
- Java: adds ListSchema by @spacether in #282
- Java, adds UUID schema and format checking by @spacether in #283
- Java, adjusts schema validator argument order by @spacether in #284
- Java, adds output class instantiation for Map and List use cases by @spacether in #285
- Java, generates all schemas by @spacether in #289
- Java, improves ref schemas by @spacether in #291
- Java, reduces unused imports by @spacether in #292
- Java, adds output class types for array and object schema types by @spacether in #293
- Java, improves validation by @spacether in #294
- Java, adds test of validate performance by @spacether in #295
- Java, adds array output type by @spacether in #296
- Java, property getters added to map output class by @spacether in #297
- Java, adds and uses exception types by @spacether in #298
- Java, adds schema docs by @spacether in #299
- Java, adds more json schema validators by @spacether in #300
- Java, adds composition validators by @spacether in #301
- Add support for application/x-pem-file MIME type by @robin-nitrokey in #280
- Updates generators and features by @spacether in #302
- Removes ts files by @spacether in #303
- Bump actions/setup-java from 3 to 4 by @dependabot in #305
- Java, adds more openapi v3.0.3 validators by @spacether in #304
- Java, creates v303 unit test client sample by @spacether in #306
- Java, adds 303 unit test client json schema tests by @spacether in #307
- Java, tests java clients in CI by @spacether in #308
- Java, adjusts validation method names in JsonSchema by @spacether in #309
- Java, improves package structure by @spacether in #310
- Java, readme update by @spacether in #311
- Java, improves schema docs, adds missing inherited validate by @spacether in #312
- Python/Java adds escapeUnsafeCharacters method to generators by @spacether in #313
- Generators, simplifies storage of txt that is codeEscaped vs htmlEscaped [breaking] by @spacether in #315
- Replace slf4j-simple with Logback by @ayewo in #317
- Removes unused org.codehaus.janino library by @spacether in #319
- Bump actions/setup-dotnet from 3 to 4 by @dependabot in #318
- Generators, adjusts storage of exclusiveMaximum/exclusiveMinimum [breaking] by @spacether in #316
- Java, adds code samples to schema docs by @spacether in #320
- Java, improves schema doc code samples by @spacether in #321
- Java, schema documentation improvements for strings [breaking] by @spacether in #322
- Java + Python documentation fix, changes newlines to html br by @spacether in #323
- Java, adds list input builder placeholder by @spacether in #324
- Java, adds map builder class placeholder by @spacether in #325
- Java, eliminates almost all schema reflection by @spacether in #327
- Java, adds SetMaker to allow null into enum by @spacether in #328
- Java, adds JsonSchema input map and list generics by @spacether in #329
- Java, reduce unchecked casts by @spacether in #331
- Java, improves schema generics by @spacether in #332
- Bump actions/download-artifact from 3 to 4 by @dependabot in #334
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #333
- Java, adjusts KeywordValidator validate inputs by @spacether in #335
- Java, adjusts storage of JsonSchema keyword info by @spacether in #336
- Java, renames schema validators by @spacether in #337
- Java, eliminate unsafe casts by @spacether in #338
- Java, protect output class direct instantiation by @spacether in #339
- Java, adds checker framework by @spacether in #342
- Java, updates JsonSchema + List/MapSchemaValidator validate methods by @spacether in #343
- Java, adds enums and uses them in Schema validate methods by @spacether in #344
- Java, removes spaces from docs by @spacether in #345
- Java, adds list builder by @spacether in #346
- Java, adds map builders [breaking] by @spacether in #347
- Lists java generator, updates version to 4.0.0-alpha by @spacether in #348
- Small readme fixes by @spacether in #349
- Generators, removes unused config options and libraries by @spacether in https://github.com/openapi-json-schema-tools/openapi-json-schema-gene...
3.3.1
What's Changed
- Improves contains validation by @spacether in #267
- Refactors test file generation by @spacether in #269
- Java, adds string to datetime and date converter by @spacether in #270
- Feat adds java schema configuration by @spacether in #271
- Java, adds schema validator test by @spacether in #272
- Java, adds Schema interface by @spacether in #273
- Java, adds schema classes by @spacether in #274
- Java, add String schema classes by @spacether in #275
- Fixes Python schema class order, Issue 276 by @spacether in #277
- Releases 3.3.1 version by @spacether in #278
Full Changelog: 3.3.0...3.3.1
3.3.0
What's Changed
- Update README.md by @spacether in #262
- Update README.md by @spacether in #263
- Adds openapi 3.1.0 if/then/else json schema features + fixes exclusiveMax/Min bug by @spacether in #234
- Preparation for v3.3.0 relase by @spacether in #265
- v3.3.0 release by @spacether in #266
Full Changelog: 3.2.1...3.3.0
3.2.1
What's Changed
- Update README.md, updates version compatibility matrix by @spacether in #258
- Fixes component access issue + path item params bug by @spacether in #260
- Removes unused sample files by @spacether in #261
Full Changelog: 3.2.0...3.2.1
3.2.0
What's Changed
- Update README.md by @spacether in #257
- Adds pathItem common parameters by @spacether in #256
Full Changelog: 3.1.1...3.2.0
3.1.1
What's Changed
- Fix java 20 test failure by @spacether in #247
- Removes symlinks when making docker image by @spacether in #248
- Removes symlinks before jar generation by @spacether in #249
- Fixes mypy errors in user document by @spacether in #250
- Fixes mypy redundant casts issue by @spacether in #251
- Removes maven link by @spacether in #253
- Issue 246 fix, type hints for object schema dict output class values improved by @spacether in #252
- Fixes documentation bug, removes unused braces by @spacether in #255
Full Changelog: 3.1.0...3.1.1
3.1.0
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:
- type (array of types supported in addition to one non-array value)
- const: only string values are working because of bugs in swagger parser
- contains
- dependentRequired
- dependentSchemas
- maxContains
- minContains
- patternProperties
- prefixItems
- propertyNames
- unevaluatedItems
- unevaluatedProperties
What's Changed
- Adds 3.1.0 contains feature by @spacether in #205
- Adds 3.1.0 min/maxContains by @spacether in #208
- Adds 3.1.0 const feature by @spacether in #210
- Adds 3.1.0 dependentRequired by @spacether in #212
- Adds 3.1.0 dependent schemas by @spacether in #214
- Adds 3.1.0 json schema propertyNames by @spacether in #216
- Refactors schema class templates by @spacether in #217
- Adds patternProperties by @spacether in #220
- Adds prefixItems validation by @spacether in #222
- Adds unevaluatedItems schema feature by @spacether in #224
- Adds python 3.9 CI testing, fixes bug by @spacether in #227
- Adds unevaluatedProperties feature by @spacether in #229
- Bump actions/checkout from 3 to 4 by @dependabot in #235
- Adds 3.1.0 unit test spec by @spacether in #238
- Fixes documentation, adds validate invocation in schema examples by @spacether in #240
- Adds json schema test cases for 11 added keywords by @spacether in #241
- v3.1.0 release by @spacether in #245
Full Changelog: 3.0.0...3.1.0
3.0.0
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
What's Changed
- Fix api operation links in sample docs by @spacether in #178
- Adds security_index info to endpoint docs by @spacether in #181
- Version rev roll to 2.0.3 by @spacether in #182
Full Changelog: 2.0.2...2.0.3
2.0.2
What's Changed
- Fixes issue 171, fixes required property access by @spacether in #172
- Rev roll to 2.0.2 by @spacether in #173
Full Changelog: 2.0.1...2.0.2