Skip to content

Commit

Permalink
Update swagger for a new version 2021-03-31-preview1 for ACS Auth (Az…
Browse files Browse the repository at this point in the history
…ure#14168)

* Unify names

* Update tag

* Update due to review meeting

* update example description

Co-authored-by: Alexandra Lamiova Pistrakova <apistrak@microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent 962f39e commit eb131e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@
}
}
},
"/teams/me/:issueAccessToken": {
"/teamsUser/:exchangeAccessToken": {
"post": {
"tags": [
"TeamsToken"
"TeamsUser"
],
"summary": "Issue a new token for a Teams user.",
"operationId": "CommunicationIdentity_IssueTeamsToken",
"summary": "Exchange an AAD access token of a Teams user for a new ACS access token.",
"operationId": "CommunicationIdentity_ExchangeTeamsUserAccessToken",
"consumes": [
"application/json"
],
Expand All @@ -154,7 +154,7 @@
"name": "body",
"required": true,
"schema": {
"$ref": "#/definitions/TeamsAccessTokenRequest"
"$ref": "#/definitions/TeamsUserAccessTokenRequest"
}
}
],
Expand All @@ -173,8 +173,8 @@
}
},
"x-ms-examples": {
"Issue Teams token": {
"$ref": "./examples/IssueTeamsToken.json"
"Exchange a Teams user access token": {
"$ref": "./examples/ExchangeTeamsUserAccessToken.json"
}
}
}
Expand Down Expand Up @@ -307,14 +307,14 @@
}
}
},
"TeamsAccessTokenRequest": {
"TeamsUserAccessTokenRequest": {
"required": [
"token"
],
"type": "object",
"properties": {
"token": {
"description": "Azure Active Directory access token to acquire a new M365 access token.",
"description": "Azure Active Directory access token to acquire a new ACS access token.",
"type": "string"
}
}
Expand Down

0 comments on commit eb131e0

Please sign in to comment.