odm-specification-dpdescriptor icon indicating copy to clipboard operation
odm-specification-dpdescriptor copied to clipboard

Add Variable Object to enable the usage of resource templates

Open andrea-gioia opened this issue 1 year ago • 0 comments

In order to enable the reuse of resources through parametric templates we need to add a variables field to Reference Object.

Field Name Type Description
variables Map[string, Variable Object] A map between a variable name and its value. The value is used for substitution in the Reference Object.

Variable Object MUST be defined exactly like the Server Variables Object used by OpenAPI and AsyncAPI specs.

andrea-gioia avatar Nov 27 '22 13:11 andrea-gioia