-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an option to generate YAML to generate-swagger (#662)
* Add an option to generate YAML to generate-swagger Fixes #661 * Fix lint
- Loading branch information
1 parent
d16d64a
commit be4c225
Showing
4 changed files
with
69 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
Usage: fastify generate-plugin [opts] <file> [--] [<plugin-options>] | ||
|
||
Generate Swagger/OpenAPI schema for a project using @fastify/cli. | ||
Generate Swagger/OpenAPI schema for a project using @fastify/swagger. | ||
|
||
OPTS | ||
|
||
--yaml=true | ||
generate in YAML format |
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