Files
speakeasy-playground/openapi.yaml
2024-04-01 14:40:39 -05:00

38 lines
751 B
YAML

---
openapi: 3.0.0
info:
title: Example
version: '1'
description: ''
servers:
- url: https://example.com
paths:
"/example":
get:
operationId: Example
parameters:
- $ref: "#/components/parameters/HeaderParam"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ExampleBody'
responses:
'200':
description: example
components:
parameters:
HeaderParam:
description: The number of results to return per page (max 100)
in: header
name: header_param
schema:
type: string
responses: {}
schemas:
ExampleBody:
type: object
properties:
field:
type: string