diff --git a/nlp-tools2/v1/detect-lang.ini b/nlp-tools2/v1/detect-lang.ini index 833e879..3a5d8d5 100644 --- a/nlp-tools2/v1/detect-lang.ini +++ b/nlp-tools2/v1/detect-lang.ini @@ -1,7 +1,10 @@ -# OpenAPI Documentation - JSON format (dot notation) -post.responses.default.description = Return all objects with enrich fields +# OpenAPI Documentation - JSON format (dot notation) +mimeType = application/json +post.operationId = post-v1-detect-lang +post.description = Détecte la langue d'un texte et renvoie un code langue sur 2 caractères +post.responses.default.description = Renvoie un Json composé d'`id`, `value` avec `value` un code langue sur 2 caractères post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream -post.summary = Enrich one field of each Object with a Python function +post.summary = Détection de langue post.requestBody.required = true post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream post.parameters.0.in = query @@ -29,7 +32,7 @@ # cache = boost [expand/exec] -# command should be executable ! +# command should be executable ! command = ./detect_lang.py [dump]