FEAT: add controller method interfaces

This commit is contained in:
Colombo
2023-04-11 20:39:47 -03:00
parent eb1e248d4b
commit bf5b3484a1
3 changed files with 60 additions and 10 deletions
+39 -4
View File
@@ -4710,10 +4710,7 @@
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object"
}
"$ref": "#/components/schemas/CustomerLinksResponse"
}
}
}
@@ -4734,6 +4731,16 @@
"put": {
"operationId": "CustomersController_setCustomerLinks",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomerDto"
}
}
}
},
"responses": {
"200": {
"description": "",
@@ -7455,6 +7462,34 @@
"content",
"tags"
]
},
"CustomerLinksResponse": {
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"links"
]
},
"CustomerDto": {
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"links"
]
}
}
}