Skip to content
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

[mt][document translator] Update swagger title for each method #12716

Merged
merged 35 commits into from
Feb 5, 2021
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
003936f
Merged from master again
alexhcheng Apr 24, 2020
03e9107
updated swagger based on API review feedback
alexhcheng Apr 27, 2020
a46d5d6
updated post
alexhcheng Apr 29, 2020
5254297
fix spelling
alexhcheng Apr 29, 2020
f751d11
added x-ms-pageable, x-ms-error-response, x-ms-long-running
alexhcheng Apr 30, 2020
a377257
fix enum
alexhcheng Apr 30, 2020
608a9d4
remove long running operation
alexhcheng Apr 30, 2020
08e7ef0
bug in sdk go generation
alexhcheng Apr 30, 2020
ef1f2b2
Revert "bug in sdk go generation"
alexhcheng Apr 30, 2020
a416e02
remove x-ms-pageable
alexhcheng Apr 30, 2020
7f93856
addressed changes
alexhcheng May 5, 2020
ca82cbe
fix casing for x-ms-parameterized-host
alexhcheng May 5, 2020
bf751b8
fix endpoint in examples
alexhcheng May 5, 2020
e0d21e0
move everything in the same SDK readme file
alexhcheng May 20, 2020
583c3db
change path to v1.0_preview.1
alexhcheng May 20, 2020
3f5a459
add input type parameter for folder vs file
alexhcheng Aug 25, 2020
855ee7b
Merged from master again
alexhcheng Apr 24, 2020
f79507f
updated swagger based on API review feedback
alexhcheng Apr 27, 2020
2d55fa4
updated post
alexhcheng Apr 29, 2020
615d6df
fix spelling
alexhcheng Apr 29, 2020
b57403f
added x-ms-pageable, x-ms-error-response, x-ms-long-running
alexhcheng Apr 30, 2020
1196757
fix enum
alexhcheng Apr 30, 2020
095f47e
remove long running operation
alexhcheng Apr 30, 2020
80f5423
bug in sdk go generation
alexhcheng Apr 30, 2020
0163acd
Revert "bug in sdk go generation"
alexhcheng Apr 30, 2020
96cb962
remove x-ms-pageable
alexhcheng Apr 30, 2020
f191e92
addressed changes
alexhcheng May 5, 2020
b0ce5ee
fix casing for x-ms-parameterized-host
alexhcheng May 5, 2020
89c3d14
fix endpoint in examples
alexhcheng May 5, 2020
5d0eae0
move everything in the same SDK readme file
alexhcheng May 20, 2020
4d301ec
change path to v1.0_preview.1
alexhcheng May 20, 2020
039be5c
Update title of swagger page
alexhcheng Jan 29, 2021
e0ea00c
Merge branch 'master' of https://github.com/alexhcheng/azure-rest-api…
alexhcheng Jan 29, 2021
19723f0
update '
alexhcheng Jan 29, 2021
f4c5ef2
updating formating to formatting
alexhcheng Jan 29, 2021
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 @@ -8,7 +8,7 @@
"/batches": {
"post": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Submit a document translation request to the Document Translation service",
"description": "Use this API to submit a bulk (batch) translation request to the Document Translation service.\r\nEach request can contain multiple documents and must contain a source and destination container for each document.\r\n \r\nThe prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.\r\n \r\nGlossaries / Translation memory can be included in the request and are applied by the service when the document is translated.\r\n \r\nIf the glossary is invalid or unreachable during translation, an error is indicated in the document status.\r\nIf a file with the same name already exists at the destination, it will be overwritten. The targetUrl for each target language must be unique.",
Expand Down Expand Up @@ -101,7 +101,7 @@
},
"get": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Returns a list of batch requests submitted and the status for each request",
"description": "Returns a list of batch requests submitted and the status for each request.\r\nThis list only contains batch requests submitted by the user (based on the subscription). The status for each request is sorted by id.\r\n \r\nIf the number of requests exceeds our paging limit, server-side paging is used. Paginated responses indicate a partial result and include a continuation token in the response.\r\nThe absence of a continuation token means that no additional pages are available.\r\n \r\n$top and $skip query parameters can be used to specify a number of results to return and an offset for the collection.\r\n \r\nThe server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\r\n \r\nWhen both $top and $skip are included, the server should first apply $skip and then $top on the collection.\r\nNote: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\r\nThis reduces the risk of the client making assumptions about the data returned.",
Expand Down Expand Up @@ -211,7 +211,7 @@
"/batches/{id}/documents/{documentId}": {
"get": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Returns the status for a specific document",
"description": "Returns the translation status for a specific document based on the request Id and document Id.",
Expand Down Expand Up @@ -317,7 +317,7 @@
"/batches/{id}": {
"get": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Returns the status for a document translation request",
"description": "Returns the status for a document translation request.\r\nThe status includes the overall request status, as well as the status for documents that are being translated as part of that request.",
Expand Down Expand Up @@ -413,7 +413,7 @@
},
"delete": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Cancel a currently processing or queued operation",
"description": "Cancel a currently processing or queued operation.\r\nCancel a currently processing or queued operation.\r\nAn operation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.\r\nAll documents that have completed translation will not be cancelled and will be charged.\r\nAll pending documents will be cancelled if possible.",
Expand Down Expand Up @@ -499,7 +499,7 @@
"/batches/{id}/documents": {
"get": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Returns the status for all documents in a batch document translation request",
"description": "Returns the status for all documents in a batch document translation request.\r\n \r\nThe documents included in the response are sorted by document Id in descending order. If the number of documents in the response exceeds our paging limit, server-side paging is used.\r\nPaginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\r\n \r\n$top and $skip query parameters can be used to specify a number of results to return and an offset for the collection.\r\nThe server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\r\n \r\nWhen both $top and $skip are included, the server should first apply $skip and then $top on the collection.\r\nNote: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\r\nThis reduces the risk of the client making assumptions about the data returned.",
Expand Down Expand Up @@ -627,7 +627,7 @@
"/documents/formats": {
"get": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Returns a list of supported document formats",
"description": "The list of supported document formats supported by the Document Translation service.\r\nThe list includes the common file extension, as well as the content-type if using the upload API.",
Expand Down Expand Up @@ -683,7 +683,7 @@
"/glossaries/formats": {
"get": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Returns the list of supported glossary formats",
"description": "The list of supported glossary formats supported by the Document Translation service.\r\nThe list includes the common file extension used.",
Expand Down Expand Up @@ -739,7 +739,7 @@
"/storagesources": {
"get": {
"tags": [
"Translation"
"Document Translation"
],
"summary": "Returns a list of supported storage sources",
"description": "Returns a list of storage sources/options supported by the Document Translation service.",
Expand Down