Details
-
Improvement
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
None
-
None
Description
https://swagger.io/specification/ says:
Deprecated: The example property has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.
Thus we need to replace our usage of example keyword to examples keyword. Please note that the main difference is that examples is an array according to https://swagger.io/docs/specification/adding-examples/.
Attachments
Issue Links
- is blocked by
-
NETCONF-999 OpenAPI: Use "example" instead of "default"
-
- Resolved
-
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 106112,2 | OpenAPI: Use examples instead of example | master | netconf | Status: ABANDONED | -1 | +1 |