swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Is there a way to prevent operationIds suffixes?

Open rodrigo-rufino opened this issue 1 year ago • 0 comments

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?

rodrigo-rufino avatar Mar 28 '24 12:03 rodrigo-rufino