You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3260-707dc638e0c8555f.js:1 SyntaxError: Unexpected token 'c', "const conv"... is not valid JSON
at JSON.parse ()
at json-schema-to-openapi-schema-a6414c0277dad978.js:1:429
at h (main-4df840aa51c51574.js:1:123803)
at Generator. (main-4df840aa51c51574.js:1:123581)
at Generator.next (main-4df840aa51c51574.js:1:124209)
at n (7326-3bbd6528a50a7a01.js:20:4904)
at u (7326-3bbd6528a50a7a01.js:20:5101)
at 7326-3bbd6528a50a7a01.js:20:5160
at new Promise ()
at 7326-3bbd6528a50a7a01.js:20:5042
Hi I'm trying to use it from your website. all the converters are working except for this one. It's not even working with the payload example.
https://tools.w3cub.com/json-schema-to-openapi-schema
Thanks in advance!
This is the error:
3260-707dc638e0c8555f.js:1 SyntaxError: Unexpected token 'c', "const conv"... is not valid JSON
at JSON.parse ()
at json-schema-to-openapi-schema-a6414c0277dad978.js:1:429
at h (main-4df840aa51c51574.js:1:123803)
at Generator. (main-4df840aa51c51574.js:1:123581)
at Generator.next (main-4df840aa51c51574.js:1:124209)
at n (7326-3bbd6528a50a7a01.js:20:4904)
at u (7326-3bbd6528a50a7a01.js:20:5101)
at 7326-3bbd6528a50a7a01.js:20:5160
at new Promise ()
at 7326-3bbd6528a50a7a01.js:20:5042
and this is the payload I'm using:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": [
{
"type": "object",
"properties": {
"_id": {
"type": "string"
},
"index": {
"type": "integer"
},
"guid": {
"type": "string"
},
"isActive": {
"type": "boolean"
},
"balance": {
"type": "string"
},
"picture": {
"type": "string"
},
"tags": {
"type": "array",
"items": [
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
}
]
},
"favoriteFruit": {
"type": "string"
}
},
"required": [
"_id",
"index",
"guid",
"isActive",
"balance",
"picture",
"tags",
"favoriteFruit"
]
}
]
}
The text was updated successfully, but these errors were encountered: