quicktype
quicktype copied to clipboard
what is "format": "integer"??

"Integer" is not valid format in JsonSchema, why quicktype expose this?
Is there a workaround for this? It looks like this breaks json schema parsers.
You can disable it:
const { lines } = await quicktype({
inputData,
lang: 'schema',
rendererOptions: { 'just-types': 'true' },
inferMaps: false, // <----
inferEnums: false, // <----
inferIntegerStrings: false, // <----
inferDateTimes: false, // <----
});