Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIv2 swagger json out of sync #10

Open
miklesw opened this issue Feb 22, 2018 · 0 comments
Open

APIv2 swagger json out of sync #10

miklesw opened this issue Feb 22, 2018 · 0 comments

Comments

@miklesw
Copy link

miklesw commented Feb 22, 2018

APIv2 is returning messages in an attribute called Items, whereas the swagger json has a messages attribute.

type messagesResult struct {
	Total int            `json:"total"`
	Count int            `json:"count"`
	Start int            `json:"start"`
	Items []data.Message `json:"items"`
}

If I change the attribute in the swagger json to "items", there are other issues with the actual message attributes too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant