diff --git a/authors-tools/README.md b/authors-tools/README.md index fb94537..134ac56 100644 --- a/authors-tools/README.md +++ b/authors-tools/README.md @@ -11,13 +11,15 @@ - `@ezs/spawn` - `@ezs/analytics` - `@ezs/basics` +- `@ezs/storage` ```json { "packages": [ "@ezs/spawn@1.2.31", "@ezs/analytics@2.0.22", - "@ezs/basics@2.1.0" + "@ezs/basics@2.1.0", + "@ezs/storage@2.0.2" ] } ``` diff --git a/authors-tools/examples.http b/authors-tools/examples.http index 1d365b3..d528b65 100644 --- a/authors-tools/examples.http +++ b/authors-tools/examples.http @@ -1,4 +1,7 @@ -@baseUrl = https://authors-tools.services.inist.fr +# VP +#@baseUrl = https://authors-tools.services.inist.fr +# VI +@baseUrl = http://name-gender-1.tdmservices.intra.inist.fr # @name v1OrcidDisambiguation @@ -13,6 +16,7 @@ } ] +### # @name v1NameGender # Détection du genre d'un prénom diff --git a/authors-tools/v1/first-name/gender.ini b/authors-tools/v1/first-name/gender.ini index 2fac2bf..47d5dd7 100644 --- a/authors-tools/v1/first-name/gender.ini +++ b/authors-tools/v1/first-name/gender.ini @@ -1,7 +1,7 @@ # OpenAPI Documentation - JSON format (dot notation) -post.responses.default.description = Return all objects with enrich fields +post.responses.default.description = Renvoie le genre d'un prénom 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 = Renvoie le genre le plus probable d'un prénom post.requestBody.required = true post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream post.parameters.0.in = query @@ -13,6 +13,23 @@ post.parameters.1.schema.type = boolean post.parameters.1.description = Indent or not the JSON Result +post.requestBody.content.application/json.example.0.id = 1 +post.requestBody.content.application/json.example.0.value = Jean Christophe +post.requestBody.content.application/json.example.1.id = 2 +post.requestBody.content.application/json.example.1.value = Amke +post.requestBody.content.application/json.example.2.id = 3 +post.requestBody.content.application/json.example.2.value = Seong-Eun +post.requestBody.content.application/json.example.3.id = 4 +post.requestBody.content.application/json.example.3.value = James A. +post.responses.default.content.application/json.example.0.id = 1 +post.responses.default.content.application/json.example.0.value = male +post.responses.default.content.application/json.example.1.id = 2 +post.responses.default.content.application/json.example.1.value = mostly_female +post.responses.default.content.application/json.example.2.id = 3 +post.responses.default.content.application/json.example.2.value = female +post.responses.default.content.application/json.example.3.id = 4 +post.responses.default.content.application/json.example.3.value = male + [use] plugin = @ezs/spawn plugin = @ezs/basics