Skip to content

Commit

Permalink
Regenerate client from commit a179b579 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 16, 2024
1 parent 401ccf1 commit f0deb67
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 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-12-13 16:09:37.316335",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-16 18:27:48.177537",
"spec_repo_commit": "a179b579"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:37.335531",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-16 18:27:48.192337",
"spec_repo_commit": "a179b579"
}
}
}
10 changes: 4 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31987,12 +31987,10 @@ paths:
permissions:
- events_read
post:
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.'
description: "This endpoint allows you to post events.\n\n\u2705 **Only events
with the `change` category** are in General Availability. See [Change Tracking](https://docs.datadoghq.com/change_tracking)
for more details.\n\n\u274C For use cases involving other event categories,
please use the V1 endpoint."
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 @@ -18,7 +18,9 @@ type EventsApi datadog.Service
// CreateEvent Post an event.
// 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.
// ✅ **Only events with the `change` category** are in General Availability. See [Change Tracking](https://docs.datadoghq.com/change_tracking) for more details.
//
// ❌ For use cases involving other event categories, please use the V1 endpoint.
func (a *EventsApi) CreateEvent(ctx _context.Context, body EventCreateRequestPayload) (EventCreateResponsePayload, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down

0 comments on commit f0deb67

Please sign in to comment.