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

Hide endpoint, (redocly.yaml is not working)

Open dnyaneshgiga opened this issue 4 years ago • 1 comments

I need to hide some endpoints which are only for internal use. How can I do that? I tried adding plugin and registered it with redocly.yaml but it is not working Here is my redocly.yaml # See https://redoc.ly/docs/cli/configuration/ for more information. apiDefinitions: main: openapi/openapi.yaml lint: extends: - recommended plugins: - './plugins/hider-plugin.js' decorators: hider/remove-internal-operations: error referenceDocs: htmlTemplate: ./docs/index.html theme: colors: primary: main: "red"

dnyaneshgiga avatar Feb 25 '21 05:02 dnyaneshgiga

@dnyaneshgiga sorry we missed this comment here. Please post the issue at github.com/redocly/openapi-cli repo if you still have a problem.

adamaltman avatar Jul 02 '21 20:07 adamaltman