You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you've installed the package locally, you can invoke the Hidi by running: hidi [command].
34
-
You can access the list of command options we have by running hidi -h
35
+
Once you've installed the package locally, you can invoke the Hidi by running: `hidi [command]`. You can access the list of command options we have by running `hidi -h`
35
36
The tool avails the following commands:
36
37
37
38
• Validate
@@ -57,63 +58,84 @@ It accepts the following command:
57
58
• --loglevel(-ll) - The log level to use when logging messages to the main output
> Run `hidi validate -h` to see the options available.
63
68
64
69
### Transform
65
70
66
71
Used to convert file formats from JSON to YAML and vice versa and performs slicing of OpenAPI documents.
67
72
68
73
This command accepts the following parameters:
69
74
70
-
• --openapi(-d) - OpenAPI description file path in the local filesystem or a valid URL hosted on a HTTPS server
71
-
• --csdl(--cs) - CSDL file path in the local filesystem or a valid URL hosted on a HTTPS server
72
-
• --csdlfilter(--csf) - a filter parameter that a user can use to select a subset of a large CSDL file. They do so by providing a comma delimited list of EntitySet and Singleton names that appear in the EntityContainer.
73
-
• --output(-o) - Output directory path for the transformed document.
74
-
• --output-folder(--of) - The output directory path for the generated files.
75
-
• --clean-ouput(--co) - an optional param that allows a user to overwrite an existing file.
76
-
• --version(-v) - OpenAPI specification version.
77
-
• --metadata-version(--mv) - the metadata version to use.
78
-
• --format(-f) - File format
79
-
• --terse-output(--to) - Produce terse json output
80
-
• --settings-path(--sp) - The configuration file with CSDL conversion settings.
81
-
• --loglevel(--ll) - The log level to use when logging messages to the main output
82
-
• --inline-local - Inline local $ref instances
83
-
• --inline-external(--ex) - Inline external $refs
84
-
• --filterByOperationIds(--op) - Slice document based on OperationId(s) provided. Accepts a comma delimited list of operation ids.
85
-
• --filterByTags(-t) - Slice document based on tag(s) provided. Accepts a comma delimited list of tags.
86
-
• --filterByCollection(-c) - Slices the OpenAPI document based on the Postman Collection file generated by Resource Explorer
87
-
• --manifest (-m) - Slices the OpenAPI document based on the requests defined in the API Manifest file referenced by the provided URI. For API manifests with multiple API Dependenties, use a fragment identifier to select the desired one. e.g ./apimanifest.json#example
75
+
76
+
• --openapi, (-d) - OpenAPI description file path in the local filesystem or a valid URL hosted on a HTTPS server
77
+
• --csdl (--cs) - CSDL file path in the local filesystem or a valid URL hosted on a HTTPS server
78
+
• --csdl-filter (--csf) - a filter parameter that a user can use to selecta subset of a large CSDL file. They do so by providing a comma delimited list of EntitySet and Singleton names that appear in the EntityContainer.
79
+
• --output (-o) - Output directory path for the transformed document.
80
+
• --clean-output (--co) - an optional param that allows a user to overwrite an existing file.
81
+
• --version (-v) - OpenAPI specification version.
82
+
• --metadata-version (--mv) - the metadata version to use.
83
+
• --format (-f) - File format
84
+
• --terse-output (--to) - Produce terse json output
85
+
• --settings-path (--sp) - The configuration file with CSDL conversion settings.
86
+
• --log-level (--ll) - The log level to use when logging messages to the main output
0 commit comments