slogic
4 years agoOccasional Contributor
Can we combine $ref and xml meta info altogether?
Is it legal to declare the following block:
openapi: 3.0.1
info:
version: 1.0.0
title: title
paths: {}
components:
schemas:
SomeType:
type: object
properties:
MyAttribute:
$ref: "#/components/schemas/MyAttributeType"
xml:
attribute: true
name: MyAttributeSpecialName
MyAttributeType:
type: object