Releases: SMILEY4/ktor-swagger-ui
Releases · SMILEY4/ktor-swagger-ui
2.0.0-rc
- 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
- upgrade swagger parser to 2.1.13 due to vulnurabilities
1.6.0
- 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
- added "hidden"-flag to not include routes in openapi-spec
1.4.0
- add (basic) support for swagger @Schema-annotation to add more information (mainly description, title, required, nullable) to schemas/fields
1.3.2
- fix bug: primitive body types (int, float, ...) default to type "string" when specified via generics
1.3.1
- fix bug: example values for parameters could not be set and were mixed up with the "explode"-option
1.3.0
- allow multiple security schemes per route
1.2.0
- 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
- fix bug: changed canonicalNameObjectRefs to var in plugin-config