IBM/openapi-validator

Support for authenticated additional Openapi definitions

dsteeley opened this issue · 1 comments

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?

@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.