You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library is surprisingly poorly documented, no examples around at all. I have to dig in the source code, this defeats the whole purpose of having a library and I have no idea the structs represent.
type CreateIncidentOptions struct {
Type string `json:"type"`
Title string `json:"title"`
Service *APIReference `json:"service"`
Priority *APIReference `json:"priority,omitempty"`
IncidentKey string `json:"incident_key,omitempty"`
Body *APIDetails `json:"body,omitempty"`
EscalationPolicy *APIReference `json:"escalation_policy,omitempty"`
}
What is an APIReference? or an APIDetail? No examples.
EDIT: Searched in other people's code repos and now get the same error as mentioned in this ticket #165, the fix of which was done eight days ago.
The text was updated successfully, but these errors were encountered:
fxfactorial
changed the title
Poorly documented, please step it up.
Poorly documented, library code broken, please step it up.
Sep 18, 2019
Sorry about the delay on this! Fix #165 has been merged.
Also, thank you for the feedback on samples. I agree. :) I've been fumbling around the source code myself to figure out how things work, which isn't how it should be. I'll make sure we get some samples posted in a repo soon.
This library is surprisingly poorly documented, no examples around at all. I have to dig in the source code, this defeats the whole purpose of having a library and I have no idea the structs represent.
What is an APIReference? or an APIDetail? No examples.
EDIT: Searched in other people's code repos and now get the same error as mentioned in this ticket #165, the fix of which was done eight days ago.
The text was updated successfully, but these errors were encountered: