Closed pyiotr closed 5 years ago
The openapi spec states that response codes need to be quoted in YAML (otherwise they're interpreted as ints, rather than string literals, which is what the spec expects.)
So: "200":
oughta work fine.
We really will want so far nicer error messaging for this.
OAS3 YAML schema has been generated by editor.swagger.io
from valid swagger 2.0 JSON.
@tomchristie I replaced 200 with "200" but the client still doesn't work because of missing operationId
in my schema. Consider adding a note about this. Original swagger file doesn't work with apistar for the same reason.
Hi
I have an endpoint with returns JSON:
I'm getting this error when I'm trying to create apistar client for this endpoint:
Code to reproduce
Error
Version 0.7.2