From f4c397152c760cd62570aaf27a7817036e86197b Mon Sep 17 00:00:00 2001 From: d-yoshi <22128066+d-yoshi@users.noreply.github.com> Date: Tue, 14 May 2024 21:36:16 +0900 Subject: [PATCH] Fix missing parameter --- src/openapi.yml | 2 +- src/paths/my_account.yml | 31 +++++++++++++++++-------------- src/paths/users.user_id.yml | 8 ++++++++ src/paths/users.yml | 8 ++++++++ 4 files changed, 34 insertions(+), 15 deletions(-) diff --git a/src/openapi.yml b/src/openapi.yml index a961f61..8835693 100644 --- a/src/openapi.yml +++ b/src/openapi.yml @@ -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: / diff --git a/src/paths/my_account.yml b/src/paths/my_account.yml index 92aaa70..31902ec 100644 --- a/src/paths/my_account.yml +++ b/src/paths/my_account.yml @@ -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: @@ -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: diff --git a/src/paths/users.user_id.yml b/src/paths/users.user_id.yml index 2f7b517..fc66189 100644 --- a/src/paths/users.user_id.yml +++ b/src/paths/users.user_id.yml @@ -64,6 +64,8 @@ put: type: string mail: type: string + language: + type: string auth_source_id: type: integer nullable: true @@ -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: diff --git a/src/paths/users.yml b/src/paths/users.yml index 2b73b9c..9f99c11 100644 --- a/src/paths/users.yml +++ b/src/paths/users.yml @@ -83,6 +83,8 @@ post: type: string mail: type: string + language: + type: string auth_source_id: type: integer nullable: true @@ -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: