Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to prevent operationIds suffixes? #4642

Open
rodrigo-rufino opened this issue Mar 28, 2024 · 0 comments
Open

Is there a way to prevent operationIds suffixes? #4642

rodrigo-rufino opened this issue Mar 28, 2024 · 0 comments

Comments

@rodrigo-rufino
Copy link

Im using the 'io.swagger.core.v3:swagger-jaxrs2:2.0.0' to generate the openapi.yaml in my Java project. I need this openapi.yaml to be compared to another openapi.yml to check if the specifications are up-to-date.

But it is currently adding suffixes to my operationIds. And, because it generates these suffixes in a somewhat random way (sometimes the same operationId gets the "_1" or "_2" suffix), it is preventing me from comparing these files.

Is there a way to prevent the swagger-jaxrs from adding these suffixes to my YAML file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant