Newer
Older
web-services / mapping-tools / v1 / homogenize / documentType / 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-document-type-json
post.description = Homogénéise le type de document donné.
post.requestBody.content.application/json.example.0.id = 0
post.requestBody.content.application/json.example.0.value = ART
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 = Article
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 le tyoe de document homogénéisé.
post.tags.0: mapping
post.summary: Homogénéise le type de document donné

[use]
plugin = basics
plugin = analytics

[JSONParse]

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

[expand/combine]
path = value
default = n/a
primer = ./typeDocOriginal2typeDocHomog.tsv
file = ./homogenize-document-type.ini

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

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