-
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
Specification Path expressions for operations with no OperationI ID #144
Conversation
@ndenny I see what you mean about the syntactic ambiguity, but if you're going to use I'm also not sure that the I see you have the If you can't do something with the runtime expression syntax to disambiguate it, I think it either needs to be URI-encoded or you need a different delimiter. |
@handrews - perhaps it'd be cleaner if we had a pair of properties: |
@ndenny yeah... same applies to |
I don't have a strong opinion on the property naming. The obvious choices are How I envisaged the URI reference to be created was to leverage the runtime expression to specify the base and then to use JSON Pointer to resolve against the appropriate path operation. Given:
The we could reference an operation in the file via: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment #144 (comment)
[EDIT: See next comment, this is a problem in OAS 3.x, so Workflows is better off matching it than trying to fix it.]
My concern about the {
"cat": {
"Schrödinger": "maybe"
}
} We should either see But I'd argue that in runtime expressions, it's better to use a non-fragment syntax. Particularly for things like requestBody that might get applied to a plain |
.... and now I'm realizing that |
We've decided on |
Question - if we're going for the expected syntax to be |
As discussed in #130 - a slight modification on @handrews suggestion - I'm using the
#
to separate the$sourceDescriptions.<name>
from the JSON Pointer. This disambiguates it from theoperationId
syntax that uses$sourceDescriptions.<name>.<operationId>
Note sure if I needed to create a completely separate ABNF - let me know.