{"openapi": "3.0.3", "info": {"version": "test", "title": "objet 1", "description": "comment", "contact": {"email": "davidcourseaux@gmail.com"}}, "servers": [{"description": "Serveur API", "url": "https://api-int.fr/v1/"}], "paths": {"/objet_1": {"post": {"tags": ["objet_1"], "summary": "add a new objet_1", "description": "", "operationId": "postobjet_1", "requestBody": {"description": "objet_1 object that needs to be added ", "required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/objet_1"}}}}, "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/objet_1"}}}}}, "application/xml": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/objet_1"}}}}}, "application/x-www-form-urlencoded": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/objet_1"}}}}}}, "links": {}}, "405": {"description": "Invalid input", "links": {}}}, "security": [{"oAuthServerToServer": ["write_objet 1", "read_objet 1"]}]}, "put": {"tags": ["objet_1"], "summary": "Update an existing objet_1", "description": "", "operationId": "putObjet_1", "requestBody": {"description": "objet_1 object that needs to be added ", "required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/objet_1"}}, "application/xml": {"schema": {"$ref": "#/components/schemas/objet_1"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/objet_1"}}}}, "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/objet_1"}}}}}, "application/xml": {"schema": {"$ref": "#/components/schemas/objet_1"}}, "application/x-www-form-urlencoded": {"schema": {"$ref": "#/components/schemas/objet_1"}}}, "links": {}}, "400": {"description": "Invalid ID supplied", "links": {}}, "404": {"description": "objet_1 not found", "links": {}}, "405": {"description": "Validation exception", "links": {}}}, "security": [{"oAuthServerToServer": ["write_objet 1", "read_objet 1"]}]}}, "/objet_1/test_david": {"post": {"tags": ["objet_1"], "summary": null, "security": [{"oAuthServerToServer": ["read_objet 1"]}], "description": "description", "operationId": "postGettest_david", "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/objet_1"}}}}}}, "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": {}}}}}, "/objet_1/{id}": {"get": {"tags": ["objet_1"], "summary": "get a new objet_1 By Id", "security": [{"oAuthServerToServer": ["read_objet 1"]}], "description": "description", "operationId": "getGettest_davidById", "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/objet_1"}}}}}}, "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": ["objet_1"], "summary": "add a new objet_1 By Id", "security": [{"oAuthServerToServer": ["read_objet 1"]}], "description": "description", "operationId": "gettest_davidById", "parameters": [{"in": "path", "name": "id", "description": "", "required": true, "schema": {"type": "integer"}}, {"in": "query", "name": "att2", "description": "", "required": true, "schema": {"type": "string", "enum": []}}, {"in": "query", "name": "att1", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "object", "items": {"$ref": "#/components/schemas/objet_1"}}}}}}, "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": ["objet_1"], "summary": "remove objet_1 By Id", "security": [{"oAuthServerToServer": ["read_objet 1"]}], "description": "description", "operationId": "deleteGettest_davidById", "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/objet_1"}}}}}}, "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": {}}}}}, "/objet_1/{id}/obj1": {"get": {"tags": ["objet_1"], "summary": "get a new objet_1/{id}/obj1", "security": [{"oAuthServerToServer": ["read_objet 1"]}], "description": "description", "operationId": "getobjet_1Obj1s", "parameters": [{"in": "path", "name": "id", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"200": {"description": "successful operation", "content": {"application/json": {"schema": {"type": "object", "properties": {"content": {"type": "array", "items": {"$ref": "#/components/schemas/obj1"}}}}}}, "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": {"responses": {"NotFound": {"description": "Ressource recherch\u00e9e Non trouv\u00e9e", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "Unauthorized": {"description": "Non Autoris\u00e9", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "BadRequest": {"description": "Non Autoris\u00e9", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "ServerError": {"description": "Erreur de serveur", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}}, "securitySchemes": {"oAuthServerToServer": {"type": "oauth2", "description": "This API uses OAuth", "flows": {"clientCredentials": {"tokenUrl": "/oauth/token/v1", "scopes": {"read_objet 1": "read_objet 1", "write_objet 1": "modify_objet 1"}}}}}, "schemas": {"obj1": {"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"}}}, "objet_1": {"type": "object", "properties": {"id": {"type": "integer"}, "obj1": {"type": "array", "items": {"$ref": "#/components/schemas/obj1"}}, "att2": {"type": "string", "enum": []}, "att1": {"type": "string"}}}}}}