pub async fn pdf<S: AsRef<str>>( server: S, spec: &DocumentSpecification, ) -> Result<Vec<u8>, Error>
Generate a PDF document accordign to the provided specification
If the server returns an error