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

Add support for @ApiObjectField annotations on getters and setters #165

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bjfr
Copy link

@bjfr bjfr commented Oct 26, 2015

To keep backwards compatibility, methods must be annotated with @ApiObjectField to be interpreted as field definitions.

References issues #163 and #164.

Björn Frantzén added 3 commits October 26, 2015 14:23
object marked with @ApiObject

If you mark an object with @ApiObject, fields not marked with
@ApiObjectField are silently ignored so you are forced to add
@ApiObjectField to all fields.
…ters fabiomaffioletti#163

To be able to support Google AutoValue (https://github.com/google/auto/tree/master/value) it would be nice if the @ApiObjectField annotation cound be placed on getters and setters of the abstract object, as the fields themselves are not available to the restcontroller.
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

Successfully merging this pull request may close these issues.

1 participant