Skip to content

Commit 8a7857e

Browse files
authored
Merge pull request #265 from JaredCE/bruno-conversion
Add Bruno conversion
2 parents 90220a1 + afc986c commit 8a7857e

File tree

13 files changed

+2702
-136
lines changed

13 files changed

+2702
-136
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</a>
1313
</p>
1414

15-
This will generate an OpenAPI V3 (up to v3.0.4) file for you from your serverless file. It can optionally generate a [Postman Collection V2](https://github.com/postmanlabs/openapi-to-postman) from the OpenAPI file for you too. This currently works for `http` and `httpApi` configurations.
15+
This will generate an OpenAPI V3 (up to v3.0.4) file for you from your serverless file. It can optionally generate a [Postman Collection V2](https://github.com/postmanlabs/openapi-to-postman) or (as of 0.0.120) [Bruno Collection](https://docs.usebruno.com/) from the OpenAPI file. This currently works for `http` and `httpApi` configurations.
1616

1717
Originally based off of: https://github.com/temando/serverless-openapi-documentation
1818

@@ -49,6 +49,7 @@ Options:
4949
--indent -i File indentation in spaces. Default: 2
5050
--openApiVersion -a OpenAPI version to generate for. Default: 3.0.0
5151
--postmanCollection -p Will generate a postman collection (from the generated OpenAPI Description), in json only, if passed in. Default: postman.json
52+
--brunoCollection -b Will generate a Bruno collection (from the generated OpenAPI Description), in json only, if passed in. Default: bruno.json
5253
--validationWarn -w Warn about validation errors only. Will write the OpenAPI file if generation is successful. Default: false
5354
```
5455

0 commit comments

Comments
 (0)