cat_gateway::service::docs::stoplight_elements

Function create_endpoint

Source
pub(crate) fn create_endpoint(document: &str) -> impl Endpoint
Expand description

Create an endpoint to return the Stoplight documentation for our API.