Skip to content

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

Open
@sadashiv-sumasoft

Description

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"
      

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions