pub async fn handle_validate(
req: HttpRequest,
body: String,
state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>Expand description
POST /api/validate — validate an entity against the ontology.
pub async fn handle_validate(
req: HttpRequest,
body: String,
state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>POST /api/validate — validate an entity against the ontology.