Skip to content

Commit 56fd385

Browse files
Alan-ChaErikWittern
authored andcommitted
Added description for baseUrl and cors
Signed-off-by: Alan Cha <[email protected]>
1 parent c1e2e5b commit 56fd385

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/oasgraph-cli/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ Usage: oasgraph <OAS JSON file path or remote url> [options]
2626
Options:
2727
-V, --version output the version number
2828
-p, --port <port> select the port where the server will start
29+
-u, --url <url> select the base url which paths will be built on
2930
-s, --strict throw an error if OASGraph cannot run without compensating for errors or missing data in the OAS
3031
-a, --addSubOperations nest operations based on path hierarchy
3132
-f, --fillEmptyResponses create placeholder schemas for operations with HTTP status code 204 (no response) rather than ignore them
33+
--cors enable Cross-origin resource sharing (CORS)
3234
--no-viewer do not create GraphQL viewer objects for passing authentication credentials
3335
--save <file path> save schema to path and do not start server
3436
-h, --help output usage information

0 commit comments

Comments
 (0)