Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin generating the documenations for the OPTIONS method as well. #48

Open
sadashiv-sumasoft opened this issue Sep 9, 2024 · 0 comments

Comments

@sadashiv-sumasoft
Copy link

Hello,

I am using this plugin for the generating the api gateway documentations for my serverless project but this plugin also generating the unwanted entry of the OPTIONS method as well, any chance we can exclude generating the entry for the options method and generating the entry only for the valid endpoints.

I have one use case where I am downloding .yaml file from API Apigateway and utilizing that file to generate the .mdx files and schema but that output file contain the unnecessary options method. I need to manually remove it.

Let me know if we can do this by including the options like above

documentation:
  excludeMethods:
    - options
  api:
    info:
      version: "2"
      title: "External App APIs"
      
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant