[rust-server] `type: integer` not correctly handled
Created by: bjgill
Description
See https://github.com/swagger-api/swagger-codegen/issues/8201#issuecomment-390270329 - it looks as if we don't handle the type: integer
correctly. This ends up as Integer
in the Rust code (which is not a standard Rust type).
We should fix and then add a test.
(Note: this part of a set of issues from swagger-codegen. I didn't fix this as part of the move to openapi-generator. Thus I strongly suspect rust-server in openapi-generator also suffers the same problem. I'm not planning on working on this at the moment - contributions gratefully welcomed)
openapi-generator version
OpenAPI declaration file content or url
definitions:
Pow:
type: array
items:
type: integer