how to specify paramType as header
hiteshgupta9193 opened this issue · comments
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
*/