{ "openapi":"3.0.0", "info":{ "title":"ConfiguratieRepository", "version":"1.0.0" }, "servers":[ { "url":"http://docker01-acp.vanhoecke.be:1880/VH-ConfiguratieRepository/" } ], "paths":{ "/vhConfig/{CID}":{ "get":{ "tags":[ "VhConfig" ], "summary":"Find VhConfig by CID", "description":"Returns a single CID", "parameters":[ { "name":"CID", "in":"path", "required":true, "schema":{ "type":"string", "format":"uuid" } } ], "responses":{ "200":{ "description":"Sucessful operation", "content":{ "application/json":{ "schema":{ "$ref":"#/components/schemas/VhConfig" } } } }, "400":{ "description":"Bad request" }, "404":{ "description":"Not found" }, "500":{ "description":"Internal server error" } } }, "patch":{ "tags":[ "VhConfig" ], "summary":"Update an existing VhConfig", "description":"Update an existing VhConfig by CID", "parameters":[ { "name":"CID", "in":"path", "description":"CID that needs to be updated", "required":true, "schema":{ "type":"string" } } ], "requestBody":{ "required":true, "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "data":{ "type":"string" }, "VhConfig":{ "$ref":"#/components/schemas/VhConfig" } } } } } }, "responses":{ "200":{ "description":"Successful operation", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "VhConfig":{ "$ref":"#/components/schemas/VhConfig" } } } } } }, "400":{ "description":"Bad request" }, "500":{ "description":"Internal server error" } } }, "delete":{ "tags":[ "VhConfig" ], "summary":"Deletes a VhConfig", "description":"Delete a VhConfig by CID", "parameters":[ { "name":"CID", "in":"path", "description":"CID that needs to be deleted", "required":true, "schema":{ "type":"string" } } ], "responses":{ "204":{ "description":"Successful operation" }, "400":{ "description":"Bad request" }, "404":{ "description":"Not found" }, "500":{ "description":"Internal server error" } } } }, "/vhConfig/findByCID":{ "get":{ "tags":[ "VhConfig" ], "summary":"Find VhConfig by CIDs", "description":"Multiple CIDs can be provided with comma seperated string. Use the following format: cid1,cid2,cid3", "operationId":"", "parameters":[ { "name":"CID", "in":"query", "description":"CID of the VhConfig", "required":true, "schema":{ "enum":[ "xxxxxxxx-xxxx-xxxx-xxxx-9bcb6cdfed93" ], "type":"string" } } ], "responses":{ "200":{ "description":"Sucessful operation", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "Documents":{ "type":"array", "items":{ "$ref":"#/components/schemas/VhConfig" } }, "_count":{ "type":"integer" } } } } } }, "400":{ "description":"Bad request" }, "500":{ "description":"Internal server error" } } } }, "/vhConfig":{ "post":{ "tags":[ "VhConfig" ], "summary":"Add a new VhConfig to the database", "description":"Add a new VhConfig to the database", "requestBody":{ "required":true, "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "data":{ "type":"string" }, "VhConfig":{ "$ref":"#/components/schemas/VhConfig" } } } } } }, "responses":{ "200":{ "description":"Successful operation", "content":{ "application/json":{ "schema":{ "type":"object", "properties":{ "VhConfig":{ "$ref":"#/components/schemas/VhConfig" } } } } } }, "400":{ "description":"Bad request" }, "500":{ "description":"Internal server error" } } } }, "/healthCheck":{ "get":{ "tags":[ "Health" ], "summary":"Basic health check", "responses":{ "200":{ "description":"Healthy" }, "500":{ "description":"Unhealthy" } } } }, "/integrationCheck":{ "get":{ "tags":[ "Health" ], "summary":"Basic integration check", "responses":{ "200":{ "description":"Healthy" }, "500":{ "description":"Unhealthy" } } } } }, "components":{ "schemas":{ "VhConfig":{ "type":"object", "properties":{ "isValid":{ "type":"boolean" }, "Model":{ "type":"string" }, "Context":{ "type":"object", "additionalProperties":true }, "Kenmerken":{ "type":"object", "additionalProperties":true }, "Lijn":{ "type":"object", "properties":{ "Aantal":{ "type":"integer" }, "Referentie":{ "type":"string" } }, "required":[ "Aantal", "Referentie" ] }, "MaatwerkDetails":{ "type":"object", "properties":{ "Halffabrikaten":{ "type":"object", "additionalProperties":true }, "Kosten":{ "type":"object", "additionalProperties":true }, "VerwijderdeHalffabItems":{ "type":"array", "items":{ "type":"string" } } } }, "BerekendeKenmerken":{ "type":"object", "properties":{ "AfbeeldingCode":{ "type":"string" }, "ItemId":{ "type":"string" }, "Korttekst":{ "type":"string" }, "Langtekst":{ "type":"object", "additionalProperties":true } } }, "WinkelkarInfo":{ "type":"object", "additionalProperties":true }, "id":{ "type":"string" } } } } } }