Created
July 16, 2020 02:13
-
-
Save sanjan/35dc5bc2c849776574ec3daeb66cb686 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: | |
version: 1.0.0 | |
title: Hello API | |
description: An API to return hello in requested language | |
paths: | |
/api: | |
get: | |
tags: | |
- Hello | |
description: Returns hello in specified language | |
parameters: | |
- in: query | |
name: lang | |
required: true | |
description: language | |
schema: | |
type: string | |
example: es | |
responses: | |
'200': | |
description: hello in the requested language | |
content: | |
text/plain: | |
schema: | |
type: string | |
example: hola |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment