Last active
November 13, 2023 02:19
-
-
Save busse/4da966678cfa0cc08de44afd2c4d20fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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