Skip to content

Releases: SMILEY4/ktor-swagger-ui

2.0.0-rc

26 May 16:38
Compare
Choose a tag to compare
2.0.0-rc Pre-release
Pre-release
  • smarter automatic schema handling
  • plugin configuration
    • removed canonicalNameObjectRefs, schemasInComponentSection, examplesInComponentSection, jsonSchemaBuilder
    • replaced automaticTagGenerator with generateTags
    • added section encoding
  • schema and example generation process more extendable (via encoding-config section) allowing for simpler integration of other schema generators and json-serializers (e.g. supporting kotlinx and multiplatform) - see KotlinxExample.kt

1.6.1

20 Apr 14:20
Compare
Choose a tag to compare
  • upgrade swagger parser to 2.1.13 due to vulnurabilities

1.6.0

17 Apr 20:12
Compare
Choose a tag to compare
  • add @Example-Annotation to add example values directly on fields of the model
  • support for (some features of) the openapi-core @Schema-Annotation

1.5.0

07 Apr 13:53
Compare
Choose a tag to compare
  • added "hidden"-flag to not include routes in openapi-spec

1.4.0

20 Mar 20:16
Compare
Choose a tag to compare
  • add (basic) support for swagger @Schema-annotation to add more information (mainly description, title, required, nullable) to schemas/fields

1.3.2

17 Mar 16:59
Compare
Choose a tag to compare
  • fix bug: primitive body types (int, float, ...) default to type "string" when specified via generics

1.3.1

17 Mar 16:12
Compare
Choose a tag to compare
  • fix bug: example values for parameters could not be set and were mixed up with the "explode"-option

1.3.0

09 Mar 19:44
Compare
Choose a tag to compare
  • allow multiple security schemes per route

1.2.0

20 Feb 20:44
Compare
Choose a tag to compare
  • add config (ignoredRouteSelectors) to ignore specific ktor route-selectors
  • enable usage of custom object schemas as object or array
  • add option to mark routes as deprecated
  • bugfix: changed canonicalNameObjectRefs in plugin-config from val to var

1.1.1

18 Feb 12:40
Compare
Choose a tag to compare
  • fix bug: changed canonicalNameObjectRefs to var in plugin-config