This commit is contained in:
seb
2026-10-07 21:43:51 +02:00
parent 85635cc0a5
commit 1a236b568a
23 changed files with 456 additions and 313 deletions

View File

@@ -133,6 +133,10 @@ export function register(app, basePath = '') {
* responses:
* 200:
* description: Reordered successfully
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/SuccessResponse'
*/
app.put(`${basePath}/attributename/order`, async (req, res) => {
const selected = requireSelectedCompany(req);
@@ -202,6 +206,10 @@ export function register(app, basePath = '') {
* responses:
* 200:
* description: Deleted successfully
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/SuccessResponse'
* 400:
* description: Bad request or no company selected
* content: