Skip to content

Instantly share code, notes, and snippets.

@daniel-white
Last active May 16, 2024 19:23
Show Gist options
  • Save daniel-white/d1d46dc8d7a6f4a1301b446568b11f03 to your computer and use it in GitHub Desktop.
Save daniel-white/d1d46dc8d7a6f4a1301b446568b11f03 to your computer and use it in GitHub Desktop.
openapi: '3.0.3'
paths:
/example:
get:
summary: Example summary
description: Example description
operationId: examplePath
x-codeSamples:
- lang: 'C'
label: 'bar'
source: |
curl --request POST \
--url 'https://data.apiexample.com/api/example/batch_query/json?format=json' \
--header 'content-type: application/octet-stream: ' \
--data '{}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment