vgs_api_client 0.0.1.alpha202205231451 → 0.0.1.alpha202205231754

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fb61e9ad31ca08d73a654d8ad5d87d485d6194db62c17c68385f9c8bcc6996b
4
- data.tar.gz: b407e7bdd188d911bc2c9b8b4ab8551df65ec1828e4d76f9387f4734e786983e
3
+ metadata.gz: e422e65a537dc20b353cbb685e790464bbf0f90aa9d7fbe20228335c2d400f36
4
+ data.tar.gz: b640ed117ce942f113d3138476f7fb8f01eb172da660618e204065eb41cb2a39
5
5
  SHA512:
6
- metadata.gz: 1ac08f9af44702a8759259ced5622906a3f4f90852dc29289f24961f4aad72979fe2f1647bcd8e7041160ddcdd8091dbefe2dce7becfb7b5788455088f9d7e6c
7
- data.tar.gz: bf13c62107294f84c6f6c23a4abb01df821d6828a3b6bed7230dfed79cd2c0706c13fdb5729121cb1d5b757fad336f1cae7643669a0316fb5421e26b601cc779
6
+ metadata.gz: 4e8f875edb389483a43e77dab15eacaa07dc0db3b9c8cb997b017bbd8acb8a0896657cc2f7e2925a1ed250236971fc4293b00dddb5283455a5034bde1d3ddb45
7
+ data.tar.gz: f5c74ef14a3bc3847a3f4e4d9680a925b64906eec7751ae0ad63da7788f2cb50af8dae7f714f88f166422723b7fd6823f1583cd83720cf08393c9834afe359a4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1.alpha202205231451
1
+ 0.0.1.alpha202205231754
data/api.yaml CHANGED
@@ -380,6 +380,18 @@ 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.
386
+ examples:
387
+ invalidJson:
388
+ summary: When a payload is received that is not valid JSON
389
+ value:
390
+ errors:
391
+ - status: 400
392
+ code: invalid-payload
393
+ detail: Payload is not a valid JSON format.
394
+ trace_id: 2cdd563c3fcdd9b4
383
395
 
384
396
  schemas:
385
397
  ApiError:
@@ -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.alpha202205231451/ruby"
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module VgsApiClient
14
- VERSION = '0.0.1.alpha202205231451'
14
+ VERSION = '0.0.1.alpha202205231754'
15
15
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module VGS
2
- VERSION = '0.0.1.alpha202205231451'
2
+ VERSION = '0.0.1.alpha202205231754'
3
3
  end
@@ -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.alpha202205231451 . | xargs sed -i "s/0.0.1.alpha202205231451/${LIB_VERSION}/g"
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.alpha202205231451 . | xargs sed -i "s/0.0.1.alpha202205231451/$VERSION/g"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vgs_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha202205231451
4
+ version: 0.0.1.alpha202205231754
5
5
  platform: ruby
6
6
  authors:
7
7
  - Very Good Security