Skip to content

Instantly share code, notes, and snippets.

@MikeRalphson
Created November 19, 2020 15:24
Show Gist options
  • Save MikeRalphson/b3cbd56c816259f5a80ee29fc20a08c4 to your computer and use it in GitHub Desktop.
Save MikeRalphson/b3cbd56c816259f5a80ee29fc20a08c4 to your computer and use it in GitHub Desktop.
OpenAPI Hello World example
openapi: 3.0.0
info:
title: Hello World
version: 1.0.0
paths:
/hello:
get:
parameters:
- name: name
in: query
required: true
schema:
type: string
responses:
'200':
description: OK
content:
'application/json':
schema:
type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment