A Go SDK for Zenduty.
Note
This client is autogenerated using oapi-codegen from the Zenduty OpenAPI Spec.
The spec has been manually modified to resolve the following error:
error generating code: error creating operation definitions: path '/api/account/teams/{}/maintenance/' has 0 positional parameters, but spec has 1 declared
Nearly all paths following /teams
contain a positional parameter of {}
, but a named parameter is required. For example:
{
"paths": {
- "/api/account/teams/{}/escalation_policies/": {
+ "/api/account/teams/{team_id}/escalation_policies/": {
"parameters": [
{
"name": "team_id",
"in": "path",
"description": "unique_id of the Team object",
"schema": {
"type": "string"
},
"required": true
}
]
}
}
}
The same was required for the "/api/v2/account/teams/{team_id}/schedules/{}/overrides/
path, but with schedule_id
.