powered by
Produces the content for a index.html file that will attempt to access a provided OpenAPI Specification URL.
index.html
redoc_spec(spec_url = "https://redocly.github.io/redoc/openapi.yaml", ...)
large string containing the contents of redoc_index() with the appropriate specification path changed to the spec_url value.
redoc_index()
spec_url
Url to an OpenAPI specification
Additional options for Redoc. See https://github.com/Redocly/redoc#redoc-options-object
if (FALSE) { if (interactive()) { redoc_spec("https://docs.docker.com/engine/api/v1.38.yaml", scrollYOffset = 250, disableSearch = TRUE) } }
Run the code above in your browser using DataLab