CLI command reference¶
You must have SmartDoc CLI installed in your system to access the SmartDoc commands. See the Installation topic for installation instructions.
Commands¶
Command syntax |
Usage |
|---|---|
|
Analyze an OpenAPI Specification (OAS) file for quality and completeness. |
|
Generate a summary of the API’s functionality. |
Options¶
The following options apply to the analyze command only.
Command syntax |
Usage |
|---|---|
|
Restricts the analysis to a specific metric. |
|
Causes the command to exit with a non-zero status code when the specified condition is met. Only used with a full analysis. |