ory-keto-client 0.0.0.alpha41 → 0.0.0.alpha47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AddOryAccessControlPolicyRoleMembersBody.md +8 -7
  4. data/docs/AuthorizationResult.md +8 -7
  5. data/docs/EnginesApi.md +319 -129
  6. data/docs/HealthApi.md +50 -15
  7. data/docs/HealthNotReadyStatus.md +8 -7
  8. data/docs/HealthStatus.md +8 -7
  9. data/docs/InlineResponse500.md +18 -17
  10. data/docs/OryAccessControlPolicy.md +20 -19
  11. data/docs/OryAccessControlPolicyAllowedInput.md +14 -13
  12. data/docs/OryAccessControlPolicyRole.md +10 -9
  13. data/docs/Version.md +8 -7
  14. data/docs/VersionApi.md +26 -9
  15. data/lib/ory-keto-client.rb +2 -2
  16. data/lib/ory-keto-client/api/engines_api.rb +46 -35
  17. data/lib/ory-keto-client/api/health_api.rb +10 -8
  18. data/lib/ory-keto-client/api/version_api.rb +6 -5
  19. data/lib/ory-keto-client/api_client.rb +50 -48
  20. data/lib/ory-keto-client/api_error.rb +2 -2
  21. data/lib/ory-keto-client/configuration.rb +34 -7
  22. data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_body.rb +20 -8
  23. data/lib/ory-keto-client/models/authorization_result.rb +20 -8
  24. data/lib/ory-keto-client/models/health_not_ready_status.rb +20 -8
  25. data/lib/ory-keto-client/models/health_status.rb +20 -8
  26. data/lib/ory-keto-client/models/inline_response500.rb +20 -8
  27. data/lib/ory-keto-client/models/ory_access_control_policy.rb +20 -8
  28. data/lib/ory-keto-client/models/ory_access_control_policy_allowed_input.rb +20 -8
  29. data/lib/ory-keto-client/models/ory_access_control_policy_role.rb +20 -8
  30. data/lib/ory-keto-client/models/version.rb +20 -8
  31. data/lib/ory-keto-client/version.rb +3 -3
  32. data/ory-keto-client.gemspec +4 -5
  33. data/spec/api_client_spec.rb +4 -4
  34. data/spec/configuration_spec.rb +3 -3
  35. data/spec/spec_helper.rb +3 -3
  36. metadata +55 -75
@@ -2,35 +2,52 @@
2
2
 
3
3
  All URIs are relative to *http://localhost*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**is_instance_alive**](HealthApi.md#is_instance_alive) | **GET** /health/alive | Check alive status
