Newer
Older
web-services / base-line / v1 / true / json.ini
@Nicolas Thouvenin Nicolas Thouvenin on 4 Oct 2021 561 bytes add swagger doc
# OpenAPI Documentation - JSON format (dot notation)
post.responses.default.description = Return a JSON and set true to "value" field"
post.responses.default.content.application/json.schema.$ref = #/components/schemas/anyValue
post.summary = Parse and split JSON and return true for all document.
post.requestBody.required = true
post.requestBody.content.application/json.schema.$ref = #/components/schemas/anyValue

mimeType = application/json

[use]
plugin = basics

[JSONParse]

[assign]
path = value
value = fix(true)

[JSONString]
indent = env('indent')