diff --git a/package.json b/package.json index f07f64b..cde27ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@thoughtspot/graph-to-openapi", - "version": "0.9.2", + "version": "0.9.3", "description": "Get an OpenAPI 3.0 spec out of a graphql Schema", "main": "dist/index.js", "scripts": { diff --git a/src/utils.ts b/src/utils.ts index 9001a27..9fc57cc 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -18,15 +18,15 @@ export function mapToPrimitive(type: string) { type: 'string', }, StringBooleanNumber: { - "anyOf": [ + anyOf: [ { - "type": "string" + type: 'string' }, { - "type": "boolean" + type: 'boolean' }, { - "type": "number" + type: 'number' } ] }