Swagger 2.0 version is a string, not a number. See https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#fixed-fields