Skip to content

create new TA preview API v3.1-preview.2 #10440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Aug 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"default": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want to keep the default (e.g. what are you returning on a 429 response?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure I will add those

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

"description": "Error Response",
"schema": {
"$ref": "#/definitions/TextAnalyticsError"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -138,7 +138,7 @@
"default": {
"description": "Error Response",
"schema": {
"$ref": "#/definitions/TextAnalyticsError"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -196,7 +196,7 @@
"default": {
"description": "Error Response",
"schema": {
"$ref": "#/definitions/TextAnalyticsError"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -254,7 +254,7 @@
"default": {
"description": "Error Response",
"schema": {
"$ref": "#/definitions/TextAnalyticsError"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -312,7 +312,7 @@
"default": {
"description": "Error Response",
"schema": {
"$ref": "#/definitions/TextAnalyticsError"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -370,7 +370,7 @@
"default": {
"description": "Error Response",
"schema": {
"$ref": "#/definitions/TextAnalyticsError"
"$ref": "#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -440,6 +440,19 @@
}
}
},
"ErrorResponse": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"description": "Document Error.",
"$ref": "#/definitions/TextAnalyticsError"
}
}
},
"TextAnalyticsError": {
"type": "object",
"required": [
Expand Down
Loading