vgs_api_client 0.0.1.alpha202205231750 → 0.0.1.alpha202205231754
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 +3 -0
- data/lib/openapi_client/api_client.rb +1 -1
- data/lib/openapi_client/models/inline_response_default.rb +14 -4
- 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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e422e65a537dc20b353cbb685e790464bbf0f90aa9d7fbe20228335c2d400f36
|
4
|
+
data.tar.gz: b640ed117ce942f113d3138476f7fb8f01eb172da660618e204065eb41cb2a39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e8f875edb389483a43e77dab15eacaa07dc0db3b9c8cb997b017bbd8acb8a0896657cc2f7e2925a1ed250236971fc4293b00dddb5283455a5034bde1d3ddb45
|
7
|
+
data.tar.gz: f5c74ef14a3bc3847a3f4e4d9680a925b64906eec7751ae0ad63da7788f2cb50af8dae7f714f88f166422723b7fd6823f1583cd83720cf08393c9834afe359a4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1.
|
1
|
+
0.0.1.alpha202205231754
|
data/api.yaml
CHANGED
@@ -380,6 +380,9 @@ components:
|
|
380
380
|
$ref: '#/components/schemas/ApiError'
|
381
381
|
description: List of errors that occurred while processing the request.
|
382
382
|
minItems: 1
|
383
|
+
trace_id:
|
384
|
+
type: string
|
385
|
+
description: ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
|
383
386
|
examples:
|
384
387
|
invalidJson:
|
385
388
|
summary: When a payload is received that is not valid JSON
|
@@ -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.alpha202205231754/ruby"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
@@ -18,10 +18,14 @@ module VgsApiClient
|
|
18
18
|
# List of errors that occurred while processing the request.
|
19
19
|
attr_accessor :errors
|
20
20
|
|
21
|
+
# ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
|
22
|
+
attr_accessor :trace_id
|
23
|
+
|
21
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
25
|
def self.attribute_map
|
23
26
|
{
|
24
|
-
:'errors' => :'errors'
|
27
|
+
:'errors' => :'errors',
|
28
|
+
:'trace_id' => :'trace_id'
|
25
29
|
}
|
26
30
|
end
|
27
31
|
|
@@ -33,7 +37,8 @@ module VgsApiClient
|
|
33
37
|
# Attribute type mapping.
|
34
38
|
def self.openapi_types
|
35
39
|
{
|
36
|
-
:'errors' => :'Array<ApiError>'
|
40
|
+
:'errors' => :'Array<ApiError>',
|
41
|
+
:'trace_id' => :'String'
|
37
42
|
}
|
38
43
|
end
|
39
44
|
|
@@ -63,6 +68,10 @@ module VgsApiClient
|
|
63
68
|
self.errors = value
|
64
69
|
end
|
65
70
|
end
|
71
|
+
|
72
|
+
if attributes.key?(:'trace_id')
|
73
|
+
self.trace_id = attributes[:'trace_id']
|
74
|
+
end
|
66
75
|
end
|
67
76
|
|
68
77
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -98,7 +107,8 @@ module VgsApiClient
|
|
98
107
|
def ==(o)
|
99
108
|
return true if self.equal?(o)
|
100
109
|
self.class == o.class &&
|
101
|
-
errors == o.errors
|
110
|
+
errors == o.errors &&
|
111
|
+
trace_id == o.trace_id
|
102
112
|
end
|
103
113
|
|
104
114
|
# @see the `==` method
|
@@ -110,7 +120,7 @@ module VgsApiClient
|
|
110
120
|
# Calculates hash code according to all attributes.
|
111
121
|
# @return [Integer] Hash code
|
112
122
|
def hash
|
113
|
-
[errors].hash
|
123
|
+
[errors, trace_id].hash
|
114
124
|
end
|
115
125
|
|
116
126
|
# Builds the object from hash
|
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.alpha202205231754 . | xargs sed -i "s/0.0.1.alpha202205231754/${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.alpha202205231754 . | xargs sed -i "s/0.0.1.alpha202205231754/$VERSION/g"
|
9
9
|
|
10
10
|
bundle install
|
11
11
|
|