Forum Discussion

Luke76's avatar
Luke76
New Contributor
6 years ago

How to define securityDefinitions for a path api_key

Hi

 

I have a rest service like this:

/{api_key}/search?id=1

 

I would like to define in swagger yaml the securityDefinitions for it

But it allows only "header" or "query" for api_key. No way to set "path"

 

is this possible?

 

Thanks