Socket
Socket
Sign inDemoInstall

openapi-schema-tools

Package Overview
Dependencies
3
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    openapi-schema-tools

## Motivation


Version published
Maintainers
1
Install size
1.81 MB
Created

Readme

Source

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.

FAQs

Last updated on 18 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc