Skip to content

Authorization header not getting pass under API #131

@Gautam2010

Description

@Gautam2010

I have got option to add token as per below image
image

and my yml file looks like this
version: 0.0.1

securityDefinitions:
  bearer:
    type: "apiKey"
    name: "Authorization"
    in: "header"

When I request the API after adding token it doesn't pass token in header.
image

Am I missing any configuration?

I am using version as below

"typescript-rest-swagger": "^1.0.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions