create_endpoint

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.