philosowaffle / vs-openapi-designer

OpenApi Designer Extension for VS Code
https://marketplace.visualstudio.com/items?itemName=philosowaffle.openapi-designer
GNU General Public License v3.0
15 stars 2 forks source link

[Try it out] does not fill the headers #41

Open hvoerman opened 2 years ago

hvoerman commented 2 years ago

In my OpenAPI spec I have a header called Authorization, as lots will I presume.

When I fill the field with: Bearer {jwt}

and press Execute, the CURL command shown does not have this header. Is there a reason for this? Without this header, the command can't execute.

When running CURL by hand, extending the CURL command-line with the Authorization header, all works well.

I must be doing something wrong, as I can't find an issue on this and it is imho core functionality.

Thanks in advance.