Remove company_id field from user-related forms and documentation
- Deleted the company_id field from CreateUserForm, User entity, and related API documentation in Swagger and YAML files to streamline user creation process. - Updated the CreateUser service method to reflect the removal of company_id, ensuring consistency across the user management functionality.
This commit is contained in:
@@ -7001,11 +7001,6 @@ const docTemplate = `{
|
||||
"user.CreateUserForm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"company_id": {
|
||||
"description": "Optional company UUID",
|
||||
"type": "string",
|
||||
"example": "123e4567-e89b-12d3-a456-426614174000"
|
||||
},
|
||||
"department": {
|
||||
"description": "Optional department name",
|
||||
"type": "string",
|
||||
|
||||
@@ -6995,11 +6995,6 @@
|
||||
"user.CreateUserForm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"company_id": {
|
||||
"description": "Optional company UUID",
|
||||
"type": "string",
|
||||
"example": "123e4567-e89b-12d3-a456-426614174000"
|
||||
},
|
||||
"department": {
|
||||
"description": "Optional department name",
|
||||
"type": "string",
|
||||
|
||||
@@ -1308,10 +1308,6 @@ definitions:
|
||||
type: object
|
||||
user.CreateUserForm:
|
||||
properties:
|
||||
company_id:
|
||||
description: Optional company UUID
|
||||
example: 123e4567-e89b-12d3-a456-426614174000
|
||||
type: string
|
||||
department:
|
||||
description: Optional department name
|
||||
example: Information Technology
|
||||
|
||||
Reference in New Issue
Block a user