This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
JSON Schema generator fails on ExtendElement in enum #217
Labels
Comments
w-vi
changed the title
ExtendElement serialize issue
JSON Schema generator fails on ExtendElement in enum
Jan 20, 2016
@w-vi any updates on this? I am still getting yt:~ z$ curl -s https://raw.githubusercontent.com/hassansin/foxycart-api-blueprint/mas
ter/apiary.apib | drafter -l
OK.
warning: (4) ExtendElement must be composed from Elements of same type |
@zdne haven't had a time to dig deeper yet. It's not an issue in JSON Schema generator anymore, it is deeper in MSON hadnling code. |
I was running into this issue earlier but I wasn't able to dig deeper without the source maps on drafter. I know this issue is happening because of an |
We have quite a few Apiary users running into this issue as well. |
Merged
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can't reproduce using latest drafter but getting different error
At least part of the problem is that JSON Schema generator is not expanding elements if in
enum
, that's where the second error is coming from.The text was updated successfully, but these errors were encountered: