0.0.45 • Published 1 year ago

@s1seven/schema-tools-generate-interfaces v0.0.45

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Schema-tools-generate-interfaces

npm

The generate-interfaces module is using json-schema-to-typescript to generate TS interfaces and types using a JSON / OpenAPI schema.

Install

npm install @s1seven/schema-tools-generate-interfaces

Examples

The example wrap the generate module in a function using process.argv.

First argument is the schema url to generate from, the second argument is the filepath where interfaces will be saved.

node ./examples/generate-interfaces.js https://schemas.s1seven.com/en10168-schemas/v0.0.2/schema.json ./certificate.ts

This library was generated with Nx.

Building

Run nx build generate-interfaces to build the library.

Running unit tests

Run nx test generate-interfaces to execute the unit tests via Jest.

0.0.45

1 year ago

0.0.42

1 year ago

0.0.43

1 year ago

0.0.41

1 year ago

0.0.40

1 year ago

0.0.39

1 year ago

0.0.38

1 year ago

0.0.37

1 year ago

0.0.36

1 year ago

0.0.35

2 years ago

0.0.34

2 years ago

0.0.33

3 years ago

0.0.31

3 years ago

0.0.32

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.22

4 years ago

0.0.23

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.2-alpha.0

5 years ago