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
58 lines
1.2 KiB
YAML
Executable File
58 lines
1.2 KiB
YAML
Executable File
openapi: 3.0.4
|
|
info:
|
|
title: Example Swagger
|
|
version: '1.0'
|
|
servers:
|
|
- url: /api/v1
|
|
paths:
|
|
/xmlTest/examples:
|
|
post:
|
|
summary: sample issues
|
|
operationId: xmlTest_examples
|
|
parameters: []
|
|
requestBody:
|
|
description: Simple Test xml examples
|
|
content:
|
|
application/xml:
|
|
schema:
|
|
$ref: "#/components/schemas/Test"
|
|
examples:
|
|
test:
|
|
value:
|
|
x: should be xml
|
|
responses:
|
|
'200':
|
|
description: Simple Test xml examples
|
|
content: {}
|
|
/xmlTest/example:
|
|
post:
|
|
summary: sample issues
|
|
operationId: xmlTest_example
|
|
parameters: []
|
|
requestBody:
|
|
description: Simple Test xml example
|
|
content:
|
|
application/xml:
|
|
schema:
|
|
$ref: "#/components/schemas/Test"
|
|
example:
|
|
x: should be xml
|
|
responses:
|
|
'200':
|
|
description: Simple Test xml example
|
|
content: {}
|
|
components:
|
|
schemas:
|
|
Test:
|
|
type: object
|
|
xml:
|
|
name: root
|
|
properties:
|
|
x:
|
|
type: string
|
|
other:
|
|
type: string
|
|
format: email
|
|
example:
|
|
x: what the f
|