pub(crate) fn create_endpoint(document: &str) -> impl Endpoint
Create an endpoint to return the Stoplight documentation for our API.