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

Support for authenticated additional Openapi definitions #545

Open
dsteeley opened this issue Feb 8, 2023 · 1 comment
Open

Support for authenticated additional Openapi definitions #545

dsteeley opened this issue Feb 8, 2023 · 1 comment

Comments

@dsteeley
Copy link

dsteeley commented Feb 8, 2023

Does openapi-validator support an api definition file where additional definitions specified by a $ref: require authentication.

Openapi-generator handles this with the --auth, is it possible to provide authentication headers when linting?

@dpopp07
Copy link
Member

dpopp07 commented Feb 13, 2023

@dsteeley We don't explicitly support that, no. I would check to see if Spectral supports it though - this tool has essentially become a wrapper around their functionality so we should support it if they do.

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

2 participants