Skip to content

Header is not displaying in Swagger UI #391

Closed
@brahamshakti

Description

@brahamshakti

This Code is not displaying header field in swagger UI

desc "Return super-secret information", {
  headers: {
    "XAuthToken" => {
      description: "Valdates your identity",
      required: true
    },
   "XOptionalHeader" => {
     description: "Not really needed",
     required: false
   }
 }
}

Earlier It used to be like
xauthtoken

But now it is showing no header field with above Code

noxauthtoken

How do I fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions