Newer
Older
web-services / mapping-tools / v1 / hospital / affiliations.ini
# OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json

post.responses.default.description = Trouve un hôpital associé à une adresse
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.summary = Trouve un hôpital dans une adresse d'affiliation
# Pour rétablir la colorisation: '
post.requestBody.required = true
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.parameters.0.in = query
post.parameters.0.name = indent
post.parameters.0.schema.type = boolean
post.parameters.0.description = Indent or not the JSON Result
post.requestBody.content.application/json.example.0.id = 1
post.requestBody.content.application/json.example.0.value = Hop La Pitie Salpetriere, AP HP, Serv Med Interne, Ctr Natl Reference Histiocytoses, Paris, France
post.requestBody.content.application/json.example.1.id = 2
post.requestBody.content.application/json.example.1.value = UMR CNRS 7021, Illkirch Graffenstaden, France
post.requestBody.content.application/json.example.2.id = 3
post.requestBody.content.application/json.example.2.value = Bergonie Inst, Dept Radiat Oncol, Bordeaux, France
post.requestBody.content.application/json.example.3.id = 4
post.requestBody.content.application/json.example.3.value = CHU Besancon, Serv Neurol, 2 Blvd Fleming, F-25030 Besancon, France
post.requestBody.content.application/json.example.4.id = 5
post.requestBody.content.application/json.example.4.value = CHU St Etienne, Ave Albert Raimond, F-42055 St Etienne, France
post.responses.default.content.application/json.example.0.id = 1
post.responses.default.content.application/json.example.0.value = APHP
post.responses.default.content.application/json.example.1.id = 2
post.responses.default.content.application/json.example.1.value = n/a
post.responses.default.content.application/json.example.2.id = 3
post.responses.default.content.application/json.example.2.value = Institut Bergonie Bordeaux
post.responses.default.content.application/json.example.3.id = 4
post.responses.default.content.application/json.example.3.value = CHU Besancon
post.responses.default.content.application/json.example.4.id = 5
post.responses.default.content.application/json.example.4.value = CHU St Etienne

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

[JSONParse]
separator = *

[expand]
path = env('path', 'value')
size = 100
# in production mode, uncomment the following line
# cache = boost

[expand/exec]
# command should be executable !
command = ./v1/hospital/affiliations.py

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