Created
January 31, 2019 23:57
-
-
Save shuttle1987/2c675fb22b90305e798667c5317314bd to your computer and use it in GitHub Desktop.
OpenAPI YAML solution
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.2 | |
info: | |
title: Challenge 5 | |
description: challenge 5 solution | |
version: 0.0.1 | |
paths: | |
"/challenge_info": | |
get: | |
operationId: "api.endpoints.challenge_info" | |
responses: | |
'200': | |
description: "example solution" | |
content: | |
application/json: | |
schema: | |
type: object | |
properties: | |
challenge_number: | |
type: integer | |
example: 5 | |
challenge_topic: | |
type: string | |
example: "OpenAPI" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment