typera-openapi icon indicating copy to clipboard operation
typera-openapi copied to clipboard

use types for query parameters

Open juliuste opened this issue 3 years ago • 0 comments

Disclaimer: Sorry for opening yet another issue, please close if out of scope/not useful. I'm currently integrating this library into a project that previously had a hand-written openapi doc, so I'm creating an issue here everytime I encounter a situation where the library doesn't (yet) allow what can be achieved by hand.

It seems like the library currently ignores type information for query parameters, even though the OpenAPI spec allows this (e.g. restricting a query parameter to an enum or even a number). Not sure if this was intentional or not.

juliuste avatar Jun 21 '21 08:06 juliuste