Hi,
I'm trying to import a json file or a Yaml file from a third part API and I am getting this error.
I also try to convert the json from supplier using Swagger.
Anyone could help me?
Regards.
Hi ,
Seems like you entered incorrect Data type.
For example: You have to mention type as "number" for integer values as below. If you give "Number" - you will face these issues. So, please check in your document everything seems to be valid, including case sensitive.
ZDCONO": { "type": "number", "description": "Company (3)" },
If you are using JSON file, you can also put in JSON online compiler for some other kinds of issue detection to rectify in your file.
Thanks,
Srija Sivakumar
to check if your swagger doc is well done open https://editor.swagger.io and paste it
you can see what error do you have in your swagger doc
is it swagger 2.0 or open api 3.0.x?
It is open api 3.0.x.
You're right, I've imported to a swagger editor and I see many errors.
Many Thanks.