Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): support serving API documentation pages when the server star…
…ts (#370) * feat(*): support serving API documentation pages when the server starts * chore(*): fix file header
- Loading branch information
Xinzhao Xu
committed
Oct 25, 2020
1 parent
ca969f3
commit 2fb93f5
Showing
10 changed files
with
369 additions
and
167 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
project: myproject | ||
description: This project uses nirvana as API framework | ||
schemes: | ||
- http | ||
hosts: | ||
- localhost:8080 | ||
contacts: | ||
- name: nobody | ||
email: nobody@nobody.io | ||
description: Maintain this project | ||
versions: | ||
- name: v1 | ||
description: The v1 version is the first version of this project | ||
rules: | ||
- prefix: /api/v1 | ||
regexp: "" | ||
replacement: "" | ||
- name: v2 | ||
description: The v2 version is the first version of this project | ||
rules: | ||
- prefix: /api/v2 | ||
regexp: "" | ||
replacement: "" |
Oops, something went wrong.