webapi-parser


Лицензия

Лицензия

Группа

Группа

org.raml
Идентификатор

Идентификатор

webapi-parser
Последняя версия

Последняя версия

0.5.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

webapi-parser
webapi-parser
Ссылка на сайт

Ссылка на сайт

https://github.com/raml-org/webapi-parser
Организация-разработчик

Организация-разработчик

org.raml
Система контроля версий

Система контроля версий

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

Скачать webapi-parser

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
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)

Идентификатор библиотеки Тип Версия
org.scala-js : scalajs-stubs_2.12 jar 0.6.29

test (1)

Идентификатор библиотеки Тип Версия
org.scalatest : scalatest_2.12 jar 3.0.5

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
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