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

Generated java of subtypes won't compile #30

Closed
vromero opened this issue May 21, 2019 · 1 comment
Closed

Generated java of subtypes won't compile #30

vromero opened this issue May 21, 2019 · 1 comment

Comments

@vromero
Copy link

vromero commented May 21, 2019

When using a RAML that has for instance a response envelope:

myEnvelope that has some members in it, when creating a subtype, eg: EnvelopeForParticularResource it will generate enums and other types again, creating a change in the Java signature and therefore not compiling for the subtype.

See the following example project to reproduce raml-defined-example.tar.gz

As a dirty workaround I've been able to change the type: mylib.myType for an type: !include ... which does the trick but is a far cry from ideal.

@vromero vromero closed this as completed May 21, 2019
@jpbelang
Copy link
Contributor

Being discussed here:
mulesoft-labs/raml-for-jax-rs#402

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