Discussions

Ask a Question
Back to All

Parameters in header using openapi format

Hey, I have a problem with parameters in header using format openapi. What I have to do in my schema to send all parameter in one header json format? Now, when I add a parameter type object, e.g.:

{params: {option1: value1; option2: value2}}

readme build a example of code like:

X-params: object

X-option1: value1

X-option2: value2

How I can change this to:

X-params: {option1: value1; option2: value2}