0.0.20 • Published 7 years ago

raml1-json-typings v0.0.20

Weekly downloads
38
License
-
Repository
-
Last release
7 years ago

RAML1 JSON OUTPUT TYPINGS

This repository contains typings on top of JSON serialization of RAML1 JS Parser

In other words this contains typings for the things that you may obtain by calling toJSON method on the RAML1 Parser results.

var api = raml.loadApiSync(fName);
console.log(JSON.stringify(api.toJSON(), null, 2));

one typical usage will be casting JSON serialization to one of fragment interfaces declared in this typings.

import r1=require("raml1-json-typings")
type Api=r1.Api;
...

var api = <Api>raml.loadApiSync(fName).toJSON();

```javascript
0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago