Newer
Older
web-services / mapping-tools / v1 / homogenize / source / json.ini
@Nicolas Thouvenin Nicolas Thouvenin on 24 May 2022 1 KB use expand to enbale the cache system
# OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json

post.operationId = post-v1-homogenize-source-json
post.requestBody.content.application/json.example.0.id = 0
post.requestBody.content.application/json.example.0.value = « Gilets jaunes » Hypothèses sur un mouvement
post.requestBody.content.application/json.schema.$ref = #/components/schemas/IdChaines
post.requestBody.required = true
post.responses.default.content.application/json.example.0.id = 0
post.responses.default.content.application/json.example.0.value = \"GILETS JAUNES\" : HYPOTHESES SUR UN MOUVEMENT
post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdChaines
post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant la source homogénéisée.
post.description = Homogénéise la source d une notice (passe tout en majuscules, ...).
post.summary: Homogénéise la forme de la source d une notice
post.tags.0: mapping

[use]
plugin = basics
plugin = analytics

[JSONParse]

[expand]
path = value
cacheName = post-v1-homogenize-source-json

[expand/combine]
path = value
default = n/a
primer = ./sourceOriginal2sourceConditorWoS.tsv
file = ./homogenize-source.ini

[assign]
path = value
value = get("value.value")

[JSONString]
indent = env('indent', true)