You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this is because on application.properties or application.yaml: quarkus.smallrye-openapi.servers is types java.util.Set. on openapi.yaml, server: array (and not a set)
The Set in the config is not really used but I will change it once we have this fixed in SmallRye OpenAPI, where I think the problem lies. I created a pull request here: smallrye/smallrye-open-api#1323 .
MikeEdgar
pushed a commit
to smallrye/smallrye-open-api
that referenced
this issue
Nov 30, 2022
Describe the bug
Setting servers on the application properties is randomly ordered.
These two settings show the servers in the same order on the swagger ui:
or
Maybe this is because on application.properties or application.yaml: quarkus.smallrye-openapi.servers is types java.util.Set. on openapi.yaml, server: array (and not a set)
Expected behavior
https://my.produciton.org appears first on the list in SwaggerUI with this configuration
http://localhost:8080 appears first on the list in SwaggerUI with this configuration
Actual behavior
These two settings show the servers in the same order on the swagger ui:
or
How to Reproduce?
Output of
uname -a
orver
No response
Output of
java -version
openjdk 11.0.17 2022-10-18 LTS
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.14.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.6
Additional information
No response
The text was updated successfully, but these errors were encountered: