docraptor 1.1.0 → 1.2.0beta1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YTA3YzEyMjlkN2Q2M2FlYzI2YjhkMWNiZWM3MTIxNTk1NmQ3YTI4OA==
5
- data.tar.gz: !binary |-
6
- NGUwYTQ0ZGE4YTY1MjhkYzkzYjM5MTdhNGM5ZDg0ZGQ1ODQ1YTNiNg==
2
+ SHA1:
3
+ metadata.gz: 3cf97ee7877dad96310beb32589fec0079d9b152
4
+ data.tar.gz: 7bb6b0b2cb3e6cb3fb16e8d1a0fb2de1861013b7
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YWQyN2Y0NjQ0N2IzMjJmMGRiYjY2MDk2NGZiOTA4MDU1NjRmZDZkYTViNzMx
10
- ZTAwNmVkMzdhODgyYTlhZjQ0ZWVmN2YwNGNiOWU3NTlhODEwZGJiM2M3YmM0
11
- MjFhNGVkYzQwYTE1Y2M4NjdjOWY3MjEyZjM3MDMxMmIwMjdhMmM=
12
- data.tar.gz: !binary |-
13
- ZTAxM2FhYjc4MTEwOThkZDE4ZTYxZjc0MmViMTBmNWMxYmU0ZTJkZDg5MGY4
14
- NzhhZGE2M2YxOTgyNjA0NWJiY2QyMGM0MzhmMTBiZjRhNjEwMmJiNGE0OGEz
15
- NjFkOWM5MDU3YzMzNWUxYTk1OGYzOThkOGFmYzZhMTcxMzNhMzI=
6
+ metadata.gz: ddbe34b56fa56e11618f11a7cb9bb092c51de3821a9a0c379211b070584b92a10f4f3949b3daa98fabef8a767ddb9a9f27812c9d766fdf2bb1d66e01a032a036
7
+ data.tar.gz: 23ac5c7c43f4916d204b3ff50243997ea5b23e35fdfbf94ee905c422f761aeb3b2ad43384917fed8ce43d26f77ba6230c66ddc50e78f2b88492ae2279ef70614
data/.gitignore CHANGED
@@ -1,5 +1,41 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ ## Specific to RubyMotion:
14
+ .dat*
15
+ .repl_history
16
+ build/
17
+
18
+ ## Documentation cache and generated files:
19
+ /.yardoc/
20
+ /_yardoc/
21
+ /doc/
22
+ /rdoc/
23
+
24
+ ## Environment normalization:
25
+ /.bundle/
26
+ /vendor/bundle
27
+ /lib/bundler/man/
28
+ Gemfile.lock
29
+ .ruby-version
30
+ .ruby-gemset
31
+ .rvmrc
32
+
33
+ ## Ignore dumb OSX files
1
34
  .DS_Store
2
35
  Thumbs.db
36
+
37
+ ## Ignore baked in swagger generator
3
38
  swagger-codegen
4
- /pkg
5
- Gemfile.lock
39
+
40
+ ## Ignore dumb emacs files
41
+ *~
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
@@ -0,0 +1,32 @@
1
+ # Swagger Codegen Ignore
2
+ # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md
24
+
25
+ # Can't Touch This. Dun-dun-dun-dun. Dun dun. Dun dun.
26
+ README.md
27
+ CHANGELOG.md
28
+ git_push.sh
29
+ docs/
30
+ .gitignore
31
+ LICENSE
32
+ Rakefile
@@ -0,0 +1 @@
1
+ 2.2.3
@@ -1 +1 @@
1
- 62fbcb9e8bec4a40569e51c7f316af85806628ee
1
+ v2.2.3
@@ -1,3 +1,6 @@
1
+ ### 1.2.0beta1 [August 9, 2017]
2
+ * Re-runnning against newer swagger version (v.2.2.3), bumping many gem dependencies to much newer versions. Applications using client *should not* be affected.
3
+
1
4
  ### 1.1.0 [November 3, 2016]
2
5
  * Added support for pipeline API parameter
3
6
 
data/Gemfile CHANGED
@@ -1,3 +1,7 @@
1
- source "https://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ end
data/LICENSE CHANGED
@@ -1,13 +1,7 @@
1
- Copyright (c) 2010- Expected Behavior, LLC (http://expectedbehavior.com)
1
+ Copyright © 2010-2017 Expected Behavior
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
4
 
7
- http://www.apache.org/licenses/LICENSE-2.0
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
6
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
7
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -23,9 +23,9 @@ bundle install
23
23
  See [examples](examples/) for runnable examples with file output, error handling, etc.
24
24
 
25
25
  ```ruby
26
- DocRaptor.configure do |dr|
27
- dr.username = "YOUR_API_KEY_HERE" # this key works for test documents
28
- # dr.debugging = true
26
+ DocRaptor.configure do |config|
27
+ config.username = "YOUR_API_KEY_HERE" # this key works for test documents
28
+ # config.debugging = true
29
29
  end
30
30
 
31
31
  $docraptor = DocRaptor::DocApi.new
@@ -76,7 +76,8 @@ The majority of the code in this repo is generated using swagger-codegen on [doc
76
76
  5. Update [CHANGELOG.md](CHANGELOG.md)
77
77
  6. Commit "Release version vX.Y.Z"
78
78
  7. `rake release`
79
- 8. Refresh documentation on docraptor.com
79
+ 8. Verify package release at https://rubygems.org/gems/docraptor
80
+ 9. Refresh documentation on docraptor.com
80
81
 
81
82
 
82
83
  ## Version Policy
data/Rakefile CHANGED
@@ -1,2 +1,11 @@
1
1
  require 'bundler/setup'
2
2
  require 'bundler/gem_tasks'
3
+
4
+ begin
5
+ require 'rspec/core/rake_task'
6
+
7
+ RSpec::Core::RakeTask.new(:spec)
8
+ task default: :spec
9
+ rescue LoadError
10
+ # no rspec available
11
+ end
@@ -1,4 +1,17 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ #
3
+ =begin
4
+ #DocRaptor v1
5
+
6
+ #A native client library for the DocRaptor HTML to PDF/XLS service.
7
+
8
+ OpenAPI spec version: 1.0.0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ Swagger Codegen version: 2.2.3
12
+
13
+ =end
14
+
2
15
  $:.push File.expand_path("../lib", __FILE__)
3
16
  require "docraptor/version"
4
17
 
@@ -6,28 +19,33 @@ Gem::Specification.new do |s|
6
19
  s.name = "docraptor"
7
20
  s.version = DocRaptor::VERSION
8
21
  s.platform = Gem::Platform::RUBY
9
- s.authors = ["Elijah Miller", "Matthew Gordon"]
10
- s.email = ["elijah@expectedbehavior.com", "matt@expectedbehavior.com"]
22
+ s.authors = ["Expected Behavior"]
23
+ s.email = ["support@docraptor.com"]
11
24
  s.homepage = "https://github.com/docraptor/docraptor-ruby"
12
- s.summary = %q{A wrapper for the DocRaptor HTML to PDF/XLS service.}
13
- s.description = %q{A native client library for the DocRaptor HTML to PDF/XLS service.}
14
- s.license = "Apache-2.0"
15
-
16
- s.add_runtime_dependency 'typhoeus', '~> 0.2', '>= 0.2.1'
17
- s.add_runtime_dependency 'json', '~> 1.4', '>= 1.4.6'
18
-
19
- s.add_development_dependency 'pry', '~> 0.10', '>= 0.10.3'
20
- s.add_development_dependency 'rake', '~> 10.4', '>= 10.4.2'
21
- s.add_development_dependency 'rspec', '~> 3.2', '>= 3.2.0'
22
- s.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.3'
23
- s.add_development_dependency 'webmock', '~> 1.6', '>= 1.6.2'
25
+ s.summary = "A wrapper for the DocRaptor HTML to PDF/XLS service."
26
+ s.description = "A native client library for the DocRaptor HTML to PDF/XLS service."
27
+ s.license = "MIT"
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
24
36
  s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
25
37
  s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
26
38
  s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
27
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
39
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
+
41
+ # added by script/fix_gemspec.rb.
42
+ s.add_development_dependency 'rake', '~>11.2', '>= 11.2.2'
43
+ s.add_development_dependency 'pry', '~>0.10', '>= 0.10.4'
44
+ # </added> : if the above lines are missing in the gemspec, then
45
+ # the matcher for autotest is probably broken
28
46
 
29
47
  s.files = `git ls-files`.split("\n").uniq.sort.select{|f| !f.empty? }
30
- # s.test_files = `git ls-files spec`.split("\n")
48
+ s.test_files = `git ls-files spec test`.split("\n")
31
49
  s.executables = []
32
50
  s.require_paths = ["lib"]
33
51
  end
@@ -1,8 +1,12 @@
1
1
  swagger: '2.0'
2
2
 
3
3
  info:
4
- version: "1.2.0"
5
4
  title: DocRaptor v1
5
+ description: "A native client library for the DocRaptor HTML to PDF/XLS service."
6
+ termsOfService: "https://docraptor.com/tos"
7
+ license:
8
+ name: "MIT"
9
+ url: "https://mit-license.org/"
6
10
 
7
11
  host: docraptor.com
8
12
  basePath: /
@@ -1,3 +1,15 @@
1
+ =begin
2
+ #DocRaptor v1
3
+
4
+ #A native client library for the DocRaptor HTML to PDF/XLS service.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
1
13
  # Common files
2
14
  require 'docraptor/api_client'
3
15
  require 'docraptor/api_error'
@@ -1,3 +1,15 @@
1
+ =begin
2
+ #DocRaptor v1
3
+
4
+ #A native client library for the DocRaptor HTML to PDF/XLS service.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
1
13
  require "uri"
2
14
 
3
15
  module DocRaptor
@@ -14,7 +26,7 @@ module DocRaptor
14
26
  # @param [Hash] opts the optional parameters
15
27
  # @return [AsyncDoc]
16
28
  def create_async_doc(doc, opts = {})
17
- data, status_code, headers = create_async_doc_with_http_info(doc, opts)
29
+ data, _status_code, _headers = create_async_doc_with_http_info(doc, opts)
18
30
  return data
19
31
  end
20
32
 
@@ -25,35 +37,28 @@ module DocRaptor
25
37
  # @return [Array<(AsyncDoc, Fixnum, Hash)>] AsyncDoc data, response status code and response headers
26
38
  def create_async_doc_with_http_info(doc, opts = {})
27
39
  if @api_client.config.debugging
28
- @api_client.config.logger.debug "Calling API: DocApi#create_async_doc ..."
40
+ @api_client.config.logger.debug "Calling API: DocApi.create_async_doc ..."
29
41
  end
30
-
31
42
  # verify the required parameter 'doc' is set
32
- fail "Missing the required parameter 'doc' when calling create_async_doc" if doc.nil?
33
-
43
+ if @api_client.config.client_side_validation && doc.nil?
44
+ fail ArgumentError, "Missing the required parameter 'doc' when calling DocApi.create_async_doc"
45
+ end
34
46
  # resource path
35
- local_var_path = "/async_docs".sub('{format}','json')
47
+ local_var_path = "/async_docs"
36
48
 
37
49
  # query parameters
38
50
  query_params = {}
39
51
 
40
52
  # header parameters
41
53
  header_params = {}
42
-
43
54
  # HTTP header 'Accept' (if needed)
44
- _header_accept = ['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
45
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
46
-
47
- # HTTP header 'Content-Type'
48
- _header_content_type = []
49
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
55
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'])
50
56
 
51
57
  # form parameters
52
58
  form_params = {}
53
59
 
54
60
  # http body (model)
55
61
  post_body = @api_client.object_to_http_body(doc)
56
-
57
62
  auth_names = ['basicAuth']
58
63
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
59
64
  :header_params => header_params,
@@ -74,7 +79,7 @@ module DocRaptor
74
79
  # @param [Hash] opts the optional parameters
75
80
  # @return [String]
76
81
  def create_doc(doc, opts = {})
77
- data, status_code, headers = create_doc_with_http_info(doc, opts)
82
+ data, _status_code, _headers = create_doc_with_http_info(doc, opts)
78
83
  return data
79
84
  end
80
85
 
@@ -85,35 +90,28 @@ module DocRaptor
85
90
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
86
91
  def create_doc_with_http_info(doc, opts = {})
87
92
  if @api_client.config.debugging
88
- @api_client.config.logger.debug "Calling API: DocApi#create_doc ..."
93
+ @api_client.config.logger.debug "Calling API: DocApi.create_doc ..."
89
94
  end
90
-
91
95
  # verify the required parameter 'doc' is set
92
- fail "Missing the required parameter 'doc' when calling create_doc" if doc.nil?
93
-
96
+ if @api_client.config.client_side_validation && doc.nil?
97
+ fail ArgumentError, "Missing the required parameter 'doc' when calling DocApi.create_doc"
98
+ end
94
99
  # resource path
95
- local_var_path = "/docs".sub('{format}','json')
100
+ local_var_path = "/docs"
96
101
 
97
102
  # query parameters
98
103
  query_params = {}
99
104
 
100
105
  # header parameters
101
106
  header_params = {}
102
-
103
107
  # HTTP header 'Accept' (if needed)
104
- _header_accept = ['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
105
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
106
-
107
- # HTTP header 'Content-Type'
108
- _header_content_type = []
109
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
108
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'])
110
109
 
111
110
  # form parameters
112
111
  form_params = {}
113
112
 
114
113
  # http body (model)
115
114
  post_body = @api_client.object_to_http_body(doc)
116
-
117
115
  auth_names = ['basicAuth']
118
116
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
119
117
  :header_params => header_params,
@@ -134,7 +132,7 @@ module DocRaptor
134
132
  # @param [Hash] opts the optional parameters
135
133
  # @return [String]
136
134
  def get_async_doc(id, opts = {})
137
- data, status_code, headers = get_async_doc_with_http_info(id, opts)
135
+ data, _status_code, _headers = get_async_doc_with_http_info(id, opts)
138
136
  return data
139
137
  end
140
138
 
@@ -145,35 +143,28 @@ module DocRaptor
145
143
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
146
144
  def get_async_doc_with_http_info(id, opts = {})
147
145
  if @api_client.config.debugging
148
- @api_client.config.logger.debug "Calling API: DocApi#get_async_doc ..."
146
+ @api_client.config.logger.debug "Calling API: DocApi.get_async_doc ..."
149
147
  end
150
-
151
148
  # verify the required parameter 'id' is set
152
- fail "Missing the required parameter 'id' when calling get_async_doc" if id.nil?
153
-
149
+ if @api_client.config.client_side_validation && id.nil?
150
+ fail ArgumentError, "Missing the required parameter 'id' when calling DocApi.get_async_doc"
151
+ end
154
152
  # resource path
155
- local_var_path = "/download/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
153
+ local_var_path = "/download/{id}".sub('{' + 'id' + '}', id.to_s)
156
154
 
157
155
  # query parameters
158
156
  query_params = {}
159
157
 
160
158
  # header parameters
161
159
  header_params = {}
162
-
163
160
  # HTTP header 'Accept' (if needed)
164
- _header_accept = ['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
165
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
166
-
167
- # HTTP header 'Content-Type'
168
- _header_content_type = []
169
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
161
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'])
170
162
 
171
163
  # form parameters
172
164
  form_params = {}
173
165
 
174
166
  # http body (model)
175
167
  post_body = nil
176
-
177
168
  auth_names = ['basicAuth']
178
169
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
179
170
  :header_params => header_params,
@@ -194,7 +185,7 @@ module DocRaptor
194
185
  # @param [Hash] opts the optional parameters
195
186
  # @return [AsyncDocStatus]
196
187
  def get_async_doc_status(id, opts = {})
197
- data, status_code, headers = get_async_doc_status_with_http_info(id, opts)
188
+ data, _status_code, _headers = get_async_doc_status_with_http_info(id, opts)
198
189
  return data
199
190
  end
200
191
 
@@ -205,35 +196,28 @@ module DocRaptor
205
196
  # @return [Array<(AsyncDocStatus, Fixnum, Hash)>] AsyncDocStatus data, response status code and response headers
206
197
  def get_async_doc_status_with_http_info(id, opts = {})
207
198
  if @api_client.config.debugging
208
- @api_client.config.logger.debug "Calling API: DocApi#get_async_doc_status ..."
199
+ @api_client.config.logger.debug "Calling API: DocApi.get_async_doc_status ..."
209
200
  end
210
-
211
201
  # verify the required parameter 'id' is set
212
- fail "Missing the required parameter 'id' when calling get_async_doc_status" if id.nil?
213
-
202
+ if @api_client.config.client_side_validation && id.nil?
203
+ fail ArgumentError, "Missing the required parameter 'id' when calling DocApi.get_async_doc_status"
204
+ end
214
205
  # resource path
215
- local_var_path = "/status/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
206
+ local_var_path = "/status/{id}".sub('{' + 'id' + '}', id.to_s)
216
207
 
217
208
  # query parameters
218
209
  query_params = {}
219
210
 
220
211
  # header parameters
221
212
  header_params = {}
222
-
223
213
  # HTTP header 'Accept' (if needed)
224
- _header_accept = ['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
225
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
226
-
227
- # HTTP header 'Content-Type'
228
- _header_content_type = []
229
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
214
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/xml', 'application/pdf', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'])
230
215
 
231
216
  # form parameters
232
217
  form_params = {}
233
218
 
234
219
  # http body (model)
235
220
  post_body = nil
236
-
237
221
  auth_names = ['basicAuth']
238
222
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
239
223
  :header_params => header_params,