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

raml to jaxrs fails to generate sources with raml1.0 #22

Open
javavenkats5 opened this issue Mar 3, 2017 · 1 comment
Open

raml to jaxrs fails to generate sources with raml1.0 #22

javavenkats5 opened this issue Mar 3, 2017 · 1 comment

Comments

@javavenkats5
Copy link

Hi,
I am using below plug to generate resources from raml1.0 document. But its failng to recognize some of the basic elements as per raml1.0 spec.
com.onpositive.aml
raml-jaxrs-maven-plugin
1.3.8
Here is the errors please help me.

does not seem to be RAML root file -skipped(first line should start from #%RAML ${raml version number}
Unexpected key 'uses'
Unexpected key 'allowedTargets'.
Unexpected key 'get?'

Here is my raml sample. all the dependant raml files are in place. Please advice me if there is any stable version of raml to jaxrs for raml 1.0?

#%RAML 1.0
title: Employee
version: v0.1
description: !include docs/Description.md
baseUri: https://www.myhost.com/v0

uses:
books: types/books.raml
annotationTypes:
countrySpecific: !include ../commons-v0/annotations/country.raml

@petrochenko-pavel-a
Copy link
Collaborator

Hi @javavenkats5 as well as I see error message, java RAML parser was not able to parse your files by some reason. Unfortunately I can not say much more without seeing books.raml and country.raml.

I know that the guys at mulesoft are making a good progress in https://github.com/mulesoft-labs/raml-for-jax-rs/tree/release/2.0.0 branch, but they does not reach GA yet.

On my side, I am using this code in my experiments and willing to fix issues, but I do not have resources to move my implementation forward at this moment.

Regards,
Pavel

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

No branches or pull requests

2 participants