Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Conversation

@tapickell
Copy link

comment out test till I can figure out what to assert

@@ -0,0 +1,58 @@
defmodule OpenApiSpex.Plug.RedocUI do
@moduledoc """
Module plug that serves RedocUI.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add code examples on how to use this? See OpenApiSpex.Plug.SwaggerUI for an example.

@opts RedocUI.init(path: "/ui")

test "renders csrf token" do
# token = Plug.CSRFProtection.get_csrf_token()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the plan for this test?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants