0.0.45 • Published 1 month ago

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

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month 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 month ago

0.0.42

2 months ago

0.0.43

2 months ago

0.0.41

2 months ago

0.0.40

2 months ago

0.0.39

2 months ago

0.0.38

4 months ago

0.0.37

4 months ago

0.0.36

4 months ago

0.0.35

11 months ago

0.0.34

1 year ago

0.0.33

1 year ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2-alpha.0

4 years ago