Skip to content

how to specify paramType as header #40

@hiteshgupta9193

Description

@hiteshgupta9193

I have specified my api doc as below but in this app-x-tk is being sent as query param instead of header

/**

  • @Swagger
  • path: /v1/api/getDetails
  • operations:
    • httpMethod: GET
  • summary: Get details
  • responseClass: resClass
  • nickname: getDetails
  • consumes:
  • - application/json
    
  • produces:
  • - application/json
    
  • parameters:
    • name: id
  • paramType: query
    
  • required: true
    
  • dataType: string
    
    • name: app-x-tk
  • paramType: header
    
  • required: true
    
  • dataType: string
    

*/

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