Skip to content

Commit

Permalink
Removed unused async fields from autogen (GoogleCloudPlatform#12126)
Browse files Browse the repository at this point in the history
  • Loading branch information
melinath authored and amanMahendroo committed Dec 17, 2024
1 parent c99dffe commit f7e3059
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mmv1/openapi_generate/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,8 @@ func buildResource(filePath, resourcePath, resourceName string, root *openapi3.T

resource.AutogenAsync = true
async := api.NewAsync()
async.Operation.WaitMs = 1000
async.Operation.Path = "name"
async.Operation.BaseUrl = "{{op_id}}"
async.Result.Path = "response"
async.Result.ResourceInsideResponse = true
async.Error.Path = "error"
async.Error.Message = "message"
resource.Async = async

example := r.Examples{}
Expand Down

0 comments on commit f7e3059

Please sign in to comment.