-
Notifications
You must be signed in to change notification settings - Fork 45
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
Review operationRef
templating verbiage
#130
Comments
From the meeting - suggest we enforce use of $sourceDescriptions - which would expand for tooling to be a URI as |
Adding a note from my call with @frankkilcommins : we're fairly sure that the requirement to use a URI Template (RFC 6570) instead of a URI-reference (RFC 3986) is some sort of editing error or is left over from a different idea for how this works. The sentence should just be removed as the "relative or absolute URI" language is sufficient. |
Would it make sense to enforce it for |
OK so just to be clear, this It looks to me like the objective is to avoid using URIs directly and instead always use imported Might I suggest something like Since you are using plain text JSON Pointers elsewhere, it would make sense to use them for operationPath: $sourceDescriptions.<name>./plain/text/json/pointer/to/operation |
Gave it shot in #144 |
Maybe I'm opening a can of worms here, but I was paying enough in some past TSC meetings to know this could be a problem: As |
I believe this issue can now be closed |
From @handrews feedback review:
Regarding
operationRef
:Why is this a URI Template? Why is it different from OAS templating? I philosophically approve of using standard URI Templates, but you're using them with a Parameter Object including style which is designed for OAS templating (the Parameter Object explicitly references OAS templating, and makes no mention of RFC 6570 at all). And it is unclear how other features of URI Templates are intended to interact with the Parameter Object. I realize this was probably discussed somewhere in this repository, but it's surprising enough that I think it needs addressing in the specification. I would not understand how to implement this as it is.
The text was updated successfully, but these errors were encountered: