aamalev / aiohttp_apiset

Package to build routes using swagger specification
http://aiohttp-apiset.readthedocs.io/
Apache License 2.0
41 stars 9 forks source link

Strict validation for query params #158

Closed Puzanovim closed 2 years ago

Puzanovim commented 2 years ago

Couldn't find how to set strict validation for unnecessary query parameters. I assume it is important opportunity to get exception when unexpected params (not defined in the swagger spec) was given

aamalev commented 2 years ago

In general, the query can be set:

Thus, there is little benefit from such validation

spinenkoia commented 2 years ago

Can I do it optionally ?

spinenkoia commented 2 years ago

@aamalev ?

aamalev commented 2 years ago

Can I do it optionally ?

The option should be disabled by default

spinenkoia commented 2 years ago

Yes, of course

spinenkoia commented 2 years ago

let 's close the task ?