-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathswagger.json
1 lines (1 loc) · 2.59 KB
/
swagger.json
1
{"swagger":"2.0","info":{"version":"v1","title":"My API"},"paths":{"/api/RegistryItem":{"get":{"tags":["RegistryItem"],"operationId":"ApiRegistryItemGet","consumes":[],"produces":[],"parameters":[],"responses":{"200":{"description":"Success"}}},"post":{"tags":["RegistryItem"],"operationId":"ApiRegistryItemPost","consumes":["application/json-patch+json","application/json","text/json","application/*+json"],"produces":[],"parameters":[{"name":"registrationItem","in":"body","required":false,"schema":{"$ref":"#/definitions/RegistrationItem"}}],"responses":{"200":{"description":"Success"}}}},"/api/RegistryItem/{id}":{"put":{"tags":["RegistryItem"],"operationId":"ApiRegistryItemByIdPut","consumes":["application/json-patch+json","application/json","text/json","application/*+json"],"produces":[],"parameters":[{"name":"id","in":"path","required":true,"type":"string"},{"name":"registrationItem","in":"body","required":false,"schema":{"$ref":"#/definitions/RegistrationItem"}}],"responses":{"200":{"description":"Success"}}}},"/api/Values":{"get":{"tags":["Values"],"operationId":"ApiValuesGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[],"responses":{"200":{"description":"Success","schema":{"uniqueItems":false,"type":"array","items":{"type":"string"}}}}},"post":{"tags":["Values"],"operationId":"ApiValuesPost","consumes":["application/json-patch+json","application/json","text/json","application/*+json"],"produces":[],"parameters":[{"name":"value","in":"body","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/Values/{id}":{"get":{"tags":["Values"],"operationId":"ApiValuesByIdGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"Success","schema":{"type":"string"}}}},"put":{"tags":["Values"],"operationId":"ApiValuesByIdPut","consumes":["application/json-patch+json","application/json","text/json","application/*+json"],"produces":[],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"value","in":"body","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}},"delete":{"tags":["Values"],"operationId":"ApiValuesByIdDelete","consumes":[],"produces":[],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"Success"}}}}},"definitions":{"RegistrationItem":{"type":"object","properties":{"pidId":{"type":"string"},"targetUrl":{"type":"string"}}}}}