Open udoprog opened 8 years ago
This is related to this drafter issue: https://github.com/apiaryio/drafter/issues/211
I'd expect the output JSONSchema to be the same as the example render.
In fact, I tried to render example.apib with current aglio (npm install -g aglio
) and I got "type": "array"
, not what default.html promised me. Is it regression, or should I use some other version, or something else?
A workaround is to remove/do not mention the media type 'application/json' - without that it is working as expected. See the last comments in the issue https://github.com/danielgtaylor/aglio/issues/155
Good to know about the workaround, but I don't know how useful it is since the cost is getting rid of useful documentation :(.
we ended up writing application / json
(see spaces) :(
Hey,
Using the example blueprint, with master (and overriding protagonist to version 1.3.0-dev.0), I'd expect the output JSONSchema to be the same as the example render.
Right now, I get a discrepancy in the
200 Response
in theGET /notes
endpoint.Expected:
Actual: