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
The generated Swagger documentation was changed a while back to remove the "Deprecated": False tag from the generated document by making the value nullable. Unfortunately, my company has a standard for publishing APIs to an APIM that requires the Deprecated tag to appear on every operation regardless of the value.
I have tried to use all kinds of filters, but nothing seems to work. I am hoping that you can add a flag in the SwaggerGen configuration that would allow me to choose whether to show or suppress "Deprecated": False in the final json.
VERSION:
5.6.0
STEPS TO REPRODUCE:
Generate the document with at least one operation that is not marked as Obsolete
EXPECTED RESULT:
"Deprecated": False will show in the generated JSON
ACTUAL RESULT:
The Deprecated tag does not show up
ADDITIONAL DETAILS
The text was updated successfully, but these errors were encountered:
The generated Swagger documentation was changed a while back to remove the "Deprecated": False tag from the generated document by making the value nullable. Unfortunately, my company has a standard for publishing APIs to an APIM that requires the Deprecated tag to appear on every operation regardless of the value.
I have tried to use all kinds of filters, but nothing seems to work. I am hoping that you can add a flag in the SwaggerGen configuration that would allow me to choose whether to show or suppress "Deprecated": False in the final json.
VERSION:
5.6.0
STEPS TO REPRODUCE:
Generate the document with at least one operation that is not marked as Obsolete
EXPECTED RESULT:
"Deprecated": False will show in the generated JSON
ACTUAL RESULT:
The Deprecated tag does not show up
ADDITIONAL DETAILS
The text was updated successfully, but these errors were encountered: