Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Some APIs send auditLogs keys but they don't seem to be declared as JsonProperty #16

Open
GregOriol opened this issue May 13, 2017 · 1 comment

Comments

@GregOriol
Copy link
Contributor

For example a request on /tenants/{id} gives a response containing "auditLogs":null but the @JsonProperty for it is not set in TenantJson.java.

This may cause some issues in relation to the client code generation (php for example): the generation doesn't create an attribute auditLogs on the Tenant object, so the parsing may break.

@pierre
Copy link
Member

pierre commented May 15, 2017

For example a request on /tenants/{id} gives a response containing "auditLogs":null but the @jsonproperty for it is not set in TenantJson.java.

It looks like the argument is missing in the constructor (see AccountJson for instance), because the endpoint doesn't support (yet) returning the audit logs. It shouldn't be hard to add though (example).

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

No branches or pull requests

2 participants