Skip to content

Commit

Permalink
Update OpenAPI spec to add msg_id to attempt output. (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
tasn authored Mar 9, 2022
1 parent 80ff5c1 commit 2c354e1
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Next
* Libs: Add `msg_id` to attempt list responses (`MessageAttemptOut`)

## Version 0.51.0
* Libs: Support for passing an idempotency key to post commands
* Libs: Add support for filtering by channel
Expand Down
31 changes: 30 additions & 1 deletion go/internal/openapi/model_message_attempt_endpoint_out.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 30 additions & 1 deletion go/internal/openapi/model_message_attempt_out.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,11 @@
"title": "Id",
"type": "string"
},
"msgId": {
"example": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"title": "Msgid",
"type": "string"
},
"response": {
"example": "{}",
"title": "Response",
Expand All @@ -1688,6 +1693,7 @@
},
"required": [
"id",
"msgId",
"endpointId",
"response",
"responseStatusCode",
Expand Down Expand Up @@ -1884,6 +1890,11 @@
"title": "Id",
"type": "string"
},
"msgId": {
"example": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"title": "Msgid",
"type": "string"
},
"response": {
"example": "{}",
"title": "Response",
Expand All @@ -1908,6 +1919,7 @@
},
"required": [
"id",
"msgId",
"endpointId",
"response",
"responseStatusCode",
Expand Down

0 comments on commit 2c354e1

Please sign in to comment.