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
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/HeaderParam"
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ExampleBody'
|
||||
responses:
|
||||
'200':
|
||||
description: example
|
||||
@@ -24,3 +29,9 @@ components:
|
||||
schema:
|
||||
type: string
|
||||
responses: {}
|
||||
schemas:
|
||||
ExampleBody:
|
||||
type: object
|
||||
properties:
|
||||
field:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user