OpenAPIKit
OpenAPIKit copied to clipboard
OAS 3.2.0 examples changes
Examples as either structured or serialized values
- The Example Object (used in examples fields) gets two new fields: dataValue and serializedValue.
-
dataValuedescribes the example in structured format. -
serializedValueshows how the example will be formatted when it is sent/received by the API. - The existing externalValue field can still be used to give a reference to an example, but this is now clearly documented as being a serialized value.