Skip to content

Commit

Permalink
Fix missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
d-yoshi committed May 14, 2024
1 parent 189a740 commit f4c3971
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ info:
license:
name: MIT
url: https://github.com/d-yoshi/redmine-openapi/blob/main/LICENSE
version: 0.15.0
version: 0.15.1

servers:
- url: /
Expand Down
31 changes: 17 additions & 14 deletions src/paths/my_account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,23 @@ put:
user:
type: object
properties:
login:
type: string
admin:
type: boolean
password:
type: string
firstname:
type: string
lastname:
type: string
mail:
type: string
language:
type: string
auth_source_id:
type: integer
nullable: true
mail_notification:
type: string
enum:
Expand All @@ -54,24 +65,16 @@ put:
type: array
items:
type: integer
language:
type: string
must_change_passwd:
type: boolean
generate_password:
type: boolean
status:
type: integer
custom_fields:
$ref: ../components/schemas/request/custom_fields.yml
custom_field_values:
$ref: ../components/schemas/request/custom_field_values.yml
login:
type: string
status:
type: integer
auth_source_id:
type: integer
generate_password:
type: boolean
must_change_passwd:
type: boolean
admin:
type: boolean
group_ids:
type: array
items:
Expand Down
8 changes: 8 additions & 0 deletions src/paths/users.user_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ put:
type: string
mail:
type: string
language:
type: string
auth_source_id:
type: integer
nullable: true
Expand All @@ -76,10 +78,16 @@ put:
- only_assigned
- only_owner
- none
notified_project_ids:
type: array
items:
type: integer
must_change_passwd:
type: boolean
generate_password:
type: boolean
status:
type: integer
custom_fields:
$ref: ../components/schemas/request/custom_fields.yml
custom_field_values:
Expand Down
8 changes: 8 additions & 0 deletions src/paths/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ post:
type: string
mail:
type: string
language:
type: string
auth_source_id:
type: integer
nullable: true
Expand All @@ -95,10 +97,16 @@ post:
- only_assigned
- only_owner
- none
notified_project_ids:
type: array
items:
type: integer
must_change_passwd:
type: boolean
generate_password:
type: boolean
status:
type: integer
custom_fields:
$ref: ../components/schemas/request/custom_fields.yml
custom_field_values:
Expand Down

0 comments on commit f4c3971

Please sign in to comment.