Skip to content

Instantly share code, notes, and snippets.

@busse
Last active November 13, 2023 02:19
Show Gist options
  • Save busse/4da966678cfa0cc08de44afd2c4d20fa to your computer and use it in GitHub Desktop.
Save busse/4da966678cfa0cc08de44afd2c4d20fa to your computer and use it in GitHub Desktop.
openapi: 3.0.0
info:
title: Truth API
description: A simple API to retrieve a truth.
version: 1.0.0
servers:
- url: https://gist.githubusercontent.com/busse/4153ab4192c952200ef69bb88c4fd466/raw/b09d438a1af5252bd6970be0f55572a94d5c01e8/
description: Base URL for the Truth API
paths:
/truth-api:
get:
summary: Get the Truth
description: Returns a truth.
responses:
'200':
description: A truth.
content:
application/json:
schema:
type: object
properties:
truth:
type: string
example: "The Earth revolves around the Sun."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment