{ "openapi":"3.0.3", "info":{ "title":"Albums API", "description":"This service provides API to manage albums.", "version":"v1.0.0" }, "paths":{ "/a/{id}":{ "delete":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID7", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "get":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID4", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "head":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID9", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{"200":{"description":"OK"}} }, "options":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID8", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "patch":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID10", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "post":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID6", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "put":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID5", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "trace":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID11", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } } }, "/albums":{ "options":{ "tags":["Album"],"summary":"Post Albums", "operationId":"rest/web_test.postAlbums5", "parameters":[{"name":"locale","in":"query","schema":{"type":"string"}}], "requestBody":{ "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } }, "responses":{ "201":{ "description":"Created", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "patch":{ "tags":["Album"],"summary":"Post Albums", "operationId":"rest/web_test.postAlbums2", "parameters":[{"name":"locale","in":"query","schema":{"type":"string"}}], "requestBody":{ "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } }, "responses":{ "201":{ "description":"Created", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "post":{ "tags":["Album"],"summary":"Post Albums", "operationId":"rest/web_test.postAlbums", "parameters":[{"name":"locale","in":"query","schema":{"type":"string"}}], "requestBody":{ "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } }, "responses":{ "201":{ "description":"Created", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "put":{ "tags":["Album"],"summary":"Post Albums", "operationId":"rest/web_test.postAlbums3", "parameters":[{"name":"locale","in":"query","schema":{"type":"string"}}], "requestBody":{ "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } }, "responses":{ "201":{ "description":"Created", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "trace":{ "tags":["Album"],"summary":"Post Albums", "operationId":"rest/web_test.postAlbums4", "parameters":[{"name":"locale","in":"query","schema":{"type":"string"}}], "responses":{ "201":{ "description":"Created", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } } }, "/albums/{id}":{ "delete":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "get":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID3", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{ "200":{ "description":"OK", "content":{ "application/json":{"schema":{"$ref":"#/components/schemas/WebTestAlbum"}} } } } }, "head":{ "tags":["Album"],"summary":"Album By ID", "operationId":"rest/web_test.albumByID2", "parameters":[ {"name":"locale","in":"query","schema":{"type":"string"}}, { "name":"id","in":"path","required":true,"schema":{"type":"integer"} } ], "responses":{"200":{"description":"OK"}} } } }, "components":{ "schemas":{ "WebTestAlbum":{ "type":"object", "properties":{ "artist":{"type":"string"},"id":{"type":"integer"}, "price":{"type":"number","format":"double"},"title":{"type":"string"} } } } } }