Skip to content

Instantly share code, notes, and snippets.

@nebulon42
Created June 2, 2023 13:27
Show Gist options
  • Save nebulon42/76ab3b59bf820128c04e39770a803228 to your computer and use it in GitHub Desktop.
Save nebulon42/76ab3b59bf820128c04e39770a803228 to your computer and use it in GitHub Desktop.
Simple OpenAPI spec
openapi: "3.0.3"
info:
title: "Testing dry run"
description: "some description"
version: "1.0.0"
tags:
- name: service
paths:
/test/op1:
get:
summary: test endpoint 1
operationId: op1
tags:
- service
responses:
"200":
description: good response
content:
application/json:
schema:
$ref: '#/components/schemas/ReturnSchema'
components:
schemas:
ReturnSchema:
type: object
properties:
prop:
type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment