Skip to content

Commit

Permalink
Communication Services: Chat swagger location (Azure#20127)
Browse files Browse the repository at this point in the history
* use remote swagger
* run autorest
  • Loading branch information
danielgerlag authored Mar 25, 2021
1 parent 90cea5f commit 18d8868
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1,692 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private interface ChatsService {
@UnexpectedResponseExceptionType(CommunicationErrorResponseException.class)
Mono<Response<CreateChatThreadResult>> createChatThread(
@HostParam("endpoint") String endpoint,
@HeaderParam("repeatability-Request-Id") String repeatabilityRequestId,
@HeaderParam("repeatability-request-id") String repeatabilityRequestId,
@QueryParam("api-version") String apiVersion,
@BodyParam("application/json") CreateChatThreadOptions createChatThreadRequest,
@HeaderParam("Accept") String accept,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To update generated files for chat service, run the following command
### Code generation settings
``` yaml
input-file: swagger.json
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/communication/data-plane/Microsoft.CommunicationServicesChat/stable/2021-03-07/communicationserviceschat.json
java: true
output-folder: ..\
license-header: MICROSOFT_MIT_SMALL
Expand Down
Loading

0 comments on commit 18d8868

Please sign in to comment.