{"openapi": "3.0.3", "info": {"version": "1.0.1", "title": "Assistance", "description": "AMQ - Data integration PLM (Kubix) and McQueen Quality (AMQ QUALITY)", "contact": {"email": "contact@contact.com"}}, "servers": [{"description": "None", "url": "None"}], "paths": {"/assistance": {"post": {"tags": ["assistance"], "summary": "add a new assistance", "description": "", "operationId": "postassistance", "requestBody": {"description": "assistance object that needs to be added ", "required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/assistance"}}}}, "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/assistance"}}}}}, "application/xml": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/assistance"}}}}}, "application/x-www-form-urlencoded": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/assistance"}}}}}}, "links": {}}, "405": {"description": "Invalid input", "links": {}}}, "security": [{"oAuthServerToServer": ["write_Assistance", "read_Assistance"]}]}, "put": {"tags": ["assistance"], "summary": "Update an existing assistance", "description": "", "operationId": "putAssistance", "requestBody": {"description": "assistance object that needs to be added ", "required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/assistance"}}, "application/xml": {"schema": {"$ref": "#/components/schemas/assistance"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/assistance"}}}}, "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/assistance"}}}}}, "application/xml": {"schema": {"$ref": "#/components/schemas/assistance"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/assistance"}}}, "links": {}}, "400": {"description": "Invalid ID supplied", "links": {}}, "404": {"description": "assistance not found", "links": {}}, "405": {"description": "Validation exception", "links": {}}}, "security": [{"oAuthServerToServer": ["write_Assistance", "read_Assistance"]}]}}, "/assistance/{id}": {"get": {"tags": ["assistance"], "summary": "get a new assistance By Id", "security": [{"oAuthServerToServer": ["read_Assistance"]}], "description": "description", "operationId": "getGetfakeById", "parameters": [{"in": "path", "name": "id", "description": "", "required": true, "schema": {"type": "integer"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/assistance"}}}}}}, "links": {}}, "400": {"$ref": "#/components/responses/BadRequest", "links": {}}, "401": {"$ref": "#/components/responses/Unauthorized", "links": {}}, "404": {"$ref": "#/components/responses/NotFound", "links": {}}, "500": {"$ref": "#/components/responses/ServerError", "links": {}}}}, "post": {"tags": ["assistance"], "summary": "add a new assistance By Id", "security": [{"oAuthServerToServer": ["read_Assistance"]}], "description": "description", "operationId": "getfakeById", "parameters": [{"in": "path", "name": "id", "description": "", "required": true, "schema": {"type": "integer"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/assistance"}}}}}}, "links": {}}, "400": {"$ref": "#/components/responses/BadRequest", "links": {}}, "401": {"$ref": "#/components/responses/Unauthorized", "links": {}}, "404": {"$ref": "#/components/responses/NotFound", "links": {}}, "500": {"$ref": "#/components/responses/ServerError", "links": {}}}}, "delete": {"tags": ["assistance"], "summary": "remove assistance By Id", "security": [{"oAuthServerToServer": ["read_Assistance"]}], "description": "description", "operationId": "deleteGetfakeById", "parameters": [{"in": "path", "name": "id", "description": "", "required": true, "schema": {"type": "integer"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/assistance"}}}}}}, "links": {}}, "400": {"$ref": "#/components/responses/BadRequest", "links": {}}, "401": {"$ref": "#/components/responses/Unauthorized", "links": {}}, "404": {"$ref": "#/components/responses/NotFound", "links": {}}, "500": {"$ref": "#/components/responses/ServerError", "links": {}}}}}}, "components": {"securitySchemes": {"oAuthServerToServer": {"type": "None", "description": "None", "flows": {"clientCredentials": {"tokenUrl": "None", "scopes": {"read_Assistance": "read_Assistance", "write_Assistance": "modify_Assistance"}}}}}, "schemas": {"assistance": {"type": "object", "properties": {"id": {"type": "integer"}}}, "Paging": {"type": "object", "properties": {"pageSize": {"type": "integer"}, "currentPage": {"type": "integer"}}}, "Error": {"type": "object", "properties": {"code": {"type": "string"}, "error": {"type": "string"}}}}}}