Created
April 20, 2021 18:10
-
-
Save 1gravity/93033b74cad43a5aa1e6176fc8d1ae7c to your computer and use it in GitHub Desktop.
openapi_nodejs
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 | |
* /: | |
* get: | |
* description: Welcome to swagger-jsdoc! | |
* responses: | |
* 200: | |
* description: Returns a mysterious string. | |
*/ | |
app.get('/', (req, res) => { | |
res.send('Hello World!'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment