Try-it - Otoroshi Header required #358
-
With Daikoku, I exposed an API hosted on an Otorshi instance. When I use the try-it function theses headers are required, is it possible to ignore theses headers with the try-it function? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think your openAPI is not right configured. The You will find a solution on this following pseudo-openAPI. The global idea is to add two possibility of passing your apikey : one with the header Authorization as Basic auth and the other with the two headers We will work to complete the Daikoku documentation on this subject.
|
Beta Was this translation helpful? Give feedback.
I think your openAPI is not right configured. The
Otoroshi-Client-Id
andOtoroshi-Client-Secret
headers have to be pass through the security part of your openAPI and not as a required headers.You will find a solution on this following pseudo-openAPI. The global idea is to add two possibility of passing your apikey : one with the header Authorization as Basic auth and the other with the two headers
Otoroshi-Client-Id
andOtoroshi-Client-Secret
. With this configuration, Daikoku will expose the swagger fill with the generated testing apikey credentials.We will work to complete the Daikoku documentation on this subject.