updated to 1.2 swagger-spec