mirror of
https://github.com/LukeHagar/speakeasy-playground.git
synced 2025-12-06 04:21:21 +00:00
add simple request body
This commit is contained in:
11
openapi.yaml
11
openapi.yaml
@@ -12,6 +12,11 @@ paths:
|
|||||||
operationId: Example
|
operationId: Example
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: "#/components/parameters/HeaderParam"
|
- $ref: "#/components/parameters/HeaderParam"
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/ExampleBody'
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: example
|
description: example
|
||||||
@@ -24,3 +29,9 @@ components:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
responses: {}
|
responses: {}
|
||||||
|
schemas:
|
||||||
|
ExampleBody:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
field:
|
||||||
|
type: string
|
||||||
|
|||||||
Reference in New Issue
Block a user