0.0.30 • Published 5 months ago

openapi-schema-tools v0.0.30

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

OpenAPI Schema Tools

Motivation

OpenAPI Schema tools are split into many different libraries that are owned and maintained by different people, they are all different, work differently, only prodive specific function, some of them are inefficient and have a big bundle size.

Description

Light weight library

Provides tools such as:

  • SchemaMocker - Creates mocks from a given schema.
  • SchemaContext - Creates schemas context providing deRef method.
  • SchemaSatisfier - Prodives methods to ensure that given value satisfies given schema.
  • SchemaConverter - Converts schema to another type (currenly only to zod).

Types:

  • SchemaInfer - A namespace that provides tools for infering schema from parts of OpenAPI Document.
  • SchemaResolve - A namespace that provides tools for resolving different schema types.
  • ResolveSchema - A type that resolves any schema (including $ref's) deeply into a primitive.
0.0.24

5 months ago

0.0.25

5 months ago

0.0.30

5 months ago

0.0.26

5 months ago

0.0.27

5 months ago

0.0.28

5 months ago

0.0.29

5 months ago

0.0.23

5 months ago

0.0.22

5 months ago

0.0.20

6 months ago

0.0.21

6 months ago

0.0.10

7 months ago

0.0.11

6 months ago

0.0.12

6 months ago

0.0.13

6 months ago

0.0.14

6 months ago

0.0.15

6 months ago

0.0.9

7 months ago

0.0.16

6 months ago

0.0.8

7 months ago

0.0.17

6 months ago

0.0.18

6 months ago

0.0.19

6 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5-alpha

1 year ago

0.0.4-alpha

1 year ago

0.0.3-alpha

1 year ago

0.0.2-alpha

1 year ago

0.0.1-alpha

1 year ago