This commit is contained in:
seb
2026-11-02 00:51:15 +01:00
parent 17df88ced5
commit de2957acf1
7 changed files with 90 additions and 89 deletions

View File

@@ -73,6 +73,9 @@
* type: integer
* email:
* type: string
* picture:
* type: string
* nullable: true
* role:
* type: string
* enum: [admin, user]

View File

@@ -237,15 +237,7 @@ export function register(app, basePath = '') {
* type: object
* properties:
* companyuser:
* type: object
* properties:
* id:
* type: integer
* googleAuthId:
* type: integer
* role:
* type: string
* enum: [admin, user]
* $ref: '#/components/schemas/CompanyUser'
* 400:
* description: Invalid id, role or no company selected
* content: