Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Custom Headers to ParseOpenApi3Documentation #501

Open
GhostStatus opened this issue Mar 4, 2023 · 1 comment
Open

Add Support for Custom Headers to ParseOpenApi3Documentation #501

GhostStatus opened this issue Mar 4, 2023 · 1 comment

Comments

@GhostStatus
Copy link

Description
It would be ideal if we could support allowing for custom headers while leveraging the parseOpenApi3Documentation function. Currently this is only supported in parseHydraDocumentation, but I have a need to parse an openAPI.json file and would love a means of adding support for authentication while parsing it.

Example
Essentially I would like to be able to leverage the example here without using Hydra. Thanks

@GhostStatus
Copy link
Author

Alternatively if there is a workaround please let me know. Do I need to somehow convert my openAPI.json file to a hydra one? I'm not sure what the easiest solution is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant