diff --git a/affiliations-tools/v1/rnsr/conditor.ini b/affiliations-tools/v1/rnsr/conditor.ini index 4258928..34435b2 100644 --- a/affiliations-tools/v1/rnsr/conditor.ini +++ b/affiliations-tools/v1/rnsr/conditor.ini @@ -1,4 +1,5 @@ # OpenAPI Documentation - JSON format (dot notation) +mimeType = application/json post.responses.default.description = Return a Conditor JSON notice, added with `conditorRnsr` field post.responses.default.content.application/json.schema.$ref = #/components/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 53ec2db..7c269fe 100644 --- a/affiliations-tools/v1/rnsr/csv.ini +++ b/affiliations-tools/v1/rnsr/csv.ini @@ -1,9 +1,10 @@ # OpenAPI Documentation - JSON format (dot notation) +mimeType = text/csv post.responses.default.description = Return a CSV, composed of `Année`, `Adresse`, and enriched with a `RNSR` field. -post.responses.default.content.application/json.schema.$ref = #/components/schemas/anyValue +post.responses.default.content.text/csv.schema.$ref = #/components/schemas/anyValue post.summary = Adds RNSR to addresses field, when possible post.requestBody.required = true -post.requestBody.content.application/json.schema.$ref = #/components/schemas/anyValue +post.requestBody.content.text/csv.schema.$ref = #/components/schemas/anyValue [use] plugin = basics