diff --git a/affiliations-tools/swagger.json b/affiliations-tools/swagger.json index 75ef6bf..6024ef1 100644 --- a/affiliations-tools/swagger.json +++ b/affiliations-tools/swagger.json @@ -17,6 +17,20 @@ "description": "Plus de documentation", "url": "https://gitbucket.inist.fr/tdm/web-services/tree/master/affiliations-tools" } + }, { + "name": "rnsr", + "description": "RNSR", + "externalDocs": { + "description": "Plus de documentation", + "url": "https://gitbucket.inist.fr/tdm/web-services/tree/master/affiliations-tools#v1%2frnsr%2fcsv" + } + }, { + "name": "adresses", + "description": "Adresses", + "externalDocs": { + "description": "Plus de documentation", + "url": "https://gitbucket.inist.fr/tdm/web-services/tree/master/affiliations-tools#v1%2faddresses%2fparse" + } } ], "components": { diff --git a/affiliations-tools/v1/rnsr/conditor.ini b/affiliations-tools/v1/rnsr/conditor.ini index 6a5fcec..a70617b 100644 --- a/affiliations-tools/v1/rnsr/conditor.ini +++ b/affiliations-tools/v1/rnsr/conditor.ini @@ -4,6 +4,7 @@ post.operationId = post-v1-rnsr-conditor post.description = Prend en entrée une notice Conditor, et y ajoute un champ `conditorRnsr` post.tags.0 = affiliations +post.tags.1 = rnsr post.responses.default.description = Return a Conditor JSON notice, added with `conditorRnsr` field post.responses.default.content.application/json.schema.$ref = #/components/schemas/NoticesRnsr post.summary = Find RNSR to address given in `authors.affiliations`, when possible diff --git a/affiliations-tools/v1/rnsr/csv.ini b/affiliations-tools/v1/rnsr/csv.ini index ba19908..f647c7d 100644 --- a/affiliations-tools/v1/rnsr/csv.ini +++ b/affiliations-tools/v1/rnsr/csv.ini @@ -4,6 +4,7 @@ post.operationId = post-v1-rnsr-csv post.description = Traitement qui prend un CSV avec 2 colonnes (`Année` et `Adresse`), et l enrichit avec une colonne `RNSR`. post.tags.0 = affiliations +post.tags.1 = rnsr post.responses.default.description = Return a CSV, composed of `Année`, `Adresse`, and enriched with a `RNSR` field. post.responses.default.content.text/csv.schema.$ref = #/components/schemas/anyValue post.summary = Adds RNSR to addresses field, when possible diff --git a/affiliations-tools/v1/rnsr/json.ini b/affiliations-tools/v1/rnsr/json.ini index a07d221..38e40d4 100644 --- a/affiliations-tools/v1/rnsr/json.ini +++ b/affiliations-tools/v1/rnsr/json.ini @@ -4,6 +4,7 @@ post.operationId = post-v1-rnsr-json post.description = Traitement qui renvoie prend un objet JSON content un `id` et une `value` (contenant une année de publication, `year`, et une adresse `address`) et renvoie un `id` et une `value` (un tableau d identifiants RNSR). post.tags.0 = affiliations +post.tags.1 = rnsr post.responses.default.description = Return a JSON, composed of `id`, `value`, where value is found `RNSR`(s) post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdRNSRs post.summary = Find RNSR to address given in `value`, when possible