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

In raml type when property name and display name are different then in the generated class is adding JsonProperty(typeName) annotation. #273

Open
ravindrajaiswal opened this issue Aug 31, 2018 · 1 comment
Labels
question v2 Feature will be implemented in v2.0 only (master branch) waiting for response

Comments

@ravindrajaiswal
Copy link

Need a way to override this so that I can use the display name as the attribute name in request or response object.

@stojsavljevic
Copy link
Contributor

Hi,

Thanks for reaching us.

I'm not sure I understand your usecase.
Display name can be used only as Java attribute name.
Request parameter name is always as defined in raml.

If I didn't understand you properly please provide a simple example.

@stojsavljevic stojsavljevic added question waiting for response v2 Feature will be implemented in v2.0 only (master branch) labels Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question v2 Feature will be implemented in v2.0 only (master branch) waiting for response
Projects
None yet
Development

No branches or pull requests

2 participants