Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/redmine-5.0.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
d-yoshi committed May 6, 2024
2 parents 7da056b + 0d77d1d commit eb55bc4
Show file tree
Hide file tree
Showing 85 changed files with 1,012 additions and 609 deletions.
760 changes: 495 additions & 265 deletions openapi.yml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/components/parameters.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
switch_user:
$ref: ./parameters/header/switch_user.yml

format:
$ref: ./parameters/path/format.yml

Expand All @@ -7,6 +10,9 @@ limit:
offset:
$ref: ./parameters/query/offset.yml

nometa:
$ref: ./parameters/query/nometa.yml

issue_id:
$ref: ./parameters/path/issue_id.yml

Expand Down
3 changes: 2 additions & 1 deletion src/components/parameters/header/switch_user.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: X-Redmine-Switch-User
in: header
schema:
type: integer
type: string
example: jsmith
2 changes: 1 addition & 1 deletion src/components/parameters/path/membership_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: membership_id
in: path
required: true
schema:
type: string
type: integer
2 changes: 1 addition & 1 deletion src/components/parameters/path/project_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: project_id
in: path
required: true
schema:
type: string
type: integer
64 changes: 29 additions & 35 deletions src/components/schemas.yml
Original file line number Diff line number Diff line change
@@ -1,86 +1,80 @@
IdName:
$ref: ./schemas/IdName.yml
$ref: ./schemas/id_name.yml

Issue:
$ref: ./schemas/Issue.yml
$ref: ./schemas/issue.yml

IssuePartial:
$ref: ./schemas/Issue.partial.yml
SimpleIssue:
$ref: ./schemas/issue.simple.yml

Project:
$ref: ./schemas/Project.yml
$ref: ./schemas/project.yml

User:
$ref: ./schemas/User.yml
$ref: ./schemas/user.yml

UserPartial:
$ref: ./schemas/User.partial.yml
SimpleUser:
$ref: ./schemas/user.simple.yml

Membersip:
$ref: ./schemas/Membership.yml
$ref: ./schemas/membership.yml

TimeEntry:
$ref: ./schemas/TimeEntry.yml
$ref: ./schemas/time_entry.yml

News:
$ref: ./schemas/News.yml
$ref: ./schemas/news.yml

IssueRelation:
$ref: ./schemas/IssueRelation.yml
$ref: ./schemas/issue_relation.yml

Version:
$ref: ./schemas/Version.yml
$ref: ./schemas/version.yml

WikiPage:
$ref: ./schemas/WikiPage.yml
$ref: ./schemas/wiki_page.yml

WikiPages:
$ref: ./schemas/WikiPages.yml
$ref: ./schemas/wiki_pages.yml

Query:
$ref: ./schemas/Query.yml
$ref: ./schemas/query.yml

IssueStatus:
$ref: ./schemas/IssueStatus.yml
$ref: ./schemas/issue_status.yml

Attachment:
$ref: ./schemas/Attachment.yml

IssueStatuses:
$ref: ./schemas/IssueStatuses.yml
$ref: ./schemas/attachment.yml

Group:
$ref: ./schemas/Group.yml
$ref: ./schemas/group.yml

Tracker:
$ref: ./schemas/Tracker.yml

Trackers:
$ref: ./schemas/Trackers.yml
$ref: ./schemas/tracker.yml

IssuePriority:
$ref: ./schemas/IssuePriority.yml
$ref: ./schemas/issue_priority.yml

TimeEntryActivity:
$ref: ./schemas/TimeEntryActivity.yml
$ref: ./schemas/time_entry_activity.yml

DocumentCategory:
$ref: ./schemas/DocumentCategory.yml
$ref: ./schemas/document_category.yml

IssueCategory:
$ref: ./schemas/IssueCategory.yml
$ref: ./schemas/issue_category.yml

Role:
$ref: ./schemas/Role.yml
$ref: ./schemas/role.yml

CustomField:
$ref: ./schemas/CustomField.yml
$ref: ./schemas/custom_field.yml

Search:
$ref: ./schemas/Search.yml
$ref: ./schemas/search.yml

File:
$ref: ./schemas/File.yml
$ref: ./schemas/file.yml

Errors:
$ref: ./schemas/Errors.yml
$ref: ./schemas/errors.yml
1 change: 0 additions & 1 deletion src/components/schemas/Group.yml

This file was deleted.

96 changes: 0 additions & 96 deletions src/components/schemas/Issue.partial.yml

This file was deleted.

8 changes: 0 additions & 8 deletions src/components/schemas/IssueStatuses.yml

This file was deleted.

8 changes: 0 additions & 8 deletions src/components/schemas/Trackers.yml

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/schemas/User.partial.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
content_url:
type: string
author:
$ref: ./IdName.yml
$ref: ./id_name.yml
created_on:
type: string
format: data-time
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ properties:
trackers:
type: array
items:
$ref: ./IdName.yml
$ref: ./id_name.yml
roles:
type: array
items:
$ref: ./Role.yml
$ref: ./role.yml
possible_values:
type: array
items:
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ properties:
thumbnail_url:
type: string
author:
$ref: ./IdName.yml
$ref: ./id_name.yml
created_on:
type: string
format: date-time
version:
$ref: ./IdName.yml
$ref: ./id_name.yml
digest:
type: string
downloads:
Expand Down
1 change: 1 addition & 0 deletions src/components/schemas/group.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$ref: ./id_name.yml
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ properties:
id:
type: integer
project:
$ref: ./IdName.yml
$ref: ./id_name.yml
tracker:
$ref: ./IdName.yml
$ref: ./id_name.yml
status:
$ref: ./IssueStatus.yml
$ref: ./issue_status.yml
priority:
$ref: ./IdName.yml
$ref: ./id_name.yml
author:
$ref: ./IdName.yml
$ref: ./id_name.yml
assigned_to:
$ref: ./IdName.yml
$ref: ./id_name.yml
category:
$ref: ./IdName.yml
$ref: ./id_name.yml
subject:
type: string
description:
Expand Down
Loading

0 comments on commit eb55bc4

Please sign in to comment.