Skip to content

3.0.0

Compare
Choose a tag to compare
@SMILEY4 SMILEY4 released this 09 Jun 11:39
· 114 commits to release since this release
  • improved default schema-generator configuration
  • improved documentation

Changes from 3.0.0-beta1

  • reworked schema and example handling; replaced previously used json schema generator with https://github.com/SMILEY4/schema-kenerator
    this switch should result in more predictable behavior, cleaner schemas in the spec and allow for more flexibility and better support for future features and bugfixes specific to the ktor-swagger-ui plugin

  • dropped automatic swagger-ui routing. Routes for swagger-ui and the openapi-file have to be added manually at the desired url
    this change should make the routing of the ui and spec more visible and intuitive while also allowing for easier customization of the routes

  • cleaned up plugin-configuration and openapi-dsl
    removed no longer necessary configuration and cleaned up existing groups making the plugin config a bit cleaner

  • examples are no longer part of the tests and have been moved to an own subproject. Reworked examples to better showcase functionalities.

Changes from 3.0.0-beta2

Changes from 3.0.0-beta3

  • add option to disable syntax highlighting (SwaggerUiSyntaxHighlight#DISABLED)
  • upgrade schema-kenerator to version 0.4.0 (https://github.com/SMILEY4/schema-kenerator/releases/tag/0.4.0)
  • uprade swagger-ui webjars to version 5.17.11
  • upgrade to openapi version 3.1.0 and add support for more properties
    • added info.summary
    • added license.identifier
    • added server.variables
    • added header.explode
    • added parameter.style
    • added route.externalDocs, route.servers
  • fix: swagger routing config