webapi-parser


License

License

GroupId

GroupId

org.raml
ArtifactId

ArtifactId

webapi-parser
Last Version

Last Version

0.5.0
Release Date

Release Date

Type

Type

jar
Description

Description

webapi-parser
webapi-parser
Project URL

Project URL

https://github.com/raml-org/webapi-parser
Project Organization

Project Organization

org.raml
Source Code Management

Source Code Management

https://github.com/raml-org/webapi-parser

Download webapi-parser

How to add to project

<!-- https://jarcasting.com/artifacts/org.raml/webapi-parser/ -->
<dependency>
    <groupId>org.raml</groupId>
    <artifactId>webapi-parser</artifactId>
    <version>0.5.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.raml/webapi-parser/
implementation 'org.raml:webapi-parser:0.5.0'
// https://jarcasting.com/artifacts/org.raml/webapi-parser/
implementation ("org.raml:webapi-parser:0.5.0")
'org.raml:webapi-parser:jar:0.5.0'
<dependency org="org.raml" name="webapi-parser" rev="0.5.0">
  <artifact name="webapi-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.raml', module='webapi-parser', version='0.5.0')
)
libraryDependencies += "org.raml" % "webapi-parser" % "0.5.0"
[org.raml/webapi-parser "0.5.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.6
com.github.amlorg » amf-webapi_2.12 jar 4.0.3
com.github.amlorg » amf-validation_2.12 jar 4.0.3

provided (1)

Group / Artifact Type Version
org.scala-js : scalajs-stubs_2.12 jar 0.6.29

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.0.5

Project Modules

There are no modules declared in this project.

webapi-parser

Build status Coverage Status

API Spec parser based on AMF. Currently supports RAML 0.8, RAML 1.0, OAS 2.0 and OAS 3.0(beta).

This project is a thin wrapper that exposes API Spec-related capabilities from AMF. It is written in Scala and offered in two versions: JavaScript and Java.

๐Ÿ“ƒ Documentation

JavaScript Java
Installation NPM Gradle/Maven
Object-oriented interface "WebApi" Model "WebApi" Model
Package NPMJS Maven Central
Examples JavaScript examples Java examples
Developer Documentation JavaScript Typedoc Javadocs

๐Ÿ“ฆ Examples

๐Ÿ›  Installation

JavaScript

Install the npm package:

$ npm install webapi-parser

and require/reference as follows:

const wap = require('webapi-parser').WebApiParser

Usage examples are located in the examples directory.

Java

Specify webapi-parser as a dependency and set both MuleSoft and Jitpack repositories.

Gradle:

dependencies {
    compile 'org.raml:webapi-parser:x.y.z'
}
...
repositories {
    maven {
        url "https://repository-master.mulesoft.org/nexus/content/repositories/releases"
    }
    maven {
        url "https://jitpack.io"
    }
    mavenCentral()
}

Maven:

<dependency>
    <groupId>org.raml</groupId>
    <artifactId>webapi-parser</artifactId>
    <version>X.Y.Z</version>
</dependency>
...
<repositories>
    <repository>
        <id>MuleSoftReleases</id>
        <url>https://repository-master.mulesoft.org/nexus/content/repositories/releases</url>
    </repository>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

To install snapshot versions set additional Sonatype snapshots repository.

Gradle:

...
repositories {
    ...
    maven {
        url 'https://oss.sonatype.org/content/repositories/snapshots'
    }
}

Maven:

...
<repositories>
    ...
    <repository>
        <id>SonatypeSnapshots</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
</repositories>

Usage examples are located in the examples directory.


If you wish to contribute to this project, please review our Contribution Guidelines.

org.raml

RAML

The simplest way to model APIs

Versions

Version
0.5.0
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
0.0.1