swaggy_jenkins 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +80 -13
- data/README.md +6 -6
- data/bin/byebug +0 -11
- data/bin/coderay +0 -11
- data/bin/htmldiff +0 -11
- data/bin/ldiff +0 -11
- data/bin/pry +0 -11
- data/bin/racc +0 -11
- data/bin/rake +0 -11
- data/bin/rspec +0 -11
- data/bin/rubocop +0 -11
- data/bin/ruby-parse +0 -11
- data/bin/ruby-rewrite +0 -11
- data/docs/PipelineImpllinks.md +4 -4
- data/lib/swaggy_jenkins/api/base_api.rb +2 -2
- data/lib/swaggy_jenkins/api/blue_ocean_api.rb +2 -2
- data/lib/swaggy_jenkins/api/remote_access_api.rb +2 -2
- data/lib/swaggy_jenkins/api_client.rb +8 -4
- data/lib/swaggy_jenkins/api_error.rb +2 -2
- data/lib/swaggy_jenkins/api_model_base.rb +88 -0
- data/lib/swaggy_jenkins/configuration.rb +2 -2
- data/lib/swaggy_jenkins/models/all_view.rb +3 -76
- data/lib/swaggy_jenkins/models/branch_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/branch_impllinks.rb +3 -76
- data/lib/swaggy_jenkins/models/branch_implpermissions.rb +3 -76
- data/lib/swaggy_jenkins/models/cause_action.rb +3 -76
- data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +3 -76
- data/lib/swaggy_jenkins/models/classes_by_class.rb +3 -76
- data/lib/swaggy_jenkins/models/clock_difference.rb +3 -76
- data/lib/swaggy_jenkins/models/computer_set.rb +3 -76
- data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +3 -76
- data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +3 -76
- data/lib/swaggy_jenkins/models/empty_change_log_set.rb +3 -76
- data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +3 -76
- data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +3 -76
- data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +3 -76
- data/lib/swaggy_jenkins/models/extension_class_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +3 -76
- data/lib/swaggy_jenkins/models/favorite_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/favorite_impllinks.rb +3 -76
- data/lib/swaggy_jenkins/models/free_style_build.rb +3 -76
- data/lib/swaggy_jenkins/models/free_style_project.rb +3 -76
- data/lib/swaggy_jenkins/models/free_style_projectactions.rb +3 -76
- data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +3 -76
- data/lib/swaggy_jenkins/models/generic_resource.rb +3 -76
- data/lib/swaggy_jenkins/models/github_content.rb +3 -76
- data/lib/swaggy_jenkins/models/github_file.rb +3 -76
- data/lib/swaggy_jenkins/models/github_organization.rb +3 -76
- data/lib/swaggy_jenkins/models/github_organizationlinks.rb +3 -76
- data/lib/swaggy_jenkins/models/github_repositories.rb +3 -76
- data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +3 -76
- data/lib/swaggy_jenkins/models/github_repository.rb +3 -76
- data/lib/swaggy_jenkins/models/github_repositorylinks.rb +3 -76
- data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +3 -76
- data/lib/swaggy_jenkins/models/github_respository_container.rb +3 -76
- data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +3 -76
- data/lib/swaggy_jenkins/models/github_scm.rb +3 -76
- data/lib/swaggy_jenkins/models/github_scmlinks.rb +3 -76
- data/lib/swaggy_jenkins/models/hudson.rb +3 -76
- data/lib/swaggy_jenkins/models/hudson_master_computer.rb +3 -76
- data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +3 -76
- data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +3 -76
- data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +3 -76
- data/lib/swaggy_jenkins/models/input_step_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/input_step_impllinks.rb +3 -76
- data/lib/swaggy_jenkins/models/label1.rb +3 -76
- data/lib/swaggy_jenkins/models/link.rb +3 -76
- data/lib/swaggy_jenkins/models/list_view.rb +3 -76
- data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +3 -76
- data/lib/swaggy_jenkins/models/null_scm.rb +3 -76
- data/lib/swaggy_jenkins/models/organisation.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_activity.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +22 -95
- data/lib/swaggy_jenkins/models/pipeline_run.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_run_node.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +3 -76
- data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +3 -76
- data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +3 -76
- data/lib/swaggy_jenkins/models/queue.rb +3 -76
- data/lib/swaggy_jenkins/models/queue_blocked_item.rb +3 -76
- data/lib/swaggy_jenkins/models/queue_item_impl.rb +3 -76
- data/lib/swaggy_jenkins/models/queue_left_item.rb +3 -76
- data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +3 -76
- data/lib/swaggy_jenkins/models/string_parameter_definition.rb +3 -76
- data/lib/swaggy_jenkins/models/string_parameter_value.rb +3 -76
- data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +3 -76
- data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +3 -76
- data/lib/swaggy_jenkins/models/user.rb +3 -76
- data/lib/swaggy_jenkins/version.rb +3 -3
- data/lib/swaggy_jenkins.rb +3 -2
- data/spec/api/base_api_spec.rb +2 -2
- data/spec/api/blue_ocean_api_spec.rb +2 -2
- data/spec/api/remote_access_api_spec.rb +2 -2
- data/spec/models/all_view_spec.rb +3 -3
- data/spec/models/branch_impl_spec.rb +3 -3
- data/spec/models/branch_impllinks_spec.rb +3 -3
- data/spec/models/branch_implpermissions_spec.rb +3 -3
- data/spec/models/cause_action_spec.rb +3 -3
- data/spec/models/cause_user_id_cause_spec.rb +3 -3
- data/spec/models/classes_by_class_spec.rb +3 -3
- data/spec/models/clock_difference_spec.rb +3 -3
- data/spec/models/computer_set_spec.rb +3 -3
- data/spec/models/default_crumb_issuer_spec.rb +3 -3
- data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +3 -3
- data/spec/models/empty_change_log_set_spec.rb +3 -3
- data/spec/models/extension_class_container_impl1_spec.rb +3 -3
- data/spec/models/extension_class_container_impl1links_spec.rb +3 -3
- data/spec/models/extension_class_container_impl1map_spec.rb +3 -3
- data/spec/models/extension_class_impl_spec.rb +3 -3
- data/spec/models/extension_class_impllinks_spec.rb +3 -3
- data/spec/models/favorite_impl_spec.rb +3 -3
- data/spec/models/favorite_impllinks_spec.rb +3 -3
- data/spec/models/free_style_build_spec.rb +3 -3
- data/spec/models/free_style_project_spec.rb +3 -3
- data/spec/models/free_style_projectactions_spec.rb +3 -3
- data/spec/models/free_style_projecthealth_report_spec.rb +3 -3
- data/spec/models/generic_resource_spec.rb +3 -3
- data/spec/models/github_content_spec.rb +3 -3
- data/spec/models/github_file_spec.rb +3 -3
- data/spec/models/github_organization_spec.rb +3 -3
- data/spec/models/github_organizationlinks_spec.rb +3 -3
- data/spec/models/github_repositories_spec.rb +3 -3
- data/spec/models/github_repositorieslinks_spec.rb +3 -3
- data/spec/models/github_repository_spec.rb +3 -3
- data/spec/models/github_repositorylinks_spec.rb +3 -3
- data/spec/models/github_repositorypermissions_spec.rb +3 -3
- data/spec/models/github_respository_container_spec.rb +3 -3
- data/spec/models/github_respository_containerlinks_spec.rb +3 -3
- data/spec/models/github_scm_spec.rb +3 -3
- data/spec/models/github_scmlinks_spec.rb +3 -3
- data/spec/models/hudson_master_computer_spec.rb +3 -3
- data/spec/models/hudson_master_computerexecutors_spec.rb +3 -3
- data/spec/models/hudson_master_computermonitor_data_spec.rb +3 -3
- data/spec/models/hudson_spec.rb +3 -3
- data/spec/models/hudsonassigned_labels_spec.rb +3 -3
- data/spec/models/input_step_impl_spec.rb +3 -3
- data/spec/models/input_step_impllinks_spec.rb +3 -3
- data/spec/models/label1_spec.rb +3 -3
- data/spec/models/link_spec.rb +3 -3
- data/spec/models/list_view_spec.rb +3 -3
- data/spec/models/multibranch_pipeline_spec.rb +3 -3
- data/spec/models/null_scm_spec.rb +3 -3
- data/spec/models/organisation_spec.rb +3 -3
- data/spec/models/pipeline_activity_spec.rb +3 -3
- data/spec/models/pipeline_activityartifacts_spec.rb +3 -3
- data/spec/models/pipeline_branchesitem_spec.rb +3 -3
- data/spec/models/pipeline_branchesitemlatest_run_spec.rb +3 -3
- data/spec/models/pipeline_branchesitempull_request_spec.rb +3 -3
- data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +3 -3
- data/spec/models/pipeline_folder_impl_spec.rb +3 -3
- data/spec/models/pipeline_impl_spec.rb +3 -3
- data/spec/models/pipeline_impllinks_spec.rb +7 -7
- data/spec/models/pipeline_run_impl_spec.rb +3 -3
- data/spec/models/pipeline_run_impllinks_spec.rb +3 -3
- data/spec/models/pipeline_run_node_spec.rb +3 -3
- data/spec/models/pipeline_run_nodeedges_spec.rb +3 -3
- data/spec/models/pipeline_run_spec.rb +3 -3
- data/spec/models/pipeline_runartifacts_spec.rb +3 -3
- data/spec/models/pipeline_spec.rb +3 -3
- data/spec/models/pipeline_step_impl_spec.rb +3 -3
- data/spec/models/pipeline_step_impllinks_spec.rb +3 -3
- data/spec/models/pipelinelatest_run_spec.rb +3 -3
- data/spec/models/pipelinelatest_runartifacts_spec.rb +3 -3
- data/spec/models/queue_blocked_item_spec.rb +3 -3
- data/spec/models/queue_item_impl_spec.rb +3 -3
- data/spec/models/queue_left_item_spec.rb +3 -3
- data/spec/models/queue_spec.rb +3 -3
- data/spec/models/response_time_monitor_data_spec.rb +3 -3
- data/spec/models/string_parameter_definition_spec.rb +3 -3
- data/spec/models/string_parameter_value_spec.rb +3 -3
- data/spec/models/swap_space_monitor_memory_usage2_spec.rb +3 -3
- data/spec/models/unlabeled_load_statistics_spec.rb +3 -3
- data/spec/models/user_spec.rb +3 -3
- data/spec/spec_helper.rb +2 -2
- data/swaggy_jenkins.gemspec +2 -2
- metadata +3 -3
- data/bin/bundle +0 -109
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9250daa6623b4c2d7542a5c7f34027887639117c82bd5c5dda781b16995ce166
|
|
4
|
+
data.tar.gz: 3d1fd5875fcc00f7dd50904d7a5add922a073caf34ff4bc56b6400d9751c75ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 535093889cd091e3072409c7c87f475f99bcff062c63337d2be7a2ae5ec7047dfebb0a96414f7358077b8b32ab47d1fa66b1139fcb817fea5c0b08d8cf6a9efe
|
|
7
|
+
data.tar.gz: bc522464e3b18742a83ff801fd9e8ea07ee99b72a4092e87f9884e3dc7f6568bec821d6293cda9a08a36dbcaa63ccc0f848f24863fd81f1aa0c8cf827ed9a5ec
|
data/Gemfile.lock
CHANGED
|
@@ -1,38 +1,53 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
swaggy_jenkins (3.
|
|
4
|
+
swaggy_jenkins (3.3.0)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
ast (2.4.3)
|
|
11
|
-
byebug (
|
|
11
|
+
byebug (13.0.0)
|
|
12
|
+
reline (>= 0.6.0)
|
|
12
13
|
coderay (1.1.3)
|
|
13
|
-
date (3.5.
|
|
14
|
+
date (3.5.1)
|
|
14
15
|
diff-lcs (1.6.2)
|
|
15
16
|
ethon (0.15.0)
|
|
16
17
|
ffi (>= 1.15.0)
|
|
17
|
-
ffi (1.17.
|
|
18
|
+
ffi (1.17.3)
|
|
19
|
+
ffi (1.17.3-aarch64-linux-gnu)
|
|
20
|
+
ffi (1.17.3-aarch64-linux-musl)
|
|
21
|
+
ffi (1.17.3-arm-linux-gnu)
|
|
22
|
+
ffi (1.17.3-arm-linux-musl)
|
|
23
|
+
ffi (1.17.3-arm64-darwin)
|
|
24
|
+
ffi (1.17.3-x86-linux-gnu)
|
|
25
|
+
ffi (1.17.3-x86-linux-musl)
|
|
26
|
+
ffi (1.17.3-x86_64-darwin)
|
|
27
|
+
ffi (1.17.3-x86_64-linux-gnu)
|
|
28
|
+
ffi (1.17.3-x86_64-linux-musl)
|
|
29
|
+
io-console (0.8.2)
|
|
18
30
|
jaro_winkler (1.5.6)
|
|
19
31
|
method_source (1.1.0)
|
|
20
32
|
parallel (1.27.0)
|
|
21
|
-
parser (3.3.10.
|
|
33
|
+
parser (3.3.10.1)
|
|
22
34
|
ast (~> 2.4.1)
|
|
23
35
|
racc
|
|
24
|
-
pry (0.
|
|
36
|
+
pry (0.16.0)
|
|
25
37
|
coderay (~> 1.1)
|
|
26
38
|
method_source (~> 1.0)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
39
|
+
reline (>= 0.6.0)
|
|
40
|
+
pry-byebug (3.12.0)
|
|
41
|
+
byebug (~> 13.0)
|
|
42
|
+
pry (>= 0.13, < 0.17)
|
|
43
|
+
psych (5.3.1)
|
|
31
44
|
date
|
|
32
45
|
stringio
|
|
33
46
|
racc (1.8.1)
|
|
34
47
|
rainbow (3.1.1)
|
|
35
48
|
rake (13.0.6)
|
|
49
|
+
reline (0.6.3)
|
|
50
|
+
io-console (~> 0.5)
|
|
36
51
|
rspec (3.13.2)
|
|
37
52
|
rspec-core (~> 3.13.0)
|
|
38
53
|
rspec-expectations (~> 3.13.0)
|
|
@@ -45,7 +60,7 @@ GEM
|
|
|
45
60
|
rspec-mocks (3.13.7)
|
|
46
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
62
|
rspec-support (~> 3.13.0)
|
|
48
|
-
rspec-support (3.13.
|
|
63
|
+
rspec-support (3.13.7)
|
|
49
64
|
rubocop (0.66.0)
|
|
50
65
|
jaro_winkler (~> 1.5.1)
|
|
51
66
|
parallel (~> 1.10)
|
|
@@ -55,13 +70,23 @@ GEM
|
|
|
55
70
|
ruby-progressbar (~> 1.7)
|
|
56
71
|
unicode-display_width (>= 1.4.0, < 1.6)
|
|
57
72
|
ruby-progressbar (1.13.0)
|
|
58
|
-
stringio (3.
|
|
73
|
+
stringio (3.2.0)
|
|
59
74
|
typhoeus (1.5.0)
|
|
60
75
|
ethon (>= 0.9.0, < 0.16.0)
|
|
61
76
|
unicode-display_width (1.5.0)
|
|
62
77
|
|
|
63
78
|
PLATFORMS
|
|
79
|
+
aarch64-linux-gnu
|
|
80
|
+
aarch64-linux-musl
|
|
81
|
+
arm-linux-gnu
|
|
82
|
+
arm-linux-musl
|
|
83
|
+
arm64-darwin
|
|
84
|
+
ruby
|
|
85
|
+
x86-linux-gnu
|
|
86
|
+
x86-linux-musl
|
|
87
|
+
x86_64-darwin
|
|
64
88
|
x86_64-linux-gnu
|
|
89
|
+
x86_64-linux-musl
|
|
65
90
|
|
|
66
91
|
DEPENDENCIES
|
|
67
92
|
pry-byebug
|
|
@@ -70,5 +95,47 @@ DEPENDENCIES
|
|
|
70
95
|
rubocop (~> 0.66.0)
|
|
71
96
|
swaggy_jenkins!
|
|
72
97
|
|
|
98
|
+
CHECKSUMS
|
|
99
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
100
|
+
byebug (13.0.0) sha256=d2263efe751941ca520fa29744b71972d39cbc41839496706f5d9b22e92ae05d
|
|
101
|
+
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
|
102
|
+
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
103
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
104
|
+
ethon (0.15.0) sha256=0809805a035bc10f54162ca99f15ded49e428e0488bcfe1c08c821e18261a74d
|
|
105
|
+
ffi (1.17.3) sha256=0e9f39f7bb3934f77ad6feab49662be77e87eedcdeb2a3f5c0234c2938563d4c
|
|
106
|
+
ffi (1.17.3-aarch64-linux-gnu) sha256=28ad573df26560f0aedd8a90c3371279a0b2bd0b4e834b16a2baa10bd7a97068
|
|
107
|
+
ffi (1.17.3-aarch64-linux-musl) sha256=020b33b76775b1abacc3b7d86b287cef3251f66d747092deec592c7f5df764b2
|
|
108
|
+
ffi (1.17.3-arm-linux-gnu) sha256=5bd4cea83b68b5ec0037f99c57d5ce2dd5aa438f35decc5ef68a7d085c785668
|
|
109
|
+
ffi (1.17.3-arm-linux-musl) sha256=0d7626bb96265f9af78afa33e267d71cfef9d9a8eb8f5525344f8da6c7d76053
|
|
110
|
+
ffi (1.17.3-arm64-darwin) sha256=0c690555d4cee17a7f07c04d59df39b2fba74ec440b19da1f685c6579bb0717f
|
|
111
|
+
ffi (1.17.3-x86-linux-gnu) sha256=868a88fcaf5186c3a46b7c7c2b2c34550e1e61a405670ab23f5b6c9971529089
|
|
112
|
+
ffi (1.17.3-x86-linux-musl) sha256=f0286aa6ef40605cf586e61406c446de34397b85dbb08cc99fdaddaef8343945
|
|
113
|
+
ffi (1.17.3-x86_64-darwin) sha256=1f211811eb5cfaa25998322cdd92ab104bfbd26d1c4c08471599c511f2c00bb5
|
|
114
|
+
ffi (1.17.3-x86_64-linux-gnu) sha256=3746b01f677aae7b16dc1acb7cb3cc17b3e35bdae7676a3f568153fb0e2c887f
|
|
115
|
+
ffi (1.17.3-x86_64-linux-musl) sha256=086b221c3a68320b7564066f46fed23449a44f7a1935f1fe5a245bd89d9aea56
|
|
116
|
+
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
117
|
+
jaro_winkler (1.5.6) sha256=007db7805527ada1cc12f2547676181d63b0a504ec4dd7a9a2eb2424521ccd81
|
|
118
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
|
119
|
+
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
|
|
120
|
+
parser (3.3.10.1) sha256=06f6a725d2cd91e5e7f2b7c32ba143631e1f7c8ae2fb918fc4cebec187e6a688
|
|
121
|
+
pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
|
|
122
|
+
pry-byebug (3.12.0) sha256=594e094ae8a8390a7ad4c7b36ae36e13304ed02664c67417d108dc5f7213d1b7
|
|
123
|
+
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
124
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
125
|
+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
126
|
+
rake (13.0.6) sha256=5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097
|
|
127
|
+
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
128
|
+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
129
|
+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
130
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
131
|
+
rspec-mocks (3.13.7) sha256=0979034e64b1d7a838aaaddf12bf065ea4dc40ef3d4c39f01f93ae2c66c62b1c
|
|
132
|
+
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
133
|
+
rubocop (0.66.0) sha256=f05a6896f367765b3f0fba663d0add120444f8de604dada405662b10a0860f5a
|
|
134
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
135
|
+
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
136
|
+
swaggy_jenkins (3.3.0)
|
|
137
|
+
typhoeus (1.5.0) sha256=120b67ed1ef515e6c0e938176db880f15b0916f038e78ce2a66290f3f1de3e3b
|
|
138
|
+
unicode-display_width (1.5.0) sha256=9890eebd24feb4cb0e0542c9b8c6beecb40cda27be8c7afe49312625b36156eb
|
|
139
|
+
|
|
73
140
|
BUNDLED WITH
|
|
74
|
-
|
|
141
|
+
4.0.5
|
data/README.md
CHANGED
|
@@ -6,9 +6,9 @@ Jenkins API clients generated from Swagger / Open API specification
|
|
|
6
6
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
|
-
- API version: 3.
|
|
10
|
-
- Package version: 3.
|
|
11
|
-
- Generator version: 7.
|
|
9
|
+
- API version: 3.3.0
|
|
10
|
+
- Package version: 3.3.0
|
|
11
|
+
- Generator version: 7.18.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://github.com/oapicf/swaggy-jenkins](https://github.com/oapicf/swaggy-jenkins)
|
|
14
14
|
|
|
@@ -25,16 +25,16 @@ gem build swaggy_jenkins.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./swaggy_jenkins-3.
|
|
28
|
+
gem install ./swaggy_jenkins-3.3.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./swaggy_jenkins-3.
|
|
31
|
+
(for development, run `gem install --dev ./swaggy_jenkins-3.3.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'swaggy_jenkins', '~> 3.
|
|
37
|
+
gem 'swaggy_jenkins', '~> 3.3.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/bin/byebug
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/coderay
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/htmldiff
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/ldiff
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/pry
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/racc
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/rake
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/rspec
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/rubocop
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/ruby-parse
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/ruby-rewrite
CHANGED
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
12
|
|
|
13
|
-
bundle_binstub = File.expand_path("bundle", __dir__)
|
|
14
|
-
|
|
15
|
-
if File.file?(bundle_binstub)
|
|
16
|
-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
|
17
|
-
load(bundle_binstub)
|
|
18
|
-
else
|
|
19
|
-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/docs/PipelineImpllinks.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **runs** | [**Link**](Link.md) | | [optional] |
|
|
8
7
|
| **_self** | [**Link**](Link.md) | | [optional] |
|
|
9
|
-
| **queue** | [**Link**](Link.md) | | [optional] |
|
|
10
8
|
| **actions** | [**Link**](Link.md) | | [optional] |
|
|
9
|
+
| **runs** | [**Link**](Link.md) | | [optional] |
|
|
10
|
+
| **queue** | [**Link**](Link.md) | | [optional] |
|
|
11
11
|
| **_class** | **String** | | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
require 'swaggy_jenkins'
|
|
17
17
|
|
|
18
18
|
instance = SwaggyJenkinsClient::PipelineImpllinks.new(
|
|
19
|
-
runs: null,
|
|
20
19
|
_self: null,
|
|
21
|
-
queue: null,
|
|
22
20
|
actions: null,
|
|
21
|
+
runs: null,
|
|
22
|
+
queue: null,
|
|
23
23
|
_class: null
|
|
24
24
|
)
|
|
25
25
|
```
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -278,9 +278,13 @@ module SwaggyJenkinsClient
|
|
|
278
278
|
data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
|
|
279
279
|
end
|
|
280
280
|
else
|
|
281
|
-
# models (e.g. Pet) or oneOf
|
|
281
|
+
# models (e.g. Pet) or oneOf/anyOf
|
|
282
282
|
klass = SwaggyJenkinsClient.const_get(return_type)
|
|
283
|
-
klass.respond_to?(:openapi_one_of)
|
|
283
|
+
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of)
|
|
284
|
+
klass.build(data)
|
|
285
|
+
else
|
|
286
|
+
klass.build_from_hash(data)
|
|
287
|
+
end
|
|
284
288
|
end
|
|
285
289
|
end
|
|
286
290
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Swaggy Jenkins
|
|
3
|
+
|
|
4
|
+
#Jenkins API clients generated from Swagger / Open API specification
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
module SwaggyJenkinsClient
|
|
14
|
+
class ApiModelBase
|
|
15
|
+
# Deserializes the data based on type
|
|
16
|
+
# @param string type Data type
|
|
17
|
+
# @param string value Value to be deserialized
|
|
18
|
+
# @return [Object] Deserialized data
|
|
19
|
+
def self._deserialize(type, value)
|
|
20
|
+
case type.to_sym
|
|
21
|
+
when :Time
|
|
22
|
+
Time.parse(value)
|
|
23
|
+
when :Date
|
|
24
|
+
Date.parse(value)
|
|
25
|
+
when :String
|
|
26
|
+
value.to_s
|
|
27
|
+
when :Integer
|
|
28
|
+
value.to_i
|
|
29
|
+
when :Float
|
|
30
|
+
value.to_f
|
|
31
|
+
when :Boolean
|
|
32
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
33
|
+
true
|
|
34
|
+
else
|
|
35
|
+
false
|
|
36
|
+
end
|
|
37
|
+
when :Object
|
|
38
|
+
# generic object (usually a Hash), return directly
|
|
39
|
+
value
|
|
40
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
41
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
42
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
43
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
44
|
+
k_type = Regexp.last_match[:k_type]
|
|
45
|
+
v_type = Regexp.last_match[:v_type]
|
|
46
|
+
{}.tap do |hash|
|
|
47
|
+
value.each do |k, v|
|
|
48
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
else # model
|
|
52
|
+
# models (e.g. Pet) or oneOf
|
|
53
|
+
klass = SwaggyJenkinsClient.const_get(type)
|
|
54
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Returns the string representation of the object
|
|
59
|
+
# @return [String] String presentation of the object
|
|
60
|
+
def to_s
|
|
61
|
+
to_hash.to_s
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
65
|
+
# @return [Hash] Returns the object in the form of hash
|
|
66
|
+
def to_body
|
|
67
|
+
to_hash
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Outputs non-array value in the form of hash
|
|
71
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
72
|
+
# @param [Object] value Any valid value
|
|
73
|
+
# @return [Hash] Returns the value in the form of hash
|
|
74
|
+
def _to_hash(value)
|
|
75
|
+
if value.is_a?(Array)
|
|
76
|
+
value.compact.map { |v| _to_hash(v) }
|
|
77
|
+
elsif value.is_a?(Hash)
|
|
78
|
+
{}.tap do |hash|
|
|
79
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
80
|
+
end
|
|
81
|
+
elsif value.respond_to? :to_hash
|
|
82
|
+
value.to_hash
|
|
83
|
+
else
|
|
84
|
+
value
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 3.
|
|
6
|
+
The version of the OpenAPI document: 3.3.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|