mirror of
https://github.com/LukeHagar/speakeasy-playground.git
synced 2025-12-06 04:21:21 +00:00
38 lines
751 B
YAML
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
|