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
29 lines
613 B
YAML
Executable File
29 lines
613 B
YAML
Executable File
openapi: 3.0.4
|
|
info:
|
|
title: Example Swagger with required default body parameter
|
|
version: 1.0.0
|
|
paths:
|
|
/pet:
|
|
post:
|
|
operationId: addPet
|
|
requestBody:
|
|
content:
|
|
application/x-www-form-urlencoded:
|
|
schema:
|
|
$ref: '#/components/schemas/BodyParameter'
|
|
required: true
|
|
responses:
|
|
405:
|
|
description: Invalid input
|
|
content: {}
|
|
components:
|
|
schemas:
|
|
BodyParameter:
|
|
required:
|
|
- bodyParameter
|
|
type: object
|
|
properties:
|
|
bodyParameter:
|
|
type: string
|
|
default: default
|