@@ -16,16 +16,16 @@ Converts an API definition to OpenAPI and bundles any external references.
1616
1717```
1818USAGE
19- $ rdme openapi convert [SPEC] [--out <value>] [--title <value>] [--workingDirectory <value>]
19+ $ rdme openapi convert [SPEC] [--out <value>] [--title <value>] [--working-directory <value>]
2020
2121ARGUMENTS
2222 SPEC A path to your API definition — either a local file path or a URL. If your working directory and all
2323 subdirectories contain a single OpenAPI file, you can omit the path.
2424
2525FLAGS
26- --out=<value> Output file path to write converted file to
27- --title=<value> An override value for the `info.title` field in the API definition
28- --workingDirectory =<value> Working directory (for usage with relative external references)
26+ --out=<value> Output file path to write converted file to
27+ --title=<value> An override value for the `info.title` field in the API definition
28+ --working-directory =<value> Working directory (for usage with relative external references)
2929
3030DESCRIPTION
3131 Converts an API definition to OpenAPI and bundles any external references.
@@ -54,7 +54,7 @@ Analyze an OpenAPI/Swagger definition for various OpenAPI and ReadMe feature usa
5454USAGE
5555 $ rdme openapi inspect [SPEC] [--feature
5656 additionalProperties|callbacks|circularRefs|commonParameters|discriminators|links|style|polymorphism|serverVariables
57- |webhooks|xml|xmlRequests|xmlResponses|xmlSchemas|readme...] [--workingDirectory <value>]
57+ |webhooks|xml|xmlRequests|xmlResponses|xmlSchemas|readme...] [--working-directory <value>]
5858
5959ARGUMENTS
6060 SPEC A path to your API definition — either a local file path or a URL. If your working directory and all
6767 <options: additionalProperties|callbacks|circularRefs|commonParameters|discriminators|links|style|polymorphism|serve
6868 rVariables|webhooks|xml|xmlRequests|xmlResponses|xmlSchemas|readme>
6969
70- --workingDirectory =<value>
70+ --working-directory =<value>
7171 Working directory (for usage with relative external references)
7272
7373DESCRIPTION
@@ -102,19 +102,19 @@ Reduce an OpenAPI definition into a smaller subset.
102102```
103103USAGE
104104 $ rdme openapi reduce [SPEC] [--method <value>...] [--out <value>] [--path <value>...] [--tag <value>...] [--title
105- <value>] [--workingDirectory <value>]
105+ <value>] [--working-directory <value>]
106106
107107ARGUMENTS
108108 SPEC A path to your API definition — either a local file path or a URL. If your working directory and all
109109 subdirectories contain a single OpenAPI file, you can omit the path.
110110
111111FLAGS
112- --method=<value>... Methods to reduce by (can only be used alongside the `path` option)
113- --out=<value> Output file path to write reduced file to
114- --path=<value>... Paths to reduce by
115- --tag=<value>... Tags to reduce by
116- --title=<value> An override value for the `info.title` field in the API definition
117- --workingDirectory =<value> Working directory (for usage with relative external references)
112+ --method=<value>... Methods to reduce by (can only be used alongside the `path` option)
113+ --out=<value> Output file path to write reduced file to
114+ --path=<value>... Paths to reduce by
115+ --tag=<value>... Tags to reduce by
116+ --title=<value> An override value for the `info.title` field in the API definition
117+ --working-directory =<value> Working directory (for usage with relative external references)
118118
119119DESCRIPTION
120120 Reduce an OpenAPI definition into a smaller subset.
@@ -143,16 +143,16 @@ Resolves circular and recursive references in OpenAPI by replacing them with obj
143143
144144```
145145USAGE
146- $ rdme openapi resolve [SPEC] [--out <value>] [--title <value>] [--workingDirectory <value>]
146+ $ rdme openapi resolve [SPEC] [--out <value>] [--title <value>] [--working-directory <value>]
147147
148148ARGUMENTS
149149 SPEC A path to your API definition — either a local file path or a URL. If your working directory and all
150150 subdirectories contain a single OpenAPI file, you can omit the path.
151151
152152FLAGS
153- --out=<value> Output file path to write resolved file to
154- --title=<value> An override value for the `info.title` field in the API definition
155- --workingDirectory =<value> Working directory (for usage with relative external references)
153+ --out=<value> Output file path to write resolved file to
154+ --title=<value> An override value for the `info.title` field in the API definition
155+ --working-directory =<value> Working directory (for usage with relative external references)
156156
157157DESCRIPTION
158158 Resolves circular and recursive references in OpenAPI by replacing them with object schemas.
@@ -186,20 +186,21 @@ Upload (or re-upload) your API definition to ReadMe.
186186```
187187USAGE
188188 $ rdme openapi upload [SPEC] --key <value> [--confirm-overwrite] [--slug <value>] [--title <value>]
189- [--useSpecVersion | --branch <value>]
189+ [--useSpecVersion | --branch <value>] [--working-directory <value>]
190190
191191ARGUMENTS
192192 SPEC A path to your API definition — either a local file path or a URL. If your working directory and all
193193 subdirectories contain a single OpenAPI file, you can omit the path.
194194
195195FLAGS
196- --key=<value> (required) ReadMe project API key
197- --branch=<value> [default: stable] ReadMe project version
198- --confirm-overwrite If set, file overwrites will be made without a confirmation prompt. This flag can be a useful in
199- automated environments where prompts cannot be responded to.
200- --slug=<value> Override the slug (i.e., the unique identifier) for your API definition.
201- --title=<value> An override value for the `info.title` field in the API definition
202- --useSpecVersion Use the OpenAPI `info.version` field for your ReadMe project version
196+ --key=<value> (required) ReadMe project API key
197+ --branch=<value> [default: stable] ReadMe project version
198+ --confirm-overwrite If set, file overwrites will be made without a confirmation prompt. This flag can be a
199+ useful in automated environments where prompts cannot be responded to.
200+ --slug=<value> Override the slug (i.e., the unique identifier) for your API definition.
201+ --title=<value> An override value for the `info.title` field in the API definition
202+ --useSpecVersion Use the OpenAPI `info.version` field for your ReadMe project version
203+ --working-directory=<value> Working directory (for usage with relative external references)
203204
204205DESCRIPTION
205206 Upload (or re-upload) your API definition to ReadMe.
@@ -266,15 +267,15 @@ Validate your OpenAPI/Swagger definition.
266267
267268```
268269USAGE
269- $ rdme openapi validate [SPEC] [--github] [--workingDirectory <value>]
270+ $ rdme openapi validate [SPEC] [--github] [--working-directory <value>]
270271
271272ARGUMENTS
272273 SPEC A path to your API definition — either a local file path or a URL. If your working directory and all
273274 subdirectories contain a single OpenAPI file, you can omit the path.
274275
275276FLAGS
276- --github Create a new GitHub Actions workflow for this command.
277- --workingDirectory =<value> Working directory (for usage with relative external references)
277+ --github Create a new GitHub Actions workflow for this command.
278+ --working-directory =<value> Working directory (for usage with relative external references)
278279
279280DESCRIPTION
280281 Validate your OpenAPI/Swagger definition.
0 commit comments