Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
CodeQL / Analyze (javascript) (push) Failing after 1m15s
Security scan for docker image / build (push) Failing after 46s
42 lines
756 B
YAML
Executable File
42 lines
756 B
YAML
Executable File
openapi: 3.0.4
|
|
info:
|
|
title: XML array schema with array-level example
|
|
version: 1.0.0
|
|
|
|
paths:
|
|
/users:
|
|
get:
|
|
responses:
|
|
"200":
|
|
description: ''
|
|
content:
|
|
application/xml:
|
|
schema:
|
|
$ref: '#/components/schemas/Users'
|
|
|
|
components:
|
|
schemas:
|
|
Users:
|
|
type: array
|
|
example:
|
|
- id: 123
|
|
name: bob
|
|
- id: 456
|
|
name: jane
|
|
xml:
|
|
name: Users
|
|
wrapped: true
|
|
items:
|
|
type: object
|
|
xml:
|
|
name: User
|
|
properties:
|
|
id:
|
|
type: integer
|
|
xml:
|
|
attribute: true
|
|
name:
|
|
type: string
|
|
xml:
|
|
attribute: true
|