Allow using deprecated: true to tag Response Objects #5458
Replies: 2 comments 2 replies
|
The Security Scheme Object does have a What is the use case for the Response Object? The various To put it another way, who would be expected to take action if a Response Object has |
|
I would agree with both @handrews question and @DavidBiesack response in the case of an API host publishing an OpenAPI spec for their own APIs. And that is that both:
However, our specific use case is that of the publisher of OpenAPI Specs from the banking industry standards body Financial Data Exchange (https://financialdataexchange.org/). In that context, the consumers of our OAS files are primarily the hosts of Open Banking APIs who use our spec to design and build specific versions of the standard APIs which they will then publish and communicate to their partners who will consume those APIs. Being able to publish the standard with deprecated: elements such as responses lets us communicate such subtle changes to both API hosts and consumers in advance of a host electing to implement or convert to a specific minor version. This essentially lets us as the standards body guide future implementations in the manner of the second bullet above. So to answer @handrews question, current and future API hosts would be expected to take action, and that action is to decide whether they will keep using a deprecated response and align with an earlier minor version of the standard, or migrate to a later minor / major version and stop sending the deprecated response. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The Response Object in OAS 3.2 does not allow the response objects to be marked as
deprecated: true.Please update OAS so that these objects can be marked as
deprecated: true.As with other objects that can be deprecated, if the
deprecatedfield is omitted, the default will befalse.All reactions