fix: Remove OpenAPI format for rowFilter params (#3661)
This commit is contained in:
@@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- #3558, Add the `admin-server-host` config to set the host for the admin server - @develop7
|
- #3558, Add the `admin-server-host` config to set the host for the admin server - @develop7
|
||||||
@@ -15,6 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
- #3091, Broken link in OpenAPI description `externalDocs` - @salim-b
|
- #3091, Broken link in OpenAPI description `externalDocs` - @salim-b
|
||||||
- #3659, Embed One-to-One relationship with different column order properly - @wolfgangwalther
|
- #3659, Embed One-to-One relationship with different column order properly - @wolfgangwalther
|
||||||
|
- #3504, Remove `format` from `rowFilter` parameters in OpenAPI - @dantheman2865
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -296,8 +296,7 @@ makeRowFilter tn c =
|
|||||||
& required ?~ False
|
& required ?~ False
|
||||||
& schema .~ ParamOther ((mempty :: ParamOtherSchema)
|
& schema .~ ParamOther ((mempty :: ParamOtherSchema)
|
||||||
& in_ .~ ParamQuery
|
& in_ .~ ParamQuery
|
||||||
& type_ ?~ SwaggerString
|
& type_ ?~ SwaggerString))
|
||||||
& format ?~ colType c))
|
|
||||||
|
|
||||||
makeRowFilters :: Text -> [Column] -> [(Text, Param)]
|
makeRowFilters :: Text -> [Column] -> [(Text, Param)]
|
||||||
makeRowFilters tn = fmap (makeRowFilter tn)
|
makeRowFilters tn = fmap (makeRowFilter tn)
|
||||||
|
|||||||
Reference in New Issue
Block a user