Contributions
Re: How to add examples/API key values in swagger document
Hichichepo, X-API-Key: abcdef12345 As you see in the above picture we are using `apikey` There I am able to see thename:X-API-KEYas the key of the header, If I want to add the value of the header like value:abcdef12345in swagger documentation, How can I add that?11 months agoPlace SwaggerHub QuestionsSwaggerHub Questions679Views0likes0CommentsHow to add examples/API key values in swagger document
I want to add the header key as X-API-KEY and I want to add the value of that header, so as of now in the document I have seen how to add the key of the header but I have no idea how to add the value of the header, can anyone give me the solution for this? components: securitySchemes: ApiKeyAuth: # arbitrary name for the security scheme type: apiKey in: header # can be "header", "query" or "cookie" name: X-API-KEY # name of the header, query parameter or cookie11 months agoPlace SwaggerHub QuestionsSwaggerHub Questions659Views0likes3Comments