Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openapi-ts-json-schema

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-ts-json-schema - npm Package Versions

2

0.12.2

Diff

Changelog

Source

0.12.2

Patch Changes

  • 8ef8912: Export with$id schema with as const notation
toomuchdesign
published 0.12.1 •

Changelog

Source

0.12.1

Patch Changes

  • 6d55193: Fix generated $ref schemas when $refed with different descriptions
toomuchdesign
published 0.12.0 •

Changelog

Source

0.12.0

Minor Changes

  • 3a77c85: Leading / in schema filenames not removed anymore. Path schemas filanames handled as: /my/path --> \_my_path.
  • ea41ce5: Expose schemas without $id as default and schemas with $id as with$id (sorry for this change of mind!)

Patch Changes

  • 3a77c85: Fix / api paths being stored out of paths folder
toomuchdesign
published 0.11.0 •

Changelog

Source

0.11.0

Minor Changes

  • 0c68392: Convert components.parameters definitions to JSON schema
  • b556e65: Return human friendly error on convertToJsonSchema failure

Patch Changes

  • ae58641: Skip "type" prop valdation on OpenAPI --> JSON schema conversion
toomuchdesign
published 0.10.0 •

Changelog

Source

0.10.0

Minor Changes

  • 4e9df30: Fastify plugin: sharedSchemasFilter option renamed as schemaFilter
  • bfc0f73: Plugins api changed from a single callback function to 2 optional onInit and onBeforeGeneration methods
  • 89fcf87: metaData.schemas entry registered by internal id (components/schemas/Foo) instead of $ref
  • 395a61e: Provide plugins access to options object
  • 4e9df30: Add $idMapper option

Patch Changes

  • 4e9df30: Fastify plugin: generate $ref values that Fastify's addSchema can resolve
toomuchdesign
published 0.9.2 •

Changelog

Source

0.9.2

Patch Changes

  • c2716a5: Fix JSON Schema conversions on objects with type prop
toomuchdesign
published 0.9.1 •

Changelog

Source

0.9.1

Patch Changes

  • b88000d: Skip converting OpenApi definitions not transformable into JSON schemas
  • b88000d: Convert definitions expressed as array of schemas
toomuchdesign
published 0.9.0 •

Changelog

Source

0.9.0

Minor Changes

  • 06b8d4f: Use _ as path separator to support Windows OS
  • a8b4e24: Metadata props renamed (see documentation)
  • a418ecb: PluginInput['makeRelativePath'] type renamed to PluginInput['makeRelativeModulePath']
  • a418ecb: Support Windows OS
  • 8ce3621: Merge operation and path level path parameters
  • a418ecb: schemaFileName metadata prop removed

Patch Changes

  • 7461657: Convert inlined definitions in other places then components prop
toomuchdesign
published 0.8.0 •

Changelog

Source

0.8.0

Minor Changes

  • a134798: Returned metaData.schema property replaced by metaData.originalSchema holding the original dereferenced JSON schema

Patch Changes

  • fcd7b9d: Append type: "object" prop to generated parameter schemas
toomuchdesign
published 0.7.0 •

Changelog

Source

0.7.0

Minor Changes

  • 1f01e99: Resolve circular $refs with "inline" refHandling option

Patch Changes

  • 4206868: Cleanup dependencies
2
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc