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
I tried to add an router-level middleware to expose some routes depending on NODE_ENV. But I could not figure out how to do it.
I used x-express-openapi-additional-middleware to include my middleware, but express-openapi does not execute it. There is an elegant way to expose/hide routes depending on NODE_ENV?
And there is a way to add middleware using api-doc as json file?
The text was updated successfully, but these errors were encountered:
I tried to add an router-level middleware to expose some routes depending on
NODE_ENV
. But I could not figure out how to do it.I used
x-express-openapi-additional-middleware
to include my middleware, but express-openapi does not execute it. There is an elegant way to expose/hide routes depending onNODE_ENV
?And there is a way to add middleware using
api-doc
as json file?The text was updated successfully, but these errors were encountered: