mulesoft-labs / raml-jaxrs-codegen

Tools to enable RAML-first development in JAX-RS projects
Other
40 stars 44 forks source link

with* methods for Content-Type doesn't get capitalized in code-gen #40

Open talios opened 9 years ago

talios commented 9 years ago

When specifying a custom content type for a response such as:

body:
  application/hal+json:
    schema: agreements

the method generated is:

public static ...AgreementsResponse withhaljsonOK(...)

For readability, should this not be capitalized to withHalJsonOK rather than all lowercase?

(Occured with 1.6-SNAPSHOT).

petrochenko-pavel-a commented 9 years ago

Hi, Thanks for your input. Actually the project moved to https://github.com/mulesoft/raml-for-jax-rs

We are using JIRA for better tracking these issues. Let's continue this thread here: https://www.mulesoft.org/jira/browse/RAML4JAXRS-29

Feel free of opening future issues here: https://www.mulesoft.org/jira/browse/RAML4JAXRS Note: You will also be able to create issues here (on Github), and we will replicate these on the JIRA project.