Skip to content

Commit 292b8ed

Browse files
authored
Merge pull request #2509 from Expecho/patch-1
docs: fix wrong version specification in hidi examples in readme.md
1 parent f40b0f1 commit 292b8ed

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Microsoft.OpenApi.Hidi/readme.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@ This command accepts the following parameters:
9595
1. Filtering by OperationIds
9696

9797
```bash
98-
hidi transform -d files\People.yml -f yaml -o files\People.yml -v OpenApi3_0 --op users_UpdateInsights --co
98+
hidi transform -d files\People.yml -f yaml -o files\People.yml -v 3.0 --op users_UpdateInsights --co
9999
```
100100

101101
2. Filtering by Postman collection
102102

103103
```bash
104-
hidi transform --openapi files\People.yml --format yaml --output files\People2.yml --version OpenApi3_0 --filter-by-collection Graph-Collection-0017059134807617005.postman_collection.json
104+
hidi transform --openapi files\People.yml --format yaml --output files\People2.yml --version 3.0 --filter-by-collection Graph-Collection-0017059134807617005.postman_collection.json
105105
```
106106

107107
3. CSDL--->OpenAPI conversion and filtering
108108

109109
```bash
110-
hidi transform --csdl Files/Todo.xml --output Files/Todo-subset.yml --format yaml --version OpenApi3_0 --filter-by-operationids Todos.Todo.UpdateTodo
110+
hidi transform --csdl Files/Todo.xml --output Files/Todo-subset.yml --format yaml --version 3.0 --filter-by-operationids Todos.Todo.UpdateTodo
111111
```
112112

113113
4. CSDL Filtering by EntitySets and Singletons
@@ -138,4 +138,5 @@ This command generates an OpenAI style Plugin manifest and minimal OpenAPI file
138138
hidi plugin -m exampleApiManifest.yml -o mypluginfolder
139139
```
140140

141-
> Run `hidi plugin -h` to see all the available usage options.
141+
142+
> Run `hidi plugin -h` to see all the available usage options.

0 commit comments

Comments
 (0)