temando / serverless-openapi-documentation

Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration
MIT License
93 stars 127 forks source link

Documenting request headers #11

Closed hassankhan closed 7 years ago

hassankhan commented 7 years ago

It doesn't seem as though the plugin can upload requestHeaders for functions (and possibly authorizers under the main documentation section, at least from reading the docs.

nfour commented 7 years ago

Yes this is merely undocumented.

    requestHeaders:
      - name: Content-Type
        description: Content Type Header (should always be 'application/json')
        schema: 
          type: string