After writing a lot of long swagger specs I tried RAML which although not that widely supported feels much more pleasant to write. Any toughts?
(AFAICT RAML is actually a much nicer spec, both simpler in some ways and more powerful in others, but as I say I was never actually able to use it due to the licensing issues on implementations -- only read it.)
Swagger does have $ref, but it's a much weaker abstraction than RAML traits and resourceTypes.