vgs_api_client 0.0.1.alpha202205220113 → 0.0.1.alpha202205220158

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: 972d90c01dcdc380c9d999b748435260f67b876f9525794657a39aa15754505a
4
- data.tar.gz: a0042a1349a153647f0e957b8e796bbc5ca64eb50d587b78d5c7d30270d5d9fa
3
+ metadata.gz: 4ec734db543c2a9c346b68f7baf9b878b7ed31ded9aabdc0b4097d2e3b20164b
4
+ data.tar.gz: 68da79740e04a556b7672e71a74691fadea8f583e0210c71fd7129bfd9b91b15
5
5
  SHA512:
6
- metadata.gz: 33b10b7eff69c930edbfe1d4034e8d17802c68ff5f2145d58ec5f7412fe1d2f20f6e7900863c051c7d23a58a2d7abf80dc9b689ae9afea7926faf3d33fe7f72d
7
- data.tar.gz: 4c6d2e5430e9ec3edc7626389b2638e8b51737f22bb5b317008aa74882d69162576e277bcf7d606292248e42c852947995014fbe4e8f5bbfc201e4cc2bed646f
6
+ metadata.gz: 07f38e001833138bf6568cf5550a23071723f142a113485130dc40425b6f665d2c9e37c079694541065940e4ebdfc4e291df4f658b874b12dbcd30de7a1a279d
7
+ data.tar.gz: 2d86939974a1c81ccc8fec755c246881cf11f1fab5b4d5efea32b7ae5591d026774810dc4cd048480fcde62b568d589b1d7bc300b43efeab30d2821b3790488b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1.alpha202205220113
1
+ 0.0.1.alpha202205220158
data/api.yaml CHANGED
@@ -119,6 +119,8 @@ paths:
119
119
  post:
120
120
  operationId: createFunction
121
121
  summary: Creates a new function
122
+ security:
123
+ - OAuth2: [functions:write]
122
124
  tags:
123
125
  - functions
124
126
  description: |
@@ -170,6 +172,8 @@ paths:
170
172
  get:
171
173
  operationId: listFunctions
172
174
  summary: Lists all functions
175
+ security:
176
+ - OAuth2: [functions:read]
173
177
  tags:
174
178
  - functions
175
179
  description: |
@@ -200,6 +204,8 @@ paths:
200
204
  tags:
201
205
  - functions
202
206
  summary: Retrieve a single function
207
+ security:
208
+ - OAuth2: [functions:read]
203
209
  description: |
204
210
  Retrieves a function
205
211
  parameters:
@@ -238,6 +244,8 @@ paths:
238
244
  tags:
239
245
  - functions
240
246
  summary: Update function
247
+ security:
248
+ - OAuth2: [functions:write]
241
249
  description: |
242
250
  Update an existing function definition
243
251
  requestBody:
@@ -256,6 +264,8 @@ paths:
256
264
  tags:
257
265
  - functions
258
266
  summary: Deletes a function
267
+ security:
268
+ - OAuth2: [functions:write]
259
269
  description: |
260
270
  Removes a single alias.
261
271
  parameters:
@@ -64,7 +64,7 @@ module VgsApiClient
64
64
  return_type = opts[:debug_return_type] || 'InlineResponse2002'
65
65
 
66
66
  # auth_names
67
- auth_names = opts[:debug_auth_names] || ['BasicAuth']
67
+ auth_names = opts[:debug_auth_names] || ['OAuth2']
68
68
 
69
69
  new_options = opts.merge(
70
70
  :operation => :"FunctionsApi.create_function",
@@ -127,7 +127,7 @@ module VgsApiClient
127
127
  return_type = opts[:debug_return_type]
128
128
 
129
129
  # auth_names
130
- auth_names = opts[:debug_auth_names] || ['BasicAuth']
130
+ auth_names = opts[:debug_auth_names] || ['OAuth2']
131
131
 
132
132
  new_options = opts.merge(
133
133
  :operation => :"FunctionsApi.delete_function",
@@ -190,7 +190,7 @@ module VgsApiClient
190
190
  return_type = opts[:debug_return_type] || 'InlineResponse2003'
191
191
 
192
192
  # auth_names
193
- auth_names = opts[:debug_auth_names] || ['BasicAuth']
193
+ auth_names = opts[:debug_auth_names] || ['OAuth2']
194
194
 
195
195
  new_options = opts.merge(
196
196
  :operation => :"FunctionsApi.get_function",
@@ -317,7 +317,7 @@ module VgsApiClient
317
317
  return_type = opts[:debug_return_type] || 'InlineResponse2002'
318
318
 
319
319
  # auth_names
320
- auth_names = opts[:debug_auth_names] || ['BasicAuth']
320
+ auth_names = opts[:debug_auth_names] || ['OAuth2']
321
321
 
322
322
  new_options = opts.merge(
323
323
  :operation => :"FunctionsApi.list_functions",
@@ -387,7 +387,7 @@ module VgsApiClient
387
387
  return_type = opts[:debug_return_type]
388
388
 
389
389
  # auth_names
390
- auth_names = opts[:debug_auth_names] || ['BasicAuth']
390
+ auth_names = opts[:debug_auth_names] || ['OAuth2']
391
391
 
392
392
  new_options = opts.merge(
393
393
  :operation => :"FunctionsApi.update_function",
@@ -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.alpha202205220113/ruby"
34
+ @user_agent = "vgs-api-client/0.0.1.alpha202205220158/ruby"
35
35
  @default_headers = {
36
36
  'Content-Type' => 'application/json',
37
37
  'User-Agent' => @user_agent
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module VgsApiClient
14
- VERSION = '0.0.1.alpha202205220113'
14
+ VERSION = '0.0.1.alpha202205220158'
15
15
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module VGS
2
- VERSION = '0.0.1.alpha202205220113'
2
+ VERSION = '0.0.1.alpha202205220158'
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.alpha202205220113 . | xargs sed -i "s/0.0.1.alpha202205220113/${LIB_VERSION}/g"
6
+ grep -rl 0.0.1.alpha202205220158 . | xargs sed -i "s/0.0.1.alpha202205220158/${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.alpha202205220113 . | xargs sed -i "s/0.0.1.alpha202205220113/$VERSION/g"
8
+ grep -rl 0.0.1.alpha202205220158 . | xargs sed -i "s/0.0.1.alpha202205220158/$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.alpha202205220113
4
+ version: 0.0.1.alpha202205220158
5
5
  platform: ruby
6
6
  authors:
7
7
  - Very Good Security