Closed gwshaw closed 9 years ago
They didn't show up as errors until I used something that referenced them, so potentially there could be others. There is way too much in there to hand check. Better to probably create a swagger file that uses all the possible features and see what beaks.
@gwshaw, I've just done a once off true up with all the #refs and definitions in this file and everything matches now. There are 64 unique definitions referenced, and 64 definitions made.
Some of those defs were originally external and I attempted to bring them over to avoid the json validator making http requests to read them, I obviously missed two, but they are all present now.
For (my) future reference, the commands I used to check the defs and refs:
egrep -o '#/definitions/[^"]+' data/swagger_2.0_schema.json | sort | uniq
tail -n+79 data/swagger_2.0_schema.json | egrep -o '^ {4}".*' | sort
Thanks George, I'm not sure how I missed those, sorry about that!