typescript-json-schema
typescript-json-schema copied to clipboard
Generate json-schema from your Typescript sources
https://www.rfc-editor.org/rfc/rfc8927 supported by Ajv: https://github.com/ajv-validator/ajv
After upgrading from v0.38.3 to 0.56.0, we noticed that the title is no longer included in definitions that contains a `$ref`. **Interface** ```typescript export interface IAppConfiguration { /** * Card...
As can be seen here; https://github.com/everit-org/json-schema/issues/386 The `#` symbol in the key values in a schema such like: ``` "params": { "$ref": "#/definitions/Record" }, ``` should be URI Encoded, as...
This issue is more about the use of the ajv library rather than typescript-json-schema, but I figured it would be appropriate to ask here, due to the specific interaction with...
`types.ts` given these types: ```ts export interface Links { readonly self: HrefLink; readonly myLink: HrefLink & TemplatedLink; } export interface HrefLink { readonly href: string; } export interface TemplatedLink {...
I am trying to use TJS to generate a JSONSchema object, and have successfully used it in the past. However, a specific types file that I am passing is being...
When I try to generate a scheme from the following types, only `UserInfoBla` will be generated because `UserInfo` is a built-in node type. ```ts export interface UserInfo { id: string...
I think there is an inconsistency when generating custom type/interface array schema. I would expect $ref for both cases when using this config: ```js { topRef: true, ref: true, aliasRef:...
I just have a type that is not supported. Is there a way to just igore the type and not display it. Like a `ignoreError` parameter or `skipError` parameter? ```typescript...