i have a question about using libraries with the java parser.
In my main RAML file i have added some libraries for defining types and annotations.
uses: myTypes: types.raml annotation: annotations.raml
in the types.raml the first lines are:
#%RAML 1.0 Library --- types: ResourceType: ...
If i parse the api.raml with the java parser (even with the 1.0.1-SNAPSHOT) i get no errors. But if i want to get a list of all types i get an empty list.
List<TypeDeclaration> types = apiV10.types();
Did i something wrong? Can anyone help?