Uh oh!
There was an error while loading. Please reload this page.
Deprecate Path Item Object ref field (#2635) - #2656
Conversation
The field has been deprecated in favor of using Reference Object in OAS 3.2.0 and forward. Signed-off-by: Vladimir Gorej <vladimir.gorej@gmail.com>
char0n
commented
Jul 23, 2021
Not really sure if my wording in deprecation message is ideal. I'm very open to any suggestions ;] |
MikeRalphson
commented
Jul 23, 2021
Hmm. I think As to wording, I feel we should not "throw forward" to other versions of the spec, for two reasons:
so personally, I would prefer the wording to be self-contained as to the situation within the version of the spec the markdown file refers to. |
char0n
commented
Jul 23, 2021
Yep, fully agree. I'll try to come up with self-contained wording deprecating just use-case of |
char0n
commented
Jul 29, 2021
We've came up with 3 possible versions of deprecation message (thanks @frankkilcommins) 1.) 2.) 3.) @MikeRalphson please let me know which one works best for you and I'll amend the PR. |
char0n
commented
Aug 4, 2021
@MikeRalphson just pinging here, regarding my last comment. |
char0n
commented
Aug 26, 2021
I've pushed one of the sentence that I thought is most appropriate. |
karenetheridge
commented
Aug 27, 2021
Can you add |
char0n
commented
Aug 27, 2021
@karenetheridge sure, but I'm not sure it's possible at this time. As already stipulated here current JSON Schema doesn't properly validate what the spec is defining. We would first need to completely fix the schema before we can introduce |
karenetheridge
commented
Sep 1, 2021
Maybe this should be in a separate PR, but should this bit of the schema be changed? |
ivank
commented
Jan 31, 2022
Doesn't path-item always allow "reference"? At least that's what the wording on it seems to imply. Its been weird that some tooling are allowing openapi paths to be reference, for easier splitting into separate files, but this validation actually prevents this. Maybe I'm reading this wrong but the spec actually state that all paths should be able to be references? |
The field has been deprecated in favor of
using Reference Object in OAS 3.2.0 and forward.
Signed-off-by: Vladimir Gorej vladimir.gorej@gmail.com