Skip to content

ts-common/schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON-Schema

JSON-Schema API

Notes

additionalProperties

OAI/OpenAPI-Specification#1548

A simplified version of OpenAPI can introduce a global configuration field additionalProperties. A strict version of OpenAPI should require the additionalProperties property if type is object.

Default values

if Schema defines a default value then a validation step may produce a value of type which has no undefined values. For example

interface A {
    a?: string
}

transforms into

interface A {
    a: string
}

Multi API versions in one file

Releases

No releases published

Packages

No packages published