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?
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 sameoperationId
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?