osdn-client 0.0.20161003 → 0.0.20171120
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +168 -6
- data/docs/FrsAdminPrefs.md +9 -0
- data/docs/Group.md +1 -3
- data/docs/GroupProfile.md +10 -0
- data/docs/GroupProfilePerLanguage.md +10 -0
- data/docs/GroupToolFlags.md +1 -2
- data/docs/History.md +15 -0
- data/docs/I18NText.md +9 -0
- data/docs/ProjectApi.md +4021 -209
- data/docs/ProjectBzr.md +22 -0
- data/docs/ProjectFrsApi.md +118 -4
- data/docs/ProjectGit.md +27 -0
- data/docs/ProjectHg.md +22 -0
- data/docs/ProjectSCM.md +22 -0
- data/docs/ProjectSCMApi.md +1214 -0
- data/docs/ProjectSCMLastCommit.md +11 -0
- data/docs/ProjectSvn.md +25 -0
- data/docs/ProjectTicketApi.md +1847 -0
- data/docs/ProjectTicketComment.md +13 -0
- data/docs/ProjectTicketComponent.md +14 -0
- data/docs/ProjectTicketComponentSummary.md +10 -0
- data/docs/ProjectTicketComponentSummarySummarizedBy.md +12 -0
- data/docs/ProjectTicketHistory.md +14 -0
- data/docs/ProjectTicketItem.md +25 -0
- data/docs/ProjectTicketMilestone.md +14 -0
- data/docs/ProjectTicketMilestoneSummary.md +10 -0
- data/docs/ProjectTicketMilestoneSummarySummarizedBy.md +12 -0
- data/docs/ProjectTicketPrefs.md +13 -0
- data/docs/ProjectTicketType.md +15 -0
- data/docs/ProjectTicketTypeInstructionPerLanguage.md +9 -0
- data/docs/ProjectTicketTypeInstructions.md +9 -0
- data/docs/ProjectTicketTypeSummary.md +10 -0
- data/docs/ProjectTicketTypeSummarySummarizedBy.md +12 -0
- data/docs/ProjectWeb.md +8 -0
- data/docs/ScmHook.md +18 -0
- data/docs/SummariadByComponent.md +7 -0
- data/docs/SummariadByComponentInner.md +10 -0
- data/docs/SummariadByMilestone.md +7 -0
- data/docs/SummariadByMilestoneInner.md +10 -0
- data/docs/SummariadByOwner.md +7 -0
- data/docs/SummariadByOwnerInner.md +10 -0
- data/docs/SummariadByPriority.md +7 -0
- data/docs/SummariadByPriorityInner.md +10 -0
- data/docs/SummariadBySeverity.md +7 -0
- data/docs/SummariadBySeverityInner.md +10 -0
- data/docs/SummariadByType.md +7 -0
- data/docs/SummariadByTypeInner.md +10 -0
- data/docs/User.md +5 -3
- data/docs/UserApi.md +279 -0
- data/docs/UserImages.md +12 -0
- data/docs/UserStats.md +33 -0
- data/lib/osdn-client.rb +45 -1
- data/lib/osdn-client/api/default_api.rb +1 -1
- data/lib/osdn-client/api/project_api.rb +4574 -396
- data/lib/osdn-client/api/project_frs_api.rb +122 -5
- data/lib/osdn-client/api/project_news_api.rb +1 -1
- data/lib/osdn-client/api/project_scm_api.rb +1310 -0
- data/lib/osdn-client/api/project_ticket_api.rb +2124 -0
- data/lib/osdn-client/api/user_api.rb +294 -1
- data/lib/osdn-client/api_client.rb +1 -1
- data/lib/osdn-client/api_error.rb +1 -1
- data/lib/osdn-client/configuration.rb +1 -1
- data/lib/osdn-client/models/frs_admin_prefs.rb +208 -0
- data/lib/osdn-client/models/group.rb +8 -26
- data/lib/osdn-client/models/group_profile.rb +223 -0
- data/lib/osdn-client/models/group_profile_per_language.rb +217 -0
- data/lib/osdn-client/models/group_tool_flags.rb +11 -20
- data/lib/osdn-client/models/history.rb +262 -0
- data/lib/osdn-client/models/i18_n_text.rb +208 -0
- data/lib/osdn-client/models/news.rb +1 -1
- data/lib/osdn-client/models/package.rb +1 -1
- data/lib/osdn-client/models/pong.rb +1 -1
- data/lib/osdn-client/models/project_bzr.rb +329 -0
- data/lib/osdn-client/models/project_git.rb +374 -0
- data/lib/osdn-client/models/project_hg.rb +329 -0
- data/lib/osdn-client/models/project_scm.rb +329 -0
- data/lib/osdn-client/models/project_scm_last_commit.rb +226 -0
- data/lib/osdn-client/models/project_svn.rb +356 -0
- data/lib/osdn-client/models/project_ticket_comment.rb +244 -0
- data/lib/osdn-client/models/project_ticket_component.rb +253 -0
- data/lib/osdn-client/models/project_ticket_component_summary.rb +217 -0
- data/lib/osdn-client/models/project_ticket_component_summary_summarized_by.rb +235 -0
- data/lib/osdn-client/models/project_ticket_history.rb +253 -0
- data/lib/osdn-client/models/project_ticket_item.rb +356 -0
- data/lib/osdn-client/models/project_ticket_milestone.rb +253 -0
- data/lib/osdn-client/models/project_ticket_milestone_summary.rb +217 -0
- data/lib/osdn-client/models/project_ticket_milestone_summary_summarized_by.rb +235 -0
- data/lib/osdn-client/models/project_ticket_prefs.rb +244 -0
- data/lib/osdn-client/models/project_ticket_type.rb +266 -0
- data/lib/osdn-client/models/project_ticket_type_instruction_per_language.rb +208 -0
- data/lib/osdn-client/models/project_ticket_type_instructions.rb +212 -0
- data/lib/osdn-client/models/project_ticket_type_summary.rb +217 -0
- data/lib/osdn-client/models/project_ticket_type_summary_summarized_by.rb +235 -0
- data/lib/osdn-client/models/project_web.rb +199 -0
- data/lib/osdn-client/models/rel_file.rb +1 -1
- data/lib/osdn-client/models/release.rb +1 -1
- data/lib/osdn-client/models/scm_hook.rb +289 -0
- data/lib/osdn-client/models/simple_chamber.rb +1 -1
- data/lib/osdn-client/models/simple_group.rb +1 -1
- data/lib/osdn-client/models/simple_user.rb +1 -1
- data/lib/osdn-client/models/skill.rb +1 -1
- data/lib/osdn-client/models/summariad_by_component.rb +190 -0
- data/lib/osdn-client/models/summariad_by_component_inner.rb +217 -0
- data/lib/osdn-client/models/summariad_by_milestone.rb +190 -0
- data/lib/osdn-client/models/summariad_by_milestone_inner.rb +217 -0
- data/lib/osdn-client/models/summariad_by_owner.rb +190 -0
- data/lib/osdn-client/models/summariad_by_owner_inner.rb +217 -0
- data/lib/osdn-client/models/summariad_by_priority.rb +190 -0
- data/lib/osdn-client/models/summariad_by_priority_inner.rb +217 -0
- data/lib/osdn-client/models/summariad_by_severity.rb +190 -0
- data/lib/osdn-client/models/summariad_by_severity_inner.rb +217 -0
- data/lib/osdn-client/models/summariad_by_type.rb +190 -0
- data/lib/osdn-client/models/summariad_by_type_inner.rb +217 -0
- data/lib/osdn-client/models/token.rb +1 -1
- data/lib/osdn-client/models/user.rb +38 -18
- data/lib/osdn-client/models/user_images.rb +235 -0
- data/lib/osdn-client/models/user_stats.rb +424 -0
- data/lib/osdn-client/version.rb +2 -2
- data/osdn-client.gemspec +1 -1
- data/spec/api/default_api_spec.rb +1 -1
- data/spec/api/project_api_spec.rb +899 -3
- data/spec/api/project_frs_api_spec.rb +28 -3
- data/spec/api/project_news_api_spec.rb +1 -1
- data/spec/api/project_scm_api_spec.rb +324 -0
- data/spec/api/project_ticket_api_spec.rb +488 -0
- data/spec/api/user_api_spec.rb +63 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/frs_admin_prefs_spec.rb +59 -0
- data/spec/models/group_profile_per_language_spec.rb +65 -0
- data/spec/models/group_profile_spec.rb +65 -0
- data/spec/models/group_spec.rb +2 -14
- data/spec/models/group_tool_flags_spec.rb +3 -9
- data/spec/models/history_spec.rb +95 -0
- data/spec/models/i18_n_text_spec.rb +59 -0
- data/spec/models/news_spec.rb +1 -1
- data/spec/models/package_spec.rb +1 -1
- data/spec/models/pong_spec.rb +1 -1
- data/spec/models/project_bzr_spec.rb +137 -0
- data/spec/models/project_git_spec.rb +167 -0
- data/spec/models/project_hg_spec.rb +137 -0
- data/spec/models/project_scm_last_commit_spec.rb +71 -0
- data/spec/models/project_scm_spec.rb +137 -0
- data/spec/models/project_svn_spec.rb +155 -0
- data/spec/models/project_ticket_comment_spec.rb +83 -0
- data/spec/models/project_ticket_component_spec.rb +89 -0
- data/spec/models/project_ticket_component_summary_spec.rb +65 -0
- data/spec/models/project_ticket_component_summary_summarized_by_spec.rb +77 -0
- data/spec/models/project_ticket_history_spec.rb +89 -0
- data/spec/models/project_ticket_item_spec.rb +155 -0
- data/spec/models/project_ticket_milestone_spec.rb +89 -0
- data/spec/models/project_ticket_milestone_summary_spec.rb +65 -0
- data/spec/models/project_ticket_milestone_summary_summarized_by_spec.rb +77 -0
- data/spec/models/project_ticket_prefs_spec.rb +83 -0
- data/spec/models/project_ticket_type_instruction_per_language_spec.rb +59 -0
- data/spec/models/project_ticket_type_instructions_spec.rb +59 -0
- data/spec/models/project_ticket_type_spec.rb +95 -0
- data/spec/models/project_ticket_type_summary_spec.rb +65 -0
- data/spec/models/project_ticket_type_summary_summarized_by_spec.rb +77 -0
- data/spec/models/project_web_spec.rb +53 -0
- data/spec/models/rel_file_spec.rb +1 -1
- data/spec/models/release_spec.rb +1 -1
- data/spec/models/scm_hook_spec.rb +113 -0
- data/spec/models/simple_chamber_spec.rb +1 -1
- data/spec/models/simple_group_spec.rb +1 -1
- data/spec/models/simple_user_spec.rb +1 -1
- data/spec/models/skill_spec.rb +1 -1
- data/spec/models/summariad_by_component_inner_spec.rb +65 -0
- data/spec/models/summariad_by_component_spec.rb +47 -0
- data/spec/models/summariad_by_milestone_inner_spec.rb +65 -0
- data/spec/models/summariad_by_milestone_spec.rb +47 -0
- data/spec/models/summariad_by_owner_inner_spec.rb +65 -0
- data/spec/models/summariad_by_owner_spec.rb +47 -0
- data/spec/models/summariad_by_priority_inner_spec.rb +65 -0
- data/spec/models/summariad_by_priority_spec.rb +47 -0
- data/spec/models/summariad_by_severity_inner_spec.rb +65 -0
- data/spec/models/summariad_by_severity_spec.rb +47 -0
- data/spec/models/summariad_by_type_inner_spec.rb +65 -0
- data/spec/models/summariad_by_type_spec.rb +47 -0
- data/spec/models/token_spec.rb +1 -1
- data/spec/models/user_images_spec.rb +77 -0
- data/spec/models/user_spec.rb +16 -4
- data/spec/models/user_stats_spec.rb +203 -0
- data/spec/spec_helper.rb +1 -1
- metadata +179 -3
data/spec/api/user_api_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.0.
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
7
|
Contact: admin@osdn.net
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -55,4 +55,66 @@ describe 'UserApi' do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
+
# unit tests for get_user_history
|
59
|
+
#
|
60
|
+
# get user monthly stats.
|
61
|
+
# @param id_or_name numeric user id or user name
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @return [Array<History>]
|
64
|
+
describe 'get_user_history test' do
|
65
|
+
it "should work" do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# unit tests for get_user_stats_daily
|
71
|
+
#
|
72
|
+
# get user daily stats.
|
73
|
+
# @param id_or_name numeric user id or user name
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @return [Array<UserStats>]
|
76
|
+
describe 'get_user_stats_daily test' do
|
77
|
+
it "should work" do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for get_user_stats_monthly
|
83
|
+
#
|
84
|
+
# get user monthly stats.
|
85
|
+
# @param id_or_name numeric user id or user name
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @return [Array<UserStats>]
|
88
|
+
describe 'get_user_stats_monthly test' do
|
89
|
+
it "should work" do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for update_user_icon
|
95
|
+
#
|
96
|
+
# Update user icon, the image will be resized to 12x12 automatically.
|
97
|
+
# @param id_or_name numeric user id or user name
|
98
|
+
# @param image The image data to update, you need to send with multipart/form-data.
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [nil]
|
101
|
+
describe 'update_user_icon test' do
|
102
|
+
it "should work" do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for update_user_photo
|
108
|
+
#
|
109
|
+
# Update user profile photo.
|
110
|
+
# @param id_or_name numeric user id or user name
|
111
|
+
# @param image The image data to update, you need to send with multipart/form-data.
|
112
|
+
# @param [Hash] opts the optional parameters
|
113
|
+
# @return [nil]
|
114
|
+
describe 'update_user_photo test' do
|
115
|
+
it "should work" do
|
116
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
58
120
|
end
|
data/spec/api_client_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.0.
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
7
|
Contact: admin@osdn.net
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.0.
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
7
|
Contact: admin@osdn.net
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#OSDN REST API v0 beta
|
3
|
+
|
4
|
+
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
|
+
Contact: admin@osdn.net
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
you may not use this file except in compliance with the License.
|
12
|
+
You may obtain a copy of the License at
|
13
|
+
|
14
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
|
16
|
+
Unless required by applicable law or agreed to in writing, software
|
17
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
See the License for the specific language governing permissions and
|
20
|
+
limitations under the License.
|
21
|
+
|
22
|
+
=end
|
23
|
+
|
24
|
+
require 'spec_helper'
|
25
|
+
require 'json'
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
# Unit tests for OSDNClient::FrsAdminPrefs
|
29
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
30
|
+
# Please update as you see appropriate
|
31
|
+
describe 'FrsAdminPrefs' do
|
32
|
+
before do
|
33
|
+
# run before each test
|
34
|
+
@instance = OSDNClient::FrsAdminPrefs.new
|
35
|
+
end
|
36
|
+
|
37
|
+
after do
|
38
|
+
# run after each test
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test an instance of FrsAdminPrefs' do
|
42
|
+
it 'should create an instact of FrsAdminPrefs' do
|
43
|
+
expect(@instance).to be_instance_of(OSDNClient::FrsAdminPrefs)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
describe 'test attribute "group_id"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "allow_overwrite"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
59
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#OSDN REST API v0 beta
|
3
|
+
|
4
|
+
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
|
+
Contact: admin@osdn.net
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
you may not use this file except in compliance with the License.
|
12
|
+
You may obtain a copy of the License at
|
13
|
+
|
14
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
|
16
|
+
Unless required by applicable law or agreed to in writing, software
|
17
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
See the License for the specific language governing permissions and
|
20
|
+
limitations under the License.
|
21
|
+
|
22
|
+
=end
|
23
|
+
|
24
|
+
require 'spec_helper'
|
25
|
+
require 'json'
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
# Unit tests for OSDNClient::GroupProfilePerLanguage
|
29
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
30
|
+
# Please update as you see appropriate
|
31
|
+
describe 'GroupProfilePerLanguage' do
|
32
|
+
before do
|
33
|
+
# run before each test
|
34
|
+
@instance = OSDNClient::GroupProfilePerLanguage.new
|
35
|
+
end
|
36
|
+
|
37
|
+
after do
|
38
|
+
# run after each test
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test an instance of GroupProfilePerLanguage' do
|
42
|
+
it 'should create an instact of GroupProfilePerLanguage' do
|
43
|
+
expect(@instance).to be_instance_of(OSDNClient::GroupProfilePerLanguage)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
describe 'test attribute "display_name"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "description"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "description_html"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#OSDN REST API v0 beta
|
3
|
+
|
4
|
+
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
|
+
Contact: admin@osdn.net
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
you may not use this file except in compliance with the License.
|
12
|
+
You may obtain a copy of the License at
|
13
|
+
|
14
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
|
16
|
+
Unless required by applicable law or agreed to in writing, software
|
17
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
See the License for the specific language governing permissions and
|
20
|
+
limitations under the License.
|
21
|
+
|
22
|
+
=end
|
23
|
+
|
24
|
+
require 'spec_helper'
|
25
|
+
require 'json'
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
# Unit tests for OSDNClient::GroupProfile
|
29
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
30
|
+
# Please update as you see appropriate
|
31
|
+
describe 'GroupProfile' do
|
32
|
+
before do
|
33
|
+
# run before each test
|
34
|
+
@instance = OSDNClient::GroupProfile.new
|
35
|
+
end
|
36
|
+
|
37
|
+
after do
|
38
|
+
# run after each test
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test an instance of GroupProfile' do
|
42
|
+
it 'should create an instact of GroupProfile' do
|
43
|
+
expect(@instance).to be_instance_of(OSDNClient::GroupProfile)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
describe 'test attribute "display_name"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "description"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "description_html"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
data/spec/models/group_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.0.
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
7
|
Contact: admin@osdn.net
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -55,7 +55,7 @@ describe 'Group' do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe 'test attribute "
|
58
|
+
describe 'test attribute "profile"' do
|
59
59
|
it 'should work' do
|
60
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
61
|
end
|
@@ -67,18 +67,6 @@ describe 'Group' do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
describe 'test attribute "description"' do
|
71
|
-
it 'should work' do
|
72
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
|
-
describe 'test attribute "description_html"' do
|
77
|
-
it 'should work' do
|
78
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
70
|
describe 'test attribute "start_date"' do
|
83
71
|
it 'should work' do
|
84
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.0.
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
7
|
Contact: admin@osdn.net
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -43,12 +43,6 @@ describe 'GroupToolFlags' do
|
|
43
43
|
expect(@instance).to be_instance_of(OSDNClient::GroupToolFlags)
|
44
44
|
end
|
45
45
|
end
|
46
|
-
describe 'test attribute "cvs"' do
|
47
|
-
it 'should work' do
|
48
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
46
|
describe 'test attribute "git"' do
|
53
47
|
it 'should work' do
|
54
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -61,13 +55,13 @@ describe 'GroupToolFlags' do
|
|
61
55
|
end
|
62
56
|
end
|
63
57
|
|
64
|
-
describe 'test attribute "
|
58
|
+
describe 'test attribute "hg"' do
|
65
59
|
it 'should work' do
|
66
60
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
61
|
end
|
68
62
|
end
|
69
63
|
|
70
|
-
describe 'test attribute "
|
64
|
+
describe 'test attribute "bzr"' do
|
71
65
|
it 'should work' do
|
72
66
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
67
|
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
=begin
|
2
|
+
#OSDN REST API v0 beta
|
3
|
+
|
4
|
+
#OSDN REST API. Currently this API is experimental release. Pelase refer documentation on https://osdn.net/projects/osdn-codes/wiki/APIGuide and you can get client libraries from https://osdn.net/projects/osdn-codes/releases/p14859 .
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.20171120
|
7
|
+
Contact: admin@osdn.net
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
you may not use this file except in compliance with the License.
|
12
|
+
You may obtain a copy of the License at
|
13
|
+
|
14
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
|
16
|
+
Unless required by applicable law or agreed to in writing, software
|
17
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
See the License for the specific language governing permissions and
|
20
|
+
limitations under the License.
|
21
|
+
|
22
|
+
=end
|
23
|
+
|
24
|
+
require 'spec_helper'
|
25
|
+
require 'json'
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
# Unit tests for OSDNClient::History
|
29
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
30
|
+
# Please update as you see appropriate
|
31
|
+
describe 'History' do
|
32
|
+
before do
|
33
|
+
# run before each test
|
34
|
+
@instance = OSDNClient::History.new
|
35
|
+
end
|
36
|
+
|
37
|
+
after do
|
38
|
+
# run after each test
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test an instance of History' do
|
42
|
+
it 'should create an instact of History' do
|
43
|
+
expect(@instance).to be_instance_of(OSDNClient::History)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
describe 'test attribute "time"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "category"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "group_id"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "chamber_id"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "user_id"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "subject"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "body"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "link"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
95
|
+
|