Replies: 2 comments 12 replies
-
Some people tend to not use that for release because of security concerns for API discovery, but I do that anyway. |
Beta Was this translation helpful? Give feedback.
-
I'd like to come back to this discussion, because I see that not only SwaggerUI is opt out in the template, but the complete availability of the open API spec is opt-out. |
Beta Was this translation helpful? Give feedback.
-
Is there a reason why we only include swagger docs and swagger UI for debug-builds ?
When a new API is generated using the API template, the code that enables swagger is in
#if DEBUG
directives. Why should this not be included in release builds ? Does it expose a threat if we do ? To me, this is just API documentation which can be made public, but maybe that's just me :)Beta Was this translation helpful? Give feedback.
All reactions