-
Notifications
You must be signed in to change notification settings - Fork 21
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
[tuist] don't validate security requirements #828
Conversation
@edigaryev please check commits separately. This one is the most interesting 6b273f0. |
But we already use "no security":
We have a test that doesn't use any security either and it passes. What does this PR this change in this regard? 🤔 |
It seems it's still failing validations when I try to use it. See Slack for more details. The following thing: curl https://cloud.tuist.io/api/spec | jq 'del(.security, .components.securitySchemes)' > openapi.json Removes security requirements from the schema so there are not checks what's so ever. Will take a look tomorrow why existing test passes. |
@edigaryev probably because test is not actually testing no authorization header:
|
Thank you. It feels to me that there's an easier way to get around this, Nope, |
OK, so this error:
Is coming from this template, from It seems that there's no way to disable it via |
Since we are running a local server proxy which handles security differently.