Releases: SMILEY4/ktor-swagger-ui
Releases · SMILEY4/ktor-swagger-ui
3.6.0
- support location "cookies" for request parameters
- option to serve api-spec as yaml instead of json
install(SwaggerUI) {
outputFormat = OutputFormat.YAML
}
- fix bug: additional slashes in routes caused parts of url being dropped
- upgrade schema kenerator from 1.4.3 to 1.5.0
- bump versions of some dependencies
3.5.1
- properly render openapi-spec as 3.1.0
- upgrade schema-kenerator from 1.4.1 to 1.4.3
- upgrade ktor from 2.3.11 to 2.3.12
3.5.0
- upgrade schema-kenerator to version 1.4.1
- fixed: incorrect http-status-code format in responses object
- fixed: "ktor.deployment.rootPath" is included in paths
3.4.0
- upgrade schema-kenerator to version 1.2.2
- removed some openapi fields with default values in the generated spec that are usually optional (this resulted in some invalid schemas before)
3.3.1
- upgrade schema-kenerator to version 1.1.1
3.3.0
-
upgrade schema-kenerator from 1.0.1 to 1.1.0
-
path-parameters are not "required" by default
-
fixed issue with config merging, resulting in some plugin config changes to be ignored or having no effect
3.2.0
- fixed bug: security examples not generated with correct type
- quality of life improvements to dsl
-
get("example", {
tags = listOf("tag1", "tag2")
// new alternative (also available for other collection setters):
tags("tag1", "tag2")
}) {}
-
get("example", {
response {
HttpStatusCode.OK to { /*...*/}
// new alternative:
code(HttpStatusCode.OK) { /*...*/ }
}
}) {}
3.1.0
- add option to customize schema encoding
3.0.1
- fixed body of
defaultUnauthorizedResponse
- upgraded schema-kenerator from 1.0.0 to 1.0.1
2.10.1
fixd bug: routes with same "url" not added to spec when rootHost-path is configured