fix: Remove OpenAPI format for rowFilter params (#3661)

This commit is contained in:
Dan Kurin
2024-08-01 17:41:07 +02:00
committed by Wolfgang Walther
parent 53593824a8
commit 417a96d137
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #3091, Broken link in OpenAPI description `externalDocs` - @salim-b
- #3659, Embed One-to-One relationship with different column order properly - @wolfgangwalther
- #3504, Remove `format` from `rowFilter` parameters in OpenAPI - @dantheman2865
## [12.2.2] - 2024-07-10
+1 -2
View File
@@ -296,8 +296,7 @@ makeRowFilter tn c =
& required ?~ False
& schema .~ ParamOther ((mempty :: ParamOtherSchema)
& in_ .~ ParamQuery
& type_ ?~ SwaggerString
& format ?~ colType c))
& type_ ?~ SwaggerString))
makeRowFilters :: Text -> [Column] -> [(Text, Param)]
makeRowFilters tn = fmap (makeRowFilter tn)