Skip to content

Releases: SMILEY4/ktor-swagger-ui

3.6.0

21 Oct 18:04
Compare
Choose a tag to compare
  • 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

13 Oct 20:39
Compare
Choose a tag to compare
  • 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

06 Oct 15:47
Compare
Choose a tag to compare
  • 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

17 Sep 17:57
Compare
Choose a tag to compare
  • 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

01 Sep 21:43
Compare
Choose a tag to compare
  • upgrade schema-kenerator to version 1.1.1

3.3.0

17 Aug 13:02
Compare
Choose a tag to compare
  • 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

11 Jul 15:35
Compare
Choose a tag to compare
  • 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

28 Jun 16:01
Compare
Choose a tag to compare
  • add option to customize schema encoding

3.0.1

22 Jun 10:32
Compare
Choose a tag to compare
  • fixed body of defaultUnauthorizedResponse
  • upgraded schema-kenerator from 1.0.0 to 1.0.1

2.10.1

21 Jun 18:33
Compare
Choose a tag to compare

fixd bug: routes with same "url" not added to spec when rootHost-path is configured