Skip to content

Commit

Permalink
Regenerate client from commit 97b88c51 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 7c7141d commit b439750
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 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:25.555961",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-16 16:15:13.131301",
"spec_repo_commit": "97b88c51"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:25.575458",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-16 16:15:13.145626",
"spec_repo_commit": "97b88c51"
}
}
}
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 under General Availability. Refer to [Change
Tracking](https://docs.datadoghq.com/change_tracking) for further details.\n\n\u274C
For use cases involving other event categories, please use the V1 endpoint."
operationId: CreateEvent
requestBody:
content:
Expand Down
8 changes: 6 additions & 2 deletions src/datadogV2/api/api_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ impl EventsAPI {

/// 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 under General Availability. Refer to [Change Tracking](<https://docs.datadoghq.com/change_tracking>) for further details.
///
/// ❌ For use cases involving other event categories, please use the V1 endpoint.
pub async fn create_event(
&self,
body: crate::datadogV2::model::EventCreateRequestPayload,
Expand All @@ -192,7 +194,9 @@ impl EventsAPI {

/// 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 under General Availability. Refer to [Change Tracking](<https://docs.datadoghq.com/change_tracking>) for further details.
///
/// ❌ For use cases involving other event categories, please use the V1 endpoint.
pub async fn create_event_with_http_info(
&self,
body: crate::datadogV2::model::EventCreateRequestPayload,
Expand Down

0 comments on commit b439750

Please sign in to comment.