Open amuino opened 8 years ago
Might be related to https://github.com/apiaryio/dredd/issues/381
I'm not sure if its related but I had a similar problem to this - It was being thrown when there was a particular syntax error in my API blueprint spec, related to Defining data structures (using a -
instead of a +
for each attribute).
Worth a shot if this is what you're doing!
Was having the same issue, after much ado @joseph-norman and I tracked it down to protagonist - upgrading from 1.2.6 to 1.3.0 appears to have resolved it in my case. Worth a try for the OP.
Thanks @njlittle, I also reported the issue on dredd and drafter, where they found it was a protagonist bug, now fixed.
We have modified our blueprint for the time being to workaround the issue, but will try manually updating drafter.
We are constantly getting this error when trying to run aglio (we run it as a server, but it also happen when output goes to a file):
I've attached the minimal test case input file (zipped so that Github will allow me): sample.apib.md.zip
The error disappears when any of this happens:
Booking State Params
. Not all renames work (seems like inserting/appending chars to the last word does not fix the issue)Booking State Response
so that it does not match the name in Attributes (gives a nice format error)O*
data structurePoint
an object instead of an arrayBooking State Response
from the Response (anyO*
seems to work, probably because it does not referencePoint
)Versions: