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
** (UndefinedFunctionError) function :ok.operationId/0 is undefined (module :ok is not available)
code: |> get("/my/route")
stacktrace:
:ok.operationId()
(open_api_spex 3.17.3) lib/open_api_spex/plug/cast_and_validate.ex:124: OpenApiSpex.Plug.CastAndValidate.call/2
This happens because I have plug CastAndValidate, render_error: FallbackController but I forgot to declare the operation for some route.
I guess it should throw an explicit exception or maybe just let the request pass.
The text was updated successfully, but these errors were encountered:
This happens because I have
plug CastAndValidate, render_error: FallbackController
but I forgot to declare the operation for some route.I guess it should throw an explicit exception or maybe just let the request pass.
The text was updated successfully, but these errors were encountered: