Skip to content

Commit

Permalink
update path of ocr swagger to v3.0-preview and add date format
Browse files Browse the repository at this point in the history
  • Loading branch information
caverobot committed Mar 19, 2020
1 parent 8eaa3b8 commit 96425e0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,13 @@
},
"createdDateTime": {
"type": "string",
"format": "date-time",
"description": "Get UTC date time the batch operation was submitted.",
"x-nullable": false
},
"lastUpdatedDateTime": {
"type": "string",
"format": "date-time",
"description": "Get last updated UTC date time of this batch operation.",
"x-nullable": false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ These settings apply only when `--tag=release_3_0 --go` is specified on the comm
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'release_3_0' && $(go)
output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/v3.0/$(namespace)
output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/v3.0-preview/$(namespace)
```
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ These settings apply only when `--tag=release_3_0` is specified on the command l

``` yaml $(tag) == 'release_3_0'
input-file:
- preview/v3.0/Ocr.json
- preview/v3.0-preview/Ocr.json
```

## Swagger to SDK
Expand Down Expand Up @@ -154,7 +154,7 @@ input-file:
- $(this-folder)/stable/v2.0/Ocr.json
- $(this-folder)/stable/v2.1/ComputerVision.json
- $(this-folder)/stable/v2.1/Ocr.json
- $(this-folder)/preview/v3.0/Ocr.json
- $(this-folder)/preview/v3.0-preview/Ocr.json
```

Expand Down

0 comments on commit 96425e0

Please sign in to comment.