Releases: papsign/Ktor-OpenAPI-Generator
Releases · papsign/Ktor-OpenAPI-Generator
Merged Experimental
Merged experimental
- Added proper Set support
Fixed Initialisation error with models
- Fixed Initialisation error with models containing
Nothing
- Fixed wrong initialisation of nullable
Enum
models
Fixed Throws clauses not generating the examples
- Fixed Throws clauses not generating the examples
Ktor version upgrade
- upgraded ktor version to 1.3.2
Reworked Model
Reworked Model
/!\ Breaking changes
- Reworked SchemaBuilder to be modular
- SchemaNamer config no longer exists and must be declared as default module
Non breaking changes
- Reworked model system to be cleaner
- Reworked throws clause to have cleaner variants and provide examples
- Added system to apply modifier to SchemaModels with annotations called SchemaProcessor
- Rebuilt validator system to not rely on reflection or the module system anymore.
- Restructured validator system to resemble the SchemaProcessor system, allowing for one hander that handles model transformation and validation.
Fixed generic class models not being generated properly
- Fixed generic class models not being generated properly
- Fixed duplicate models being generated for nullable and non nullable class models
Spec compliant parameters for PathParams and QueryParams
This release two things:
- Spec compliant Parameter Parsing
- Changed KType generation that now supports nullable types inside Generic Parameters of all the library's components, thanks to the new Builtin typeOf() of the experimental API
First semi-stable release, to allow reliable use of this library in production
Since there is quite a bit of usage of this library and no issues being issued creating proper releases will greatly increase reliability.
This is beta as long as all features are not properly unit tested.
Beta will not necessarily describe all implemented featured in the change log.
If you want proper releases that are fully stable, tested and documented please contact us.