{"openapi": "3.0.3", "info": {"version": "VERSI 1.0", "title": "OM1", "description": "None", "contact": {"email": "test@test.fr"}}, "servers": [{"description": "None", "url": "None"}], "paths": {"/om1": {"post": {"tags": ["om1"], "summary": "add a new om1", "description": "", "operationId": "postom1", "requestBody": {"description": "om1 object that needs to be added ", "required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/om1"}}}}, "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/om1"}}}}}, "application/xml": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/om1"}}}}}, "application/x-www-form-urlencoded": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/om1"}}}}}}, "links": {}}, "405": {"description": "Invalid input", "links": {}}}, "security": [{"oAuthServerToServer": ["write_OM1", "read_OM1"]}]}, "put": {"tags": ["om1"], "summary": "Update an existing om1", "description": "", "operationId": "putOm1", "requestBody": {"description": "om1 object that needs to be added ", "required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/om1"}}, "application/xml": {"schema": {"$ref": "#/components/schemas/om1"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/om1"}}}}, "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/om1"}}}}}, "application/xml": {"schema": {"$ref": "#/components/schemas/om1"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/om1"}}}, "links": {}}, "400": {"description": "Invalid ID supplied", "links": {}}, "404": {"description": "om1 not found", "links": {}}, "405": {"description": "Validation exception", "links": {}}}, "security": [{"oAuthServerToServer": ["write_OM1", "read_OM1"]}]}}, "/om1/serv1": {"get": {"tags": ["om1"], "summary": null, "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "getGetserv1", "parameters": [{"in": "query", "name": "search", "required": true, "description": "", "schema": {"type": "string"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "array", "items": {"$ref": "#/components/schemas/om1"}}}}}}, "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": {}}}}}, "/om1/serv2": {"post": {"tags": ["om1"], "summary": null, "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "postGetserv2", "parameters": [{"in": "query", "name": "search", "required": true, "description": "", "schema": {"type": "string"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "array", "items": {"$ref": "#/components/schemas/om1"}}}}}}, "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": {}}}}}, "/om1/serv3": {"put": {"tags": ["om1"], "summary": null, "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "putGetserv3", "parameters": [{"in": "query", "name": "search", "required": true, "description": "", "schema": {"type": "string"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "array", "items": {"$ref": "#/components/schemas/om1"}}}}}}, "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": {}}}}}, "/om1/serv4": {"delete": {"tags": ["om1"], "summary": null, "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "deleteGetserv4", "parameters": [{"in": "query", "name": "search", "required": true, "description": "", "schema": {"type": "string"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "array", "items": {"$ref": "#/components/schemas/om1"}}}}}}, "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": {}}}}}, "/om1/serv5": {"patch": {"tags": ["om1"], "summary": null, "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "patchGetserv5", "parameters": [{"in": "query", "name": "search", "required": true, "description": "", "schema": {"type": "string"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "array", "items": {"$ref": "#/components/schemas/om1"}}}}}}, "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": {}}}}}, "/om1/{id}": {"get": {"tags": ["om1"], "summary": "get a new om1 By Id", "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "getGetserv5ById", "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/om1"}}}}}}, "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": ["om1"], "summary": "add a new om1 By Id", "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "getserv5ById", "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/om1"}}}}}}, "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": ["om1"], "summary": "remove om1 By Id", "security": [{"oAuthServerToServer": ["read_OM1"]}], "description": "description", "operationId": "deleteGetserv5ById", "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/om1"}}}}}}, "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_OM1": "read_OM1", "write_OM1": "modify_OM1"}}}}}, "schemas": {"om1": {"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"}}}}}}