{
"name": "limit",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"default": 20,
"maximum": 100,
"minimum": 1
}
},
[type_mappings]
"Int32" = "i32"
"Integer" = "i32"
[generator.types.strategies]
"int32" = "i32"
"integer" = "i32"
Truly awesome generator, kudos to you!
I have issue with i32
Whatever i do, i.e:
i always get i64. https://github.com/gpu-cli/openapi-to-rust/blob/main/src/analysis.rs#L4564 does not take it into account.
Can i have some direction on how to achieve i32?