raml-java-parser
raml-java-parser copied to clipboard
(deprecated) A RAML parser based on SnakeYAML written in Java
Suppose I define the following type: ``` types: Foo: enum: [X] FooArray: Foo[] Test: properties: a: Foo b: enum: [X] c: Foo[] d: FooArray e: type: array items: enum: [X]...
Hi all! I'm using the raml-parser-2 v. 1.0.7 to parse the following RAML: ``` #%RAML 1.0 --- title: Library API baseUri: http://localhost/library /authors: /{authorId}: uriParameters: authorId: type: integer description: The...
When using this RAML ```raml #%RAML 1.0 --- title: Test types: FooAction: type: object discriminator: action properties: action: string FooTestAction: type: FooAction discriminatorValue: test properties: name: object BarAction: type: object...
Hi, I'm a little confused about how to use the parser with overlays. Suppose I have a master RAML spec M, and then overlays A and B. If I want...
The attached set of example files do "!include" a JSON schema file in another directory, and that schema refers to another schema in a separate file. The top-level schema examples...
Box.raml is not parsed by 1.0.8.(https://github.com/mulesoft/api-console/blob/master/dist/examples/box.raml) This was parsed properly by 0.8 parser I am using the below RamlModelResult ramlModelResult = new RamlModelBuilder().buildApi(ramlLocationString) Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-95
I am using the RemoteVendingAPI (https://raw.githubusercontent.com/mulesoft/mulesoft-docs/f5afa20aa9d66675c9038ccafc92300bc77a08c2/apikit/v/latest/_attachments/api.raml) and trying to parse it using 1.0.8 parser. I am trying to get the schema details from the body. for (BodyLike requestBody : method.body())...
``` #%RAML 0.8 --- title: title0 traits: - vehicle: headers: traitHeader0: ``` In raml-java-parser-1.0.8, calling: ``` Trait trait = api.traits().get(0); List headers = trait.headers(); ``` throws the following exception: ```...
There is currently no way to get the ``OAuth2SecuritySchemeSettings`` for an oauth scheme because the interface ``SecuritySchemeSettings`` has no methods. Trying to cast ``SecuritySchemeSettings`` to ``OAuth2SecuritySchemeSettings`` gives a ClassCastException because...
Although the RAML spec allows arrays of arrays it looks like the model built by the parser has problems handling them. Rather than perhaps the more conventional approach of a...