https://github.com/stellaraf/go-zenduty
Go SDK for Zenduty
https://github.com/stellaraf/go-zenduty
zenduty
Last synced: 2 months ago
JSON representation
Go SDK for Zenduty
- Host: GitHub
- URL: https://github.com/stellaraf/go-zenduty
- Owner: stellaraf
- License: bsd-3-clause-clear
- Created: 2024-09-28T18:53:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-28T18:53:43.000Z (almost 2 years ago)
- Last Synced: 2025-12-28T22:57:48.562Z (6 months ago)
- Topics: zenduty
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://pkg.go.dev/go.stellar.af/go-zenduty) [](https://github.com/stellaraf/go-zenduty/tags)
## `go-zenduty`
A Go SDK for [Zenduty](https://www.zenduty.com).
> [!NOTE]
> This client is autogenerated using [oapi-codegen](https://github.com/oapi-codegen/oapi-codegen) from the [Zenduty OpenAPI Spec](https://apidocs.zenduty.com).
### Known Issues
1. Empty Position Parameters in 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:
```diff
{
"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`.
