`rdme openapi` ============== Manage your API definition (e.g., syncing, validation, analysis, conversion, etc.). Supports OpenAPI, Swagger, and Postman collections, in either JSON or YAML formats. * [`rdme openapi convert [SPEC]`](#rdme-openapi-convert-spec) * [`rdme openapi inspect [SPEC]`](#rdme-openapi-inspect-spec) * [`rdme openapi reduce [SPEC]`](#rdme-openapi-reduce-spec) * [`rdme openapi resolve [SPEC]`](#rdme-openapi-resolve-spec) * [`rdme openapi upload [SPEC]`](#rdme-openapi-upload-spec) * [`rdme openapi validate [SPEC]`](#rdme-openapi-validate-spec) ## `rdme openapi convert [SPEC]` Converts an API definition to OpenAPI and bundles any external references. ``` USAGE $ rdme openapi convert [SPEC] [--out ] [--title ] [--working-directory ] ARGUMENTS [SPEC] A path to your API definition — either a local file path or a URL. If your working directory and all subdirectories contain a single OpenAPI file, you can omit the path. FLAGS --out= Output file path to write converted file to --title= An override value for the `info.title` field in the API definition --working-directory= Working directory (for usage with relative external references) DESCRIPTION Converts an API definition to OpenAPI and bundles any external references. Converts Swagger files and Postman collections to OpenAPI and bundles any external references. **Note**: All of our other OpenAPI commands already do this conversion automatically, but this command is available in case you need this functionality exclusively. EXAMPLES By default, this command will display a comprehensive table of all OpenAPI and ReadMe features found in your API definition: $ rdme openapi convert [url-or-local-path-to-file] You can omit the file name and `rdme` will scan your working directory (and any subdirectories) for OpenAPI/Swagger files. This approach will provide you with CLI prompts, so we do not recommend this technique in CI environments. $ rdme openapi convert ``` ## `rdme openapi inspect [SPEC]` Analyze an OpenAPI/Swagger definition for various OpenAPI and ReadMe feature usage. ``` USAGE $ rdme openapi inspect [SPEC] [--feature additionalProperties|callbacks|circularRefs|commonParameters|discriminators|links|style|polymorphism|references|serv erVariables|webhooks|xmlRequests|xmlResponses|xmlSchemas...] [--working-directory ] ARGUMENTS [SPEC] A path to your API definition — either a local file path or a URL. If your working directory and all subdirectories contain a single OpenAPI file, you can omit the path. FLAGS --feature=