prometheus-adapter/vendor/github.com/go-openapi/loads/fixtures/yaml/models/modelWithXmlAttributes.yaml
2017-06-26 19:23:05 +03:00

6 lines
250 B
YAML

description: 'this model serves xml and json structures'
xml:
name: XMLModel
properties:
id: {type: integer, format: int64, xml: {attribute: true, namespace: ns1, prefix: urn1}}
items: {type: array, items: {type: string}, xml: {wrapped: true}}