- 8ef8912: Export
with$id
schema withas const
notation
- 6d55193: Fix generated
$ref
schemas when$ref
ed with different descriptions
- 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
aswith$id
(sorry for this change of mind!)
- 3a77c85: Fix
/
api paths being stored out of paths folder
- 0c68392: Convert components.parameters definitions to JSON schema
- b556e65: Return human friendly error on convertToJsonSchema failure
- ae58641: Skip "type" prop valdation on OpenAPI --> JSON schema conversion
- 4e9df30: Fastify plugin:
sharedSchemasFilter
option renamed asschemaFilter
- bfc0f73: Plugins api changed from a single callback function to 2 optional
onInit
andonBeforeGeneration
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
- 4e9df30: Fastify plugin: generate $ref values that Fastify's
addSchema
can resolve
- c2716a5: Fix JSON Schema conversions on objects with
type
prop
- b88000d: Skip converting OpenApi definitions not transformable into JSON schemas
- b88000d: Convert definitions expressed as array of schemas
- 06b8d4f: Use
_
as path separator to support Windows OS - a8b4e24: Metadata props renamed (see documentation)
- a418ecb:
PluginInput['makeRelativePath']
type renamed toPluginInput['makeRelativeModulePath']
- a418ecb: Support Windows OS
- 8ce3621: Merge operation and path level path parameters
- a418ecb:
schemaFileName
metadata prop removed
- 7461657: Convert inlined definitions in other places then components prop
- a134798: Returned
metaData.schema
property replaced bymetaData.originalSchema
holding the original dereferenced JSON schema
- fcd7b9d: Append
type: "object"
prop to generated parameter schemas
- 1f01e99: Resolve circular $refs with "inline" refHandling option
- 4206868: Cleanup dependencies
- 1f3294a: default
refHandling
option switched from "inline" to "import" - 1b6a53d: Throw descriptive error with circular schemas and "inline"
refHandling
option
- 05c3865: Partially support external ref deduplication when refHandling === "import"
- ebcfd27: Don't duplicate alias definitions but re-export original schema
- 905ef5a: Remove
experimentalImportRefs
option in favour ofrefHandling
- b5688ad: Expose
metaData
return property holding generated schemas meta data - 79feb32: Introduce
plugins
option - 85ca0e8: Add "keep"
refHandling
option, to preserve $ref objects - 62ded69: Add
fastifyIntegrationPlugin
plugin
- 9e0a222: Fix
isRef
meta data prop for inlinerefHandling
option - 27404ae: Fix external local
$ref
s resolution
- 409c154: Handle circular
$ref
values. - 8513db4: Add
experimentalImportRefs
option to generate and import$ref
schema files istead of inlining. - 7c61c0f: Generate nested folders instead of dotted path folders
- 56cf900: OpenAPI parameters get converted only when found in the places dictated by the specs (
paths[path].parameters
andpaths[path][operation].parameters
) - 1543d34: Preserve commented
$ref
property in deferenced schemas - d4395ea: Resolve external and public remote $refs
- d3d5fa5: Convert deeply nested OpenAPI definitions
- f8961ad: Make
definitionPathsToGenerateFrom
option required - 9d443b9: Rename returned
outputFolder
->outputPath
- f8961ad: Prefix error messages with
[openapi-ts-json-schema]
- 9d443b9: Add support for
outputPath
option - 8c388c8: Convert OpenAPI parameters array to JSON schema
- 9030beb: Fix
schemaPatcher
to patch deeply nested props
- 6454f47: Initial release