-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathopenapi.json
1 lines (1 loc) · 1.77 KB
/
openapi.json
1
{"openapi":"3.1.0","info":{"title":"ortelius-ms-validate-user","description":"ortelius-ms-validate-user","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","description":"This health check end point used by Kubernetes","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusMsg"}}}}}}},"/msapi/validateuser":{"get":{"summary":"Validateuser","operationId":"validateuser_msapi_validateuser_get","parameters":[{"name":"domains","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[y|Y|n|N]$"},{"type":"null"}],"title":"Domains"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"DomainList":{"properties":{"domains":{"items":{"type":"integer"},"type":"array","title":"Domains","default":[]}},"type":"object","title":"DomainList"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"StatusMsg":{"properties":{"status":{"type":"string","title":"Status","default":""},"service_name":{"type":"string","title":"Service Name","default":""}},"type":"object","title":"StatusMsg"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}