-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathopenapi.json
1 lines (1 loc) · 7.87 KB
/
openapi.json
1
{"openapi":"3.1.0","info":{"title":"ortelius-ms-compitem-crud","description":"ortelius-ms-compitem-crud","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/compitem":{"get":{"summary":"Get Compitem","operationId":"get_compitem_msapi_compitem_get","parameters":[{"name":"compitemid","in":"query","required":true,"schema":{"type":"integer","title":"Compitemid"}},{"name":"comptype","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"","title":"Comptype"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompItemModel"},"title":"Response Get Compitem Msapi Compitem Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Compitem","operationId":"create_compitem_msapi_compitem_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompItemModel"},"title":"Compitem List"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Compitem","operationId":"delete_compitem_msapi_compitem_delete","parameters":[{"name":"compid","in":"query","required":true,"schema":{"type":"integer","title":"Compid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Compitem","operationId":"update_compitem_msapi_compitem_put","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompItemModel"},"title":"Compitem List"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CompItemModel":{"properties":{"compid":{"type":"integer","title":"Compid","default":0},"id":{"type":"integer","title":"Id","default":0},"builddate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Builddate"},"buildid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buildid"},"buildurl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buildurl"},"chart":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chart"},"chartnamespace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chartnamespace"},"chartrepo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chartrepo"},"chartrepourl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chartrepourl"},"chartversion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chartversion"},"created":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Created"},"creatorid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Creatorid"},"discordchannel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discordchannel"},"dockerrepo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dockerrepo"},"dockersha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dockersha"},"dockertag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dockertag"},"gitcommit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gitcommit"},"gitrepo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gitrepo"},"gittag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gittag"},"giturl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Giturl"},"hipchatchannel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hipchatchannel"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"modified":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Modified"},"modifierid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Modifierid"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"pagerdutybusinessurl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pagerdutybusinessurl"},"pagerdutyurl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pagerdutyurl"},"predecessorid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Predecessorid"},"purl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purl"},"repository":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository"},"rollback":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rollback"},"rollup":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rollup"},"serviceowner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serviceowner"},"serviceowneremail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serviceowneremail"},"serviceownerid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serviceownerid"},"serviceownerphone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serviceownerphone"},"slackchannel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slackchannel"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"targetdirectory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Targetdirectory"},"xpos":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Xpos"},"ypos":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ypos"},"scorecardpinned":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scorecardpinned"},"scorecardscore":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scorecardscore"},"binaryartifacts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Binaryartifacts"},"branchprotection":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branchprotection"},"ciibestpractices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ciibestpractices"},"codereview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Codereview"},"dangerousworkflow":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dangerousworkflow"},"fuzzing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fuzzing"},"license":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License"},"maintained":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maintained"},"packaging":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packaging"},"pinneddependencies":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pinneddependencies"},"sast":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sast"},"securitypolicy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Securitypolicy"},"signedreleases":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signedreleases"},"tokenpermissions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tokenpermissions"},"vulnerabilities":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vulnerabilities"}},"type":"object","title":"CompItemModel"},"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"}}}}