Skip to content

Header parameters for GET requests #499

Closed
@stlewis

Description

@stlewis

I have the following sitting inside of the desc blocks for both of my API endpoints:

headers XAuthToken: {description: "The API Authentication Token for your user", required: true}, XAuthKey: {description: "The API Authentication Key for your user", required: true}

One of my endpoints is a POST, the other is a GET. The swagger doc generates a field for the header parameters in the POST request, but not in the GET request. Am I missing something?

Metadata

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