quarkus-smallrye-openapi property quarkus.smallrye-openapi.operation-id-strategy doesn't work
See original GitHub issueDescribe the bug
The quarkus.smallrye-openapi.operation-id-strategy
property provided by the quarkus-smallrye-openapi
extension doesn’t seem to work.
Expected behavior
In my application.properties
file if I set mp.openapi.extensions.smallrye.operationIdStrategy=METHOD
, when I download the openapi document I do see the operationId
element in each section
Actual behavior
In my application.properties
file if I set quarkus.smallrye-openapi.operation-id-strategy=method
(or quarkus.smallrye-openapi.operation-id-strategy=METHOD
), when I download the openapi document I do not see the operationId
element in each section.
How to Reproduce?
Follow the guide at https://quarkus.io/guides/openapi-swaggerui and set quarkus.smallrye-openapi.operation-id-strategy=method
in application.properties
, then navigate to http://localhost:8080/q/openapi to download the openapi document. The operationId
element for each operation is missing, whereas if you set mp.openapi.extensions.smallrye.operationIdStrategy=METHOD
it is present.
Output of uname -a
or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (21 by maintainers)
Excellent. Then that will fix the issue I found as well 😃
@geoand I’ll try this in a bit and report back