Skip to content

Commit

Permalink
SCAL-224521 added the anyOf scalar type
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum29 committed Oct 4, 2024
1 parent b5b31a9 commit f5642b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 4 additions & 4 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ export function mapToPrimitive(type: string) {
type: 'string',
},
StringBooleanNumber: {
"anyOf": [
anyOf: [
{
"type": "string"
type: 'string'

Check failure on line 23 in src/utils.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Replace `type:·'string'` with `··type:·'string',`
},
{
"type": "boolean"
type: 'boolean'

Check failure on line 26 in src/utils.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Replace `··················type:·'boolean'` with `····················type:·'boolean',`
},
{
"type": "number"
type: 'number'

Check failure on line 29 in src/utils.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Replace `··················type:·'number'` with `····················type:·'number',`
}

Check failure on line 30 in src/utils.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Insert `,`
]

Check failure on line 31 in src/utils.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Replace `··············]` with `············],`
}

Check failure on line 32 in src/utils.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Insert `,`
Expand Down

0 comments on commit f5642b4

Please sign in to comment.