Fork me on GitHub
#reitit
<
2021-08-27
>
wegi08:08:08

When using the swagger-ui and spec coercion I have a strange problem: A route requires a keyword. The corresponding spec is a set of keywords. When send through the swagger-ui the request always fails, because apparently the coercion fails. Any ideas whether thats a bug or whether I am doing something wrong.

"pred": "#{:statement.type/attack :statement.type/neutral :statement.type/support}",
      "val": "statement.type/attack",

Karol Wójcik14:08:28

How can I set 404 route for reitit-frontend?

snurppa05:08:18

I think either have some “catch all” path like /*catch where you would handle the 404 (assuming it would not conflict with other paths) or do it “manually” outside the Router when match-by-path returns nil

lsenjov14:08:28

frontend.easy or just frontend?