8
- [**is_instance_ready**](HealthApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status
9
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**is_instance_alive**](HealthApi.md#is_instance_alive) | **GET** /health/alive | Check alive status |
8
+ | [**is_instance_ready**](HealthApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status |
10
9
 
11
10
 
12
11
  ## is_instance_alive
13
12
 
14
- > HealthStatus is_instance_alive
13
+ > <HealthStatus> is_instance_alive
15
14
 
16
15
  Check alive status
17
16
 
18
17
  This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
19
18
 
20
- ### Example
19
+ ### Examples
21
20
 
22
21
  ```ruby
23
- # load the gem
22
+ require 'time'
24
23
  require 'ory-keto-client'
25
24
 
26
25
  api_instance = OryHydraClient::HealthApi.new
27
26
 
28
27
  begin
29
- #Check alive status
28
+ # Check alive status
30
29
  result = api_instance.is_instance_alive
31
30
  p result
32
31
  rescue OryHydraClient::ApiError => e
33
- puts "Exception when calling HealthApi->is_instance_alive: #{e}"
32
+ puts "Error when calling HealthApi->is_instance_alive: #{e}"
33
+ end
34
+ ```
35
+
36
+ #### Using the is_instance_alive_with_http_info variant
37
+
38
+ This returns an Array which contains the response data, status code and headers.
39
+
40
+ > <Array(<HealthStatus>, Integer, Hash)> is_instance_alive_with_http_info
41
+
42
+ ```ruby
43
+ begin
44
+ # Check alive status
45
+ data, status_code, headers = api_instance.is_instance_alive_with_http_info
46
+ p status_code # => 2xx
47
+ p headers # => { ... }
48
+ p data # => <HealthStatus>
49
+ rescue OryHydraClient::ApiError => e
50
+ puts "Error when calling HealthApi->is_instance_alive_with_http_info: #{e}"
34
51
  end
35
52
  ```
36
53
 
@@ -54,26 +71,44 @@ No authorization required
54
71
 
55
72
  ## is_instance_ready
56
73
 
57
- > HealthStatus is_instance_ready
74
+ > <HealthStatus> is_instance_ready
58
75
 
59
76
  Check readiness status
60
77
 
61
78
  This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
62
79
 
63
- ### Example
80
+ ### Examples
64
81
 
65
82
  ```ruby
66
- # load the gem
83
+ require 'time'
67
84
  require 'ory-keto-client'
68
85
 
69
86
  api_instance = OryHydraClient::HealthApi.new
70
87
 
71
88
  begin
72
- #Check readiness status
89
+ # Check readiness status
73
90
  result = api_instance.is_instance_ready
74
91
  p result
75
92
  rescue OryHydraClient::ApiError => e
76
- puts "Exception when calling HealthApi->is_instance_ready: #{e}"
93
+ puts "Error when calling HealthApi->is_instance_ready: #{e}"
94
+ end
95
+ ```
96
+
97
+ #### Using the is_instance_ready_with_http_info variant
98
+
99
+ This returns an Array which contains the response data, status code and headers.
100
+
101
+ > <Array(<HealthStatus>, Integer, Hash)> is_instance_ready_with_http_info
102
+
103
+ ```ruby
104
+ begin
105
+ # Check readiness status
106
+ data, status_code, headers = api_instance.is_instance_ready_with_http_info
107
+ p status_code # => 2xx
108
+ p headers # => { ... }
109
+ p data # => <HealthStatus>
110
+ rescue OryHydraClient::ApiError => e
111
+ puts "Error when calling HealthApi->is_instance_ready_with_http_info: #{e}"
77
112
  end
78
113
  ```
79
114
 
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **errors** | **Hash&lt;String, String&gt;** | Errors contains a list of errors that caused the not ready status. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **errors** | **Hash&lt;String, String&gt;** | Errors contains a list of errors that caused the not ready status. | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-keto-client'
13
13
 
14
- instance = OryHydraClient::HealthNotReadyStatus.new(errors: null)
14
+ instance = OryHydraClient::HealthNotReadyStatus.new(
15
+ errors: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **status** | **String** | Status always contains \&quot;ok\&quot;. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | Status always contains \&quot;ok\&quot;. | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-keto-client'
13
13
 
14
- instance = OryHydraClient::HealthStatus.new(status: null)
14
+ instance = OryHydraClient::HealthStatus.new(
15
+ status: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,26 +2,27 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **code** | **Integer** | | [optional]
8
- **details** | **Array&lt;Object&gt;** | | [optional]
9
- **message** | **String** | | [optional]
10
- **reason** | **String** | | [optional]
11
- **request** | **String** | | [optional]
12
- **status** | **String** | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | | [optional] |
8
+ | **details** | **Array&lt;Object&gt;** | | [optional] |
9
+ | **message** | **String** | | [optional] |
10
+ | **reason** | **String** | | [optional] |
11
+ | **request** | **String** | | [optional] |
12
+ | **status** | **String** | | [optional] |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-keto-client'
18
18
 
19
- instance = OryHydraClient::InlineResponse500.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::InlineResponse500.new(
20
+ code: null,
21
+ details: null,
22
+ message: null,
23
+ reason: null,
24
+ request: null,
25
+ status: null
26
+ )
25
27
  ```
26
28
 
27
-
@@ -2,28 +2,29 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **actions** | **Array&lt;String&gt;** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional]
8
- **conditions** | [**Object**](.md) | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional]
9
- **description** | **String** | Description is an optional, human-readable description. | [optional]
10
- **effect** | **String** | Effect is the effect of this ORY Access Policy. It can be \&quot;allow\&quot; or \&quot;deny\&quot;. | [optional]
11
- **id** | **String** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional]
12
- **resources** | **Array&lt;String&gt;** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional]
13
- **subjects** | **Array&lt;String&gt;** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **actions** | **Array&lt;String&gt;** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional] |
8
+ | **conditions** | **Object** | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional] |
9
+ | **description** | **String** | Description is an optional, human-readable description. | [optional] |
10
+ | **effect** | **String** | Effect is the effect of this ORY Access Policy. It can be \&quot;allow\&quot; or \&quot;deny\&quot;. | [optional] |
11
+ | **id** | **String** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional] |
12
+ | **resources** | **Array&lt;String&gt;** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional] |
13
+ | **subjects** | **Array&lt;String&gt;** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [optional] |
14
14
 
15
- ## Code Sample
15
+ ## Example
16
16
 
17
17
  ```ruby
18
- require 'OryHydraClient'
18
+ require 'ory-keto-client'
19
19
 
20
- instance = OryHydraClient::OryAccessControlPolicy.new(actions: null,
21
- conditions: null,
22
- description: null,
23
- effect: null,
24
- id: null,
25
- resources: null,
26
- subjects: null)
20
+ instance = OryHydraClient::OryAccessControlPolicy.new(
21
+ actions: null,
22
+ conditions: null,
23
+ description: null,
24
+ effect: null,
25
+ id: null,
26
+ resources: null,
27
+ subjects: null
28
+ )
27
29
  ```
28
30
 
29
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **action** | **String** | Action is the action that is requested on the resource. | [optional]
8
- **context** | [**Object**](.md) | Context is the request&#39;s environmental context. | [optional]
9
- **resource** | **String** | Resource is the resource that access is requested to. | [optional]
10
- **subject** | **String** | Subject is the subject that is requesting access. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **action** | **String** | Action is the action that is requested on the resource. | [optional] |
8
+ | **context** | **Object** | Context is the request&#39;s environmental context. | [optional] |
9
+ | **resource** | **String** | Resource is the resource that access is requested to. | [optional] |
10
+ | **subject** | **String** | Subject is the subject that is requesting access. | [optional] |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'OryHydraClient'
15
+ require 'ory-keto-client'
16
16
 
17
- instance = OryHydraClient::OryAccessControlPolicyAllowedInput.new(action: null,
18
- context: null,
19
- resource: null,
20
- subject: null)
17
+ instance = OryHydraClient::OryAccessControlPolicyAllowedInput.new(
18
+ action: null,
19
+ context: null,
20
+ resource: null,
21
+ subject: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | ID is the role&#39;s unique id. | [optional]
8
- **members** | **Array&lt;String&gt;** | Members is who belongs to the role. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | ID is the role&#39;s unique id. | [optional] |
8
+ | **members** | **Array&lt;String&gt;** | Members is who belongs to the role. | [optional] |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-keto-client'
14
14
 
15
- instance = OryHydraClient::OryAccessControlPolicyRole.new(id: null,
16
- members: null)
15
+ instance = OryHydraClient::OryAccessControlPolicyRole.new(
16
+ id: null,
17
+ members: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **version** | **String** | Version is the service&#39;s version. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | Version is the service&#39;s version. | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-keto-client'
13
13
 
14
- instance = OryHydraClient::Version.new(version: null)
14
+ instance = OryHydraClient::Version.new(
15
+ version: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,34 +2,51 @@
2
2
 
3
3
  All URIs are relative to *http://localhost*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get_version**](VersionApi.md#get_version) | **GET** /version | Get service version
8
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_version**](VersionApi.md#get_version) | **GET** /version | Get service version |
9
8
 
10
9
 
11
10
  ## get_version
12
11
 
13
- > Version get_version
12
+ > <Version> get_version
14
13
 
15
14
  Get service version
16
15
 
17
16
  This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
18
17
 
19
- ### Example
18
+ ### Examples
20
19
 
21
20
  ```ruby
22
- # load the gem
21
+ require 'time'
23
22
  require 'ory-keto-client'
24
23
 
25
24
  api_instance = OryHydraClient::VersionApi.new
26
25
 
27
26
  begin
28
- #Get service version
27
+ # Get service version
29
28
  result = api_instance.get_version
30
29
  p result
31
30
  rescue OryHydraClient::ApiError => e
32
- puts "Exception when calling VersionApi->get_version: #{e}"
31
+ puts "Error when calling VersionApi->get_version: #{e}"
32
+ end
33
+ ```
34
+
35
+ #### Using the get_version_with_http_info variant
36
+
37
+ This returns an Array which contains the response data, status code and headers.
38
+
39
+ > <Array(<Version>, Integer, Hash)> get_version_with_http_info
40
+
41
+ ```ruby
42
+ begin
43
+ # Get service version
44
+ data, status_code, headers = api_instance.get_version_with_http_info
45
+ p status_code # => 2xx
46
+ p headers # => { ... }
47
+ p data # => <Version>
48
+ rescue OryHydraClient::ApiError => e
49
+ puts "Error when calling VersionApi->get_version_with_http_info: #{e}"
33
50
  end
34
51
  ```
35
52
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
5
 
6
- The version of the OpenAPI document: v0.0.0-alpha.41
6
+ The version of the OpenAPI document: v0.0.0-alpha.47
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
5
 
6
- The version of the OpenAPI document: v0.0.0-alpha.41
6
+ The version of the OpenAPI document: v0.0.0-alpha.47
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
@@ -67,15 +67,16 @@ module OryHydraClient
67
67
  form_params = opts[:form_params] || {}
68
68
 
69
69
  # http body (model)
70
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
70
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
71
71
 
72
72
  # return_type
73
- return_type = opts[:return_type] || 'OryAccessControlPolicyRole'
73
+ return_type = opts[:debug_return_type] || 'OryAccessControlPolicyRole'
74
74
 
75
75
  # auth_names
76
- auth_names = opts[:auth_names] || []
76
+ auth_names = opts[:debug_auth_names] || []
77
77
 
78
78
  new_options = opts.merge(
79
+ :operation => :"EnginesApi.add_ory_access_control_policy_role_members",
79
80
  :header_params => header_params,
80
81
  :query_params => query_params,
81
82
  :form_params => form_params,
@@ -133,15 +134,16 @@ module OryHydraClient
133
134
  form_params = opts[:form_params] || {}
134
135
 
135
136
  # http body (model)
136
- post_body = opts[:body]
137
+ post_body = opts[:debug_body]
137
138
 
138
139
  # return_type
139
- return_type = opts[:return_type]
140
+ return_type = opts[:debug_return_type]
140
141
 
141
142
  # auth_names
142
- auth_names = opts[:auth_names] || []
143
+ auth_names = opts[:debug_auth_names] || []
143
144
 
144
145
  new_options = opts.merge(
146
+ :operation => :"EnginesApi.delete_ory_access_control_policy",
145
147
  :header_params => header_params,
146
148
  :query_params => query_params,
147
149
  :form_params => form_params,
@@ -201,15 +203,16 @@ module OryHydraClient
201
203
  form_params = opts[:form_params] || {}
202
204
 
203
205
  # http body (model)
204
- post_body = opts[:body]
206
+ post_body = opts[:debug_body]
205
207
 
206
208
  # return_type
207
- return_type = opts[:return_type]
209
+ return_type = opts[:debug_return_type]
208
210
 
209
211
  # auth_names
210
- auth_names = opts[:auth_names] || []
212
+ auth_names = opts[:debug_auth_names] || []
211
213
 
212
214
  new_options = opts.merge(
215
+ :operation => :"EnginesApi.delete_ory_access_control_policy_role",
213
216
  :header_params => header_params,
214
217
  :query_params => query_params,
215
218
  :form_params => form_params,
@@ -267,15 +270,16 @@ module OryHydraClient
267
270
  form_params = opts[:form_params] || {}
268
271
 
269
272
  # http body (model)
270
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
273
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
271
274
 
272
275
  # return_type
273
- return_type = opts[:return_type] || 'AuthorizationResult'
276
+ return_type = opts[:debug_return_type] || 'AuthorizationResult'
274
277
 
275
278
  # auth_names
276
- auth_names = opts[:auth_names] || []
279
+ auth_names = opts[:debug_auth_names] || []
277
280
 
278
281
  new_options = opts.merge(
282
+ :operation => :"EnginesApi.do_ory_access_control_policies_allow",
279
283
  :header_params => header_params,
280
284
  :query_params => query_params,
281
285
  :form_params => form_params,
@@ -333,15 +337,16 @@ module OryHydraClient
333
337
  form_params = opts[:form_params] || {}
334
338
 
335
339
  # http body (model)
336
- post_body = opts[:body]
340
+ post_body = opts[:debug_body]
337
341
 
338
342
  # return_type
339
- return_type = opts[:return_type] || 'OryAccessControlPolicy'
343
+ return_type = opts[:debug_return_type] || 'OryAccessControlPolicy'
340
344
 
341
345
  # auth_names
342
- auth_names = opts[:auth_names] || []
346
+ auth_names = opts[:debug_auth_names] || []
343
347
 
344
348
  new_options = opts.merge(
349
+ :operation => :"EnginesApi.get_ory_access_control_policy",
345
350
  :header_params => header_params,
346
351
  :query_params => query_params,
347
352
  :form_params => form_params,
@@ -401,15 +406,16 @@ module OryHydraClient
401
406
  form_params = opts[:form_params] || {}
402
407
 
403
408
  # http body (model)
404
- post_body = opts[:body]
409
+ post_body = opts[:debug_body]
405
410
 
406
411
  # return_type
407
- return_type = opts[:return_type] || 'OryAccessControlPolicyRole'
412
+ return_type = opts[:debug_return_type] || 'OryAccessControlPolicyRole'
408
413
 
409
414
  # auth_names
410
- auth_names = opts[:auth_names] || []
415
+ auth_names = opts[:debug_auth_names] || []
411
416
 
412
417
  new_options = opts.merge(
418
+ :operation => :"EnginesApi.get_ory_access_control_policy_role",
413
419
  :header_params => header_params,
414
420
  :query_params => query_params,
415
421
  :form_params => form_params,
@@ -476,15 +482,16 @@ module OryHydraClient
476
482
  form_params = opts[:form_params] || {}
477
483
 
478
484
  # http body (model)
479
- post_body = opts[:body]
485
+ post_body = opts[:debug_body]
480
486
 
481
487
  # return_type
482
- return_type = opts[:return_type] || 'Array<OryAccessControlPolicy>'
488
+ return_type = opts[:debug_return_type] || 'Array<OryAccessControlPolicy>'
483
489
 
484
490
  # auth_names
485
- auth_names = opts[:auth_names] || []
491
+ auth_names = opts[:debug_auth_names] || []
486
492
 
487
493
  new_options = opts.merge(
494
+ :operation => :"EnginesApi.list_ory_access_control_policies",
488
495
  :header_params => header_params,
489
496
  :query_params => query_params,
490
497
  :form_params => form_params,
@@ -547,15 +554,16 @@ module OryHydraClient
547
554
  form_params = opts[:form_params] || {}
548
555
 
549
556
  # http body (model)
550
- post_body = opts[:body]
557
+ post_body = opts[:debug_body]
551
558
 
552
559
  # return_type
553
- return_type = opts[:return_type] || 'Array<OryAccessControlPolicyRole>'
560
+ return_type = opts[:debug_return_type] || 'Array<OryAccessControlPolicyRole>'
554
561
 
555
562
  # auth_names
556
- auth_names = opts[:auth_names] || []
563
+ auth_names = opts[:debug_auth_names] || []
557
564
 
558
565
  new_options = opts.merge(
566
+ :operation => :"EnginesApi.list_ory_access_control_policy_roles",
559
567
  :header_params => header_params,
560
568
  :query_params => query_params,
561
569
  :form_params => form_params,
@@ -621,15 +629,16 @@ module OryHydraClient
621
629
  form_params = opts[:form_params] || {}
622
630
 
623
631
  # http body (model)
624
- post_body = opts[:body]
632
+ post_body = opts[:debug_body]
625
633
 
626
634
  # return_type
627
- return_type = opts[:return_type]
635
+ return_type = opts[:debug_return_type]
628
636
 
629
637
  # auth_names
630
- auth_names = opts[:auth_names] || []
638
+ auth_names = opts[:debug_auth_names] || []
631
639
 
632
640
  new_options = opts.merge(
641
+ :operation => :"EnginesApi.remove_ory_access_control_policy_role_members",
633
642
  :header_params => header_params,
634
643
  :query_params => query_params,
635
644
  :form_params => form_params,
@@ -685,15 +694,16 @@ module OryHydraClient
685
694
  form_params = opts[:form_params] || {}
686
695
 
687
696
  # http body (model)
688
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
697
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
689
698
 
690
699
  # return_type
691
- return_type = opts[:return_type] || 'OryAccessControlPolicy'
700
+ return_type = opts[:debug_return_type] || 'OryAccessControlPolicy'
692
701
 
693
702
  # auth_names
694
- auth_names = opts[:auth_names] || []
703
+ auth_names = opts[:debug_auth_names] || []
695
704
 
696
705
  new_options = opts.merge(
706
+ :operation => :"EnginesApi.upsert_ory_access_control_policy",
697
707
  :header_params => header_params,
698
708
  :query_params => query_params,
699
709
  :form_params => form_params,
@@ -751,15 +761,16 @@ module OryHydraClient
751
761
  form_params = opts[:form_params] || {}
752
762
 
753
763
  # http body (model)
754
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
764
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
755
765
 
756
766
  # return_type
757
- return_type = opts[:return_type] || 'OryAccessControlPolicyRole'
767
+ return_type = opts[:debug_return_type] || 'OryAccessControlPolicyRole'
758
768
 
759
769
  # auth_names
760
- auth_names = opts[:auth_names] || []
770
+ auth_names = opts[:debug_auth_names] || []
761
771
 
762
772
  new_options = opts.merge(
773
+ :operation => :"EnginesApi.upsert_ory_access_control_policy_role",
763
774
  :header_params => header_params,
764
775
  :query_params => query_params,
765
776
  :form_params => form_params,