diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e1a4e4a3e45bfee52df662055c7ca9180d64a35d..1f7dad03f53df09b6329057c8e1cf0db8bbca659 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -44,7 +44,7 @@ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=none spring.jpa.hibernate.show-sql=true -# open api, swagger ui +# open api # doc app.version=0.0.1-SNAPSHOT openapi.externaldocs.description=ESS Naming Convention @@ -66,3 +66,9 @@ openapi.info.description=\ - Regular expressions are not supported for searches. Regex-like behavior is available with _ underscore, 0 or 1 occurrences of any character, % percent, any number of any character. openapi.info.license.name=Copyright (C) 2022 European Spallation Source ERIC. openapi.info.title=Naming REST API + +# springdoc +# sort the operation list of each API +# sort the tags +springdoc.swagger-ui.operationsSorter=method +springdoc.swagger-ui.tagsSorter=alpha diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index 70ee616dbfd31fafb04d9f4bcdf2473f6104aef8..beac21397b15e0834cd3ecbbe16b685cbd556d96 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -45,7 +45,7 @@ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=none spring.jpa.hibernate.show-sql=true -# open api, swagger ui +# open api # doc app.version=0.0.1-SNAPSHOT openapi.externaldocs.description=ESS Naming Convention @@ -68,6 +68,12 @@ openapi.info.description=\ openapi.info.license.name=Copyright (C) 2022 European Spallation Source ERIC. openapi.info.title=Naming REST API +# springdoc +# sort the operation list of each API +# sort the tags +springdoc.swagger-ui.operationsSorter=method +springdoc.swagger-ui.tagsSorter=alpha + # ------------------------------------------------------------------------------ # Note