You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For swagger of sorting params, we fillpattern field, and this allows for validation of user input when trying executing requests from Swagger UI.
Would be sweet to have a similar thing for filtering. This should be slightly more difficult, but still doable.
A good start would be to run stack ghci servant-util:servant-util-test, execute printFilterSwagger, put the resulting file to Swagger Editor, and make the descriptions of fields match with what is actually accepted in that field when "Try it out" and then "Execute" are pressed.
The text was updated successfully, but these errors were encountered:
For swagger of sorting params, we fill
pattern
field, and this allows for validation of user input when trying executing requests from Swagger UI.Would be sweet to have a similar thing for filtering. This should be slightly more difficult, but still doable.
A good start would be to run
stack ghci servant-util:servant-util-test
, executeprintFilterSwagger
, put the resulting file to Swagger Editor, and make the descriptions of fields match with what is actually accepted in that field when "Try it out" and then "Execute" are pressed.The text was updated successfully, but these errors were encountered: