Created
December 7, 2020 19:10
-
-
Save TijmenWierenga/53975a5e8dd3395437be3d6399ef5f46 to your computer and use it in GitHub Desktop.
Demo OpenAPI document
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: Demo API | |
version: '1.0' | |
description: A sample API to describe the super powers of OpenAPI | |
contact: | |
name: Tijmen Wierenga | |
email: tijmen.wierenga@tweakers.net | |
servers: | |
- url: 'http://localhost' | |
description: local | |
paths: | |
/users: | |
get: | |
summary: List users | |
tags: [] | |
responses: | |
'200': | |
description: OK | |
content: | |
application/json: | |
schema: | |
type: array | |
items: | |
type: object | |
properties: | |
username: | |
type: string | |
required: | |
- username |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment