My document looks ok and verifies as a valid YAML/Json
However, I get from swaggerhub editor a "malformed or unreadable swagger supplied"
this is my api:
can you please advise?
Go to Solution.
Okay, that one was a bit tricky. Under your Employer definition you have:
It should actually be (notice the extra #):
That should solve the issue.
Also, if you want to utilize YAML to the fullest, you can write it all as:
View solution in original post
gee, that was quick!! 🙂 thanks a lot.
I wonder why your validator did not point me there and just gave a general error
That's a good question. I'll open a ticket internally about it so we can track it down.
I'm also having the same problem. Other swagger validators say there are no error but Swagger Hub shows the "malformed or unreadable swagger supplied" message for the following document
Has there been any progress on why this error is not pointing to the problem?