File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed
Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 11.idea
2- document-reader-static-doc.html
2+ document-reader-static-doc.html
3+ /.openapi-generator /VERSION
4+ /.openapi-generator /FILES
5+ /openapi.json
Original file line number Diff line number Diff line change 1+ # OpenAPI Generator Ignore
2+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+ # Use this file to prevent files from being overwritten by the generator.
5+ # The patterns follow closely to .gitignore or .dockerignore.
6+
7+ # As an example, the C# client generator defines ApiClient.cs.
8+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+ #ApiClient.cs
10+
11+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+ #foo/*/qux
13+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+ #foo/**/qux
17+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+ # You can also negate patterns with an exclamation (!).
20+ # For example, you can ignore all files in a docs folder with the file extension .md:
21+ #docs/*.md
22+ # Then explicitly reverse the ignore rule for a single file:
23+ #!docs/README.md
24+
25+ FILES
26+ VERSION
27+ *.*
28+ !openapi.json
Original file line number Diff line number Diff line change @@ -52,3 +52,8 @@ npx redoc-cli bundle "$PWD/index.yml" --output document-reader-static-doc.html \
5252--options.theme.colors.primary.main="#8a53cb" --options.expandResponses="all" \
5353--options.expandSingleSchemaField --options.hideDownloadButton --options.jsonSampleExpandLevel="6"
5454```
55+
56+ ## Bundle scheme to single .json file
57+ ``` bash
58+ npx openapi-generator-cli generate -i index.yml -g openapi --skip-validate-spec
59+ ```
You can’t perform that action at this time.
0 commit comments