Skip to content

Commit 369b2b4

Browse files
committed
Fix missing schema
1 parent 6242121 commit 369b2b4

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

src/openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ info:
99
license:
1010
name: MIT
1111
url: https://github.com/d-yoshi/redmine-openapi/blob/main/LICENSE
12-
version: 0.9.0
12+
version: 0.9.1
1313

1414
servers:
1515
- url: /

src/paths/memberships.membership_id.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@ put:
3333
- $ref: ../components/parameters/path/format.yml
3434
- $ref: ../components/parameters/path/membership_id.yml
3535
- $ref: ../components/parameters/header/x_redmine_switch_user.yml
36+
requestBody:
37+
content:
38+
application/json:
39+
schema:
40+
type: object
41+
required:
42+
- membership
43+
properties:
44+
membership:
45+
type: object
46+
required:
47+
- role_ids
48+
properties:
49+
role_ids:
50+
type: array
51+
items:
52+
type: integer
3653
responses:
3754
204:
3855
description: ""

0 commit comments

Comments
 (0)