You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
To contribute source code to this repository, please read our [Contributor Agreement](http://www.mulesoft.org/legal/contributor-agreement.html), and then execute it by running [this notebook](https://api-notebook.anypoint.mulesoft.com/notebooks/#380297ed0e474010ff43) and following the instructions.
6
+
7
+
## Setting-up this project locally
8
+
9
+
### Requirements
10
+
* Scala 2.12.2
11
+
* sbt 0.13.15
12
+
13
+
### Generate artifacts
14
+
To generate JavaScript artifact (generated at `./js/module/webapi-parser.js`), run:
15
+
```sh
16
+
sbt buildJS
17
+
```
18
+
19
+
To generate regular (not "fat") `.jar`, run:
20
+
```sh
21
+
sbt package
22
+
```
23
+
24
+
To generate a "fat" `.jar` (generated at `./webapi-parser-X.Y.Z.jar`), run:
25
+
```sh
26
+
sbt assembleFatJar
27
+
```
28
+
and then you can copy/move that JAR to your `libs` directory and depend on it directly:
This project is a thin wrapper that exposes API Spec-related capabilities from [AMF](https://github.com/aml-org/amf). It is written in Scala and offered in two versions: [JavaScript](#javascript) and [Java](#java).
This code aims to provide some usage examples to learn how to use `webapi-parser` in JS projects.
3
-
4
-
Each file contains example of parsing, generation, validation and/or resolving of different WebApi formats.
2
+
This folder provides some examples of how to use `webapi-parser` in JavaScript projects. Those examples showcase: parsing, generation, validation and/or resolving of different WebApi formats.
0 commit comments