Newer
Older
web-services / loterre-resolver / v1 / expand.ini
@Nicolas Thouvenin Nicolas Thouvenin on 22 Jul 1 KB import loterre resolver
# OpenAPI Documentation - JSON format (dot notation)
post.responses.default.description = Return all objects with enrich fields
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.summary = Enrich on field of each Object with a SKOS concept
post.requestBody.required = true
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.parameters.0.in = query
post.parameters.0.name = path
post.parameters.0.schema.type = string
post.parameters.0.description = The path in each object to enrcih with a SKOS Cocnept
post.parameters.1.in = query
post.parameters.1.name = indent
post.parameters.1.schema.type = boolean
post.parameters.1.description = Indent or not the JSON Result

# Necessary plugins
[use]
plugin = basics
plugin = analytics
plugin = storage

# Flow configuration
[JSONParse]
separator = *

[expand]
path = value
size = 1
cacheName = env('primer')

[expand/assign]
path = value
value = get('value').lowerCase()

[expand/combine]
path = value
primer = env('primer')
prepend = files
file = ./combine.ini

[dump]
indent = env('indent', false)