Really crappy implementation of the Swagger spec. Going to be better soon