Newer
Older
web-services / base-line-nodejs / v1 / no-accent.ini
@Nicolas Thouvenin Nicolas Thouvenin on 10 Mar 2022 1 KB feat: add base line nodjs and python
# OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json

post.operationId = post-v1-no-accent
post.description = Exemple d'utilisatino d'une fonction adhoc
post.summary = Récupération à partir d'un tableau d'objets avec à minima un champ value contenant une chaine de caractère
post.tags.0 = base-line-nodejs
post.requestBody.content.application/json.example.0.id = 1
post.requestBody.content.application/json.example.0.value = école
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.requestBody.required = true
post.responses.default.content.application/json.example.0.id = 1
post.responses.default.content.application/json.example.0.value = ecole
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.responses.default.description = Les accents dans le champ value sont supprimés
post.parameters.0.description = Indenter le JSON résultant
post.parameters.0.in = query
post.parameters.0.name = indent
post.parameters.0.schema.type = boolean

[use]
plugin = @ezs/basics
plugin = @ezs/local

[JSONParse]
separator = *

[dropAccent]
defValue = Pas de valeur

[dump]
indent = env('indent')