-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
tokenUrl
in 3.1 schema does not support relative urls as specified
#4327
Comments
Yeah AFAICT that falls under the rule that "URI" and "URL" really mean URI-reference and URL-reference (which is still @karenetheridge any thoughts here on this schema issue? |
I agree -- given https://spec.openapis.org/oas/v3.1.1#relative-references-in-api-urls, most things in the schema that are |
In what is likely optimism, I filed a PR attempting to fix the issue I filed here. Hopefully I read between the lines well enough on both your conversation and the repo instructions. |
@handrews @karenetheridge Is there anything else I can do to help resolve this? |
@markrzen probably not, we'll look at it in tomorrow's weekly call if no one gets to it before that. |
from the meeting:
Some context that might help with the documentation step:
|
I am not super familiar with the OpenAPI 3.1 specification, so please excuse me if I misunderstood anything.
It appears that
tokenUrl
, a fixed field, should have been modeled in the 3.1 JSONSchema as auri-reference
to support relative urls.REF: https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v3.1/schema.yaml#L899-L901
Note that the 3.0 schema has the format as
uri-reference
, as I would expect.Happy to put in a pull request if this makes sense to someone with more experience in the repository.
REL: seriousme/openapi-schema-validator#178
The text was updated successfully, but these errors were encountered: