vgs_api_client 0.0.1.alpha202205202346 → 0.0.1.alpha202205210037
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/VERSION +1 -1
- data/api.yaml +91 -0
- data/lib/openapi_client/api/functions_api.rb +2 -2
- data/lib/openapi_client/api_client.rb +1 -1
- data/lib/openapi_client/version.rb +1 -1
- data/lib/version.rb +1 -1
- data/scripts/assemble/run.sh +1 -1
- data/scripts/test/run.sh +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a214dfab7ad3680888ed40e5368a9f3cbb4d0a135b2231cb2c077e2d9473c1c
|
4
|
+
data.tar.gz: f54f72e6a21d85323a6d59f7e2b10ee52ccf5658f9e1917089f210eb7ece279c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abfae7fdf60285421e457fffd5320ad13fa43f75eb9ea6c5f5d15fc7d2cb4d5e79311365b40241d2b73a174cd94545b43218fb41f980e3bdfa4b6d887caf9ddd
|
7
|
+
data.tar.gz: 40b9e9eac3ccce0a8d313d9afeeab00ccf25b749e48b79cdcda492aa70845e2f320adbe3a1d2fd6ae4a7e921692221150a29c4dd75985a77a1e0b425ec2ab01b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1.
|
1
|
+
0.0.1.alpha202205210037
|
data/api.yaml
CHANGED
@@ -263,23 +263,114 @@ paths:
|
|
263
263
|
format: byte
|
264
264
|
example:
|
265
265
|
aGVsbG8gd29ybGQK
|
266
|
+
description: Stream of bytes base64 encoded up to XX KB in size
|
267
|
+
application/http:
|
268
|
+
schema:
|
269
|
+
type: object
|
270
|
+
properties:
|
271
|
+
method:
|
272
|
+
type: string
|
273
|
+
enum:
|
274
|
+
- POST
|
275
|
+
- PATCH
|
276
|
+
- DELETE
|
277
|
+
- PUT
|
278
|
+
- GET
|
279
|
+
- HEAD
|
280
|
+
uri:
|
281
|
+
type: string
|
282
|
+
format: uri
|
283
|
+
example: https://example.com/software/htp/cics/index.html
|
284
|
+
version:
|
285
|
+
type: string
|
286
|
+
enum:
|
287
|
+
- "1.0"
|
288
|
+
- "1.1"
|
289
|
+
headers:
|
290
|
+
type: array
|
291
|
+
items:
|
292
|
+
type: object
|
293
|
+
properties:
|
294
|
+
key:
|
295
|
+
type: string
|
296
|
+
value:
|
297
|
+
type: string
|
298
|
+
body:
|
299
|
+
type: string
|
300
|
+
format: string
|
301
|
+
|
302
|
+
description: https://www.iana.org/assignments/media-types/media-types.xhtml
|
303
|
+
examples:
|
304
|
+
A:
|
305
|
+
summary: Invoke a function with a HTTP request payload
|
306
|
+
value:
|
307
|
+
method: GET
|
308
|
+
uri: https://example.com/software/htp/cics/index.html
|
309
|
+
version: 1.0
|
310
|
+
|
266
311
|
"*":
|
267
312
|
schema:
|
268
313
|
type: string
|
269
314
|
format: binary?
|
315
|
+
description: Stream of bytes up to XX KB in size
|
270
316
|
responses:
|
271
317
|
'200':
|
272
318
|
description: OK
|
273
319
|
content:
|
320
|
+
application/http:
|
321
|
+
schema:
|
322
|
+
type: object
|
323
|
+
properties:
|
324
|
+
method:
|
325
|
+
type: string
|
326
|
+
enum:
|
327
|
+
- POST
|
328
|
+
- PATCH
|
329
|
+
- DELETE
|
330
|
+
- PUT
|
331
|
+
- GET
|
332
|
+
- HEAD
|
333
|
+
uri:
|
334
|
+
type: string
|
335
|
+
format: uri
|
336
|
+
example: https://example.com/software/htp/cics/index.html
|
337
|
+
version:
|
338
|
+
type: string
|
339
|
+
enum:
|
340
|
+
- "1.0"
|
341
|
+
- "1.1"
|
342
|
+
headers:
|
343
|
+
type: array
|
344
|
+
items:
|
345
|
+
type: object
|
346
|
+
properties:
|
347
|
+
key:
|
348
|
+
type: string
|
349
|
+
value:
|
350
|
+
type: string
|
351
|
+
body:
|
352
|
+
type: string
|
353
|
+
format: string
|
354
|
+
|
355
|
+
description: https://www.iana.org/assignments/media-types/media-types.xhtml
|
356
|
+
example:
|
357
|
+
method: POST
|
358
|
+
uri: https://example.com/software/htp/cics/index.html
|
359
|
+
version: 1.0
|
360
|
+
headers:
|
361
|
+
- key: Content-Type
|
362
|
+
value: text/plain
|
274
363
|
"text/plain":
|
275
364
|
schema:
|
276
365
|
type: string
|
366
|
+
description: Stream of bytes base64 up to XX KB in size
|
277
367
|
example:
|
278
368
|
aGVsbG8gd29ybGQK
|
279
369
|
"*":
|
280
370
|
schema:
|
281
371
|
type: string
|
282
372
|
format: binary
|
373
|
+
description: Stream of bytes up to XX KB in size
|
283
374
|
default:
|
284
375
|
$ref: '#/components/responses/ApiErrorsResponse'
|
285
376
|
|
@@ -243,9 +243,9 @@ module VgsApiClient
|
|
243
243
|
# header parameters
|
244
244
|
header_params = opts[:header_params] || {}
|
245
245
|
# HTTP header 'Accept' (if needed)
|
246
|
-
header_params['Accept'] = @api_client.select_header_accept(['*', 'text/plain', 'application/json'])
|
246
|
+
header_params['Accept'] = @api_client.select_header_accept(['*', 'application/http', 'text/plain', 'application/json'])
|
247
247
|
# HTTP header 'Content-Type'
|
248
|
-
content_type = @api_client.select_header_content_type(['*', 'text/plain'])
|
248
|
+
content_type = @api_client.select_header_content_type(['*', 'application/http', 'text/plain'])
|
249
249
|
if !content_type.nil?
|
250
250
|
header_params['Content-Type'] = content_type
|
251
251
|
end
|
@@ -31,7 +31,7 @@ module VgsApiClient
|
|
31
31
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
32
|
def initialize(config = Configuration.default)
|
33
33
|
@config = config
|
34
|
-
@user_agent = "vgs-api-client/0.0.1.
|
34
|
+
@user_agent = "vgs-api-client/0.0.1.alpha202205210037/ruby"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
data/lib/version.rb
CHANGED
data/scripts/assemble/run.sh
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
LIB_VERSION=${LIB_VERSION:-0.0.1.alpha$(date "+%Y%m%d%H%M")}
|
4
4
|
|
5
5
|
# fix version
|
6
|
-
grep -rl 0.0.1.
|
6
|
+
grep -rl 0.0.1.alpha202205210037 . | xargs sed -i "s/0.0.1.alpha202205210037/${LIB_VERSION}/g"
|
7
7
|
|
8
8
|
# build
|
9
9
|
gem build vgs_api_client.gemspec
|
data/scripts/test/run.sh
CHANGED
@@ -5,7 +5,7 @@ set -e
|
|
5
5
|
echo "Installing lib from local sources"
|
6
6
|
# fix version
|
7
7
|
VERSION=0.0.1.alpha$(date "+%Y%m%d%H%M")
|
8
|
-
grep -rl 0.0.1.
|
8
|
+
grep -rl 0.0.1.alpha202205210037 . | xargs sed -i "s/0.0.1.alpha202205210037/$VERSION/g"
|
9
9
|
|
10
10
|
bundle install
|
11
11
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vgs_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.alpha202205210037
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Very Good Security
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|