Skip to content

Releases: papsign/Ktor-OpenAPI-Generator

Added Byte And Short type to primitive parsers

15 Sep 23:41
Compare
Choose a tag to compare
  • Added Byte And Short types to primitive parsers

Fixed previous release

15 Sep 23:36
Compare
Choose a tag to compare

Fixed previous release sending wrongful errors on nullable types.

Replaced validation NPE with OpenAPIRequiredFieldException

15 Sep 14:36
947aad8
Compare
Choose a tag to compare
  • Replaced validation NPE with OpenAPIRequiredFieldException

Changed KClass and Reified to KType

27 Jul 19:42
e637f3a
Compare
Choose a tag to compare
  • Added documentation on common methods
  • Changed KClass to Ktype in Most parts of the project
  • Changed Behavior of Module Provider to reflect the changes
  • /!\ Dependencies of dependent modules are registered before the module, unless they are already present.
  • Fixed sercurity scheme not being generated due to chnages

Changed logback to SLF4J

03 Jul 13:31
e4fe15b
Compare
Choose a tag to compare
  • Changed logback to SLF4J to prevent "Class path contains multiple SLF4J bindings"

Added status code modules, changed Module provider to be KType based instead of KClass based

15 Jun 11:39
Compare
Choose a tag to compare
  • Added Status Modules and corresponding utility functions
  • Changed Module provider to use KTypes instead of KClasses; Broken code needs to either specify type = x::class.startprojectedType or use the reified inline version of registerModule depending on what the desired behavior is.
  • Changed Module provider to Guarantee insertion order while preserving HashSet Uniqueness for retro compatibility. Last insertions are guaranteed to be at the end of the ofType returned collection now, allowing to use the module provider like a stack.

Generic Body Types

08 Jun 16:41
6593fde
Compare
Choose a tag to compare
  • Generic body types can now be properly parsed

Any code implementing a custom parser module will break, but the changes in behaviour are very minor, jut get the classifier from the KType.

String Constraints

03 Jun 10:50
729aef7
Compare
Choose a tag to compare
  • Added various string constraint annotations

Added `@Description` and `@StringExample`

21 May 19:09
10f49e3
Compare
Choose a tag to compare
  • Added @Description to describe the openapi models
  • Added @StringExample to conveniently add string examples to openapi models

Fixed Examples not generating the right OpenAPI definition

15 May 14:53
Compare
Choose a tag to compare
  • Examples now follow the right spec-compliant model.