Skip to content

Commit

Permalink
Regenerate client from commit 70b4c782 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 22, 2024
1 parent e275dc4 commit f291009
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-21 20:23:37.385942",
"spec_repo_commit": "ad36259c"
"regenerated": "2024-11-22 09:35:30.902921",
"spec_repo_commit": "70b4c782"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-21 20:23:37.404567",
"spec_repo_commit": "ad36259c"
"regenerated": "2024-11-22 09:35:30.921806",
"spec_repo_commit": "70b4c782"
}
}
}
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31437,8 +31437,12 @@ paths:
permissions:
- events_read
post:
description: This endpoint allows you to post events. Only events with `change`
category are under General Availability.
description: 'This endpoint allows you to post events.


Only events with **`change` category** are under General Availability. Refer
to [Change Tracking](https://docs.datadoghq.com/change_tracking) for further
details.'
operationId: CreateEvent
requestBody:
content:
Expand Down
4 changes: 3 additions & 1 deletion api/datadogV2/api_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import (
type EventsApi datadog.Service

// CreateEvent Post an event.
// This endpoint allows you to post events. Only events with `change` category are under General Availability.
// This endpoint allows you to post events.
//
// Only events with **`change` category** are under General Availability. Refer to [Change Tracking](https://docs.datadoghq.com/change_tracking) for further details.
func (a *EventsApi) CreateEvent(ctx _context.Context, body EventCreateRequestPayload) (EventCreateResponsePayload, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down

0 comments on commit f291009

Please sign in to comment.