ory-oathkeeper-client 0.38.4.beta1 → 0.38.12.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/docs/ApiApi.md +292 -37
  4. data/docs/CreateRuleCreated.md +8 -7
  5. data/docs/CreateRuleForbidden.md +8 -7
  6. data/docs/CreateRuleForbiddenBody.md +18 -17
  7. data/docs/CreateRuleInternalServerError.md +8 -7
  8. data/docs/CreateRuleInternalServerErrorBody.md +18 -17
  9. data/docs/CreateRuleUnauthorized.md +8 -7
  10. data/docs/CreateRuleUnauthorizedBody.md +18 -17
  11. data/docs/DecisionsForbidden.md +8 -7
  12. data/docs/DecisionsForbiddenBody.md +18 -17
  13. data/docs/DecisionsInternalServerError.md +8 -7
  14. data/docs/DecisionsInternalServerErrorBody.md +18 -17
  15. data/docs/DecisionsNotFound.md +8 -7
  16. data/docs/DecisionsNotFoundBody.md +18 -17
  17. data/docs/DecisionsUnauthorized.md +8 -7
  18. data/docs/DecisionsUnauthorizedBody.md +18 -17
  19. data/docs/DeleteRuleForbidden.md +8 -7
  20. data/docs/DeleteRuleForbiddenBody.md +18 -17
  21. data/docs/DeleteRuleInternalServerError.md +8 -7
  22. data/docs/DeleteRuleInternalServerErrorBody.md +18 -17
  23. data/docs/DeleteRuleNotFound.md +8 -7
  24. data/docs/DeleteRuleNotFoundBody.md +18 -17
  25. data/docs/DeleteRuleUnauthorized.md +8 -7
  26. data/docs/DeleteRuleUnauthorizedBody.md +18 -17
  27. data/docs/GetRuleForbidden.md +8 -7
  28. data/docs/GetRuleForbiddenBody.md +18 -17
  29. data/docs/GetRuleInternalServerError.md +8 -7
  30. data/docs/GetRuleInternalServerErrorBody.md +18 -17
  31. data/docs/GetRuleNotFound.md +8 -7
  32. data/docs/GetRuleNotFoundBody.md +18 -17
  33. data/docs/GetRuleOK.md +8 -7
  34. data/docs/GetRuleUnauthorized.md +8 -7
  35. data/docs/GetRuleUnauthorizedBody.md +18 -17
  36. data/docs/GetWellKnownForbidden.md +8 -7
  37. data/docs/GetWellKnownForbiddenBody.md +18 -17
  38. data/docs/GetWellKnownJSONWebKeysInternalServerError.md +8 -7
  39. data/docs/GetWellKnownJSONWebKeysInternalServerErrorBody.md +18 -17
  40. data/docs/GetWellKnownJSONWebKeysOK.md +8 -7
  41. data/docs/GetWellKnownOK.md +8 -7
  42. data/docs/GetWellKnownUnauthorized.md +8 -7
  43. data/docs/GetWellKnownUnauthorizedBody.md +18 -17
  44. data/docs/HealthNotReadyStatus.md +8 -7
  45. data/docs/HealthStatus.md +8 -7
  46. data/docs/InlineResponse500.md +18 -17
  47. data/docs/IsInstanceAliveInternalServerError.md +8 -7
  48. data/docs/IsInstanceAliveInternalServerErrorBody.md +18 -17
  49. data/docs/IsInstanceAliveOK.md +8 -7
  50. data/docs/JsonWebKey.md +40 -39
  51. data/docs/JsonWebKeySet.md +8 -7
  52. data/docs/JudgeForbidden.md +8 -7
  53. data/docs/JudgeForbiddenBody.md +18 -17
  54. data/docs/JudgeInternalServerError.md +8 -7
  55. data/docs/JudgeInternalServerErrorBody.md +18 -17
  56. data/docs/JudgeNotFound.md +8 -7
  57. data/docs/JudgeNotFoundBody.md +18 -17
  58. data/docs/JudgeUnauthorized.md +8 -7
  59. data/docs/JudgeUnauthorizedBody.md +18 -17
  60. data/docs/ListRulesForbidden.md +8 -7
  61. data/docs/ListRulesForbiddenBody.md +18 -17
  62. data/docs/ListRulesInternalServerError.md +8 -7
  63. data/docs/ListRulesInternalServerErrorBody.md +18 -17
  64. data/docs/ListRulesOK.md +8 -7
  65. data/docs/ListRulesUnauthorized.md +8 -7
  66. data/docs/ListRulesUnauthorizedBody.md +18 -17
  67. data/docs/Rule.md +20 -19
  68. data/docs/RuleHandler.md +10 -9
  69. data/docs/RuleMatch.md +10 -9
  70. data/docs/SwaggerCreateRuleParameters.md +8 -7
  71. data/docs/SwaggerGetRuleParameters.md +8 -7
  72. data/docs/SwaggerHealthStatus.md +8 -7
  73. data/docs/SwaggerJSONWebKey.md +40 -39
  74. data/docs/SwaggerJSONWebKeySet.md +8 -7
  75. data/docs/SwaggerListRulesParameters.md +10 -9
  76. data/docs/SwaggerNotReadyStatus.md +8 -7
  77. data/docs/SwaggerRule.md +20 -19
  78. data/docs/SwaggerRuleHandler.md +10 -9
  79. data/docs/SwaggerRuleMatch.md +10 -9
  80. data/docs/SwaggerRuleResponse.md +8 -7
  81. data/docs/SwaggerRulesResponse.md +8 -7
  82. data/docs/SwaggerUpdateRuleParameters.md +10 -9
  83. data/docs/SwaggerVersion.md +8 -7
  84. data/docs/UpdateRuleForbidden.md +8 -7
  85. data/docs/UpdateRuleForbiddenBody.md +18 -17
  86. data/docs/UpdateRuleInternalServerError.md +8 -7
  87. data/docs/UpdateRuleInternalServerErrorBody.md +18 -17
  88. data/docs/UpdateRuleNotFound.md +8 -7
  89. data/docs/UpdateRuleNotFoundBody.md +18 -17
  90. data/docs/UpdateRuleOK.md +8 -7
  91. data/docs/UpdateRuleUnauthorized.md +8 -7
  92. data/docs/UpdateRuleUnauthorizedBody.md +18 -17
  93. data/docs/Upstream.md +12 -11
  94. data/docs/Version.md +8 -7
  95. data/lib/ory-oathkeeper-client.rb +2 -4
  96. data/lib/ory-oathkeeper-client/api/api_api.rb +189 -14
  97. data/lib/ory-oathkeeper-client/api/health_api.rb +1 -1
  98. data/lib/ory-oathkeeper-client/api/version_api.rb +1 -1
  99. data/lib/ory-oathkeeper-client/api_client.rb +51 -49
  100. data/lib/ory-oathkeeper-client/api_error.rb +2 -2
  101. data/lib/ory-oathkeeper-client/configuration.rb +40 -11
  102. data/lib/ory-oathkeeper-client/models/create_rule_created.rb +20 -8
  103. data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +20 -8
  104. data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +21 -9
  105. data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +20 -8
  106. data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +21 -9
  107. data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +20 -8
  108. data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +21 -9
  109. data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +20 -8
  110. data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +21 -9
  111. data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +20 -8
  112. data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +21 -9
  113. data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +20 -8
  114. data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +21 -9
  115. data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +20 -8
  116. data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +21 -9
  117. data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +20 -8
  118. data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +21 -9
  119. data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +20 -8
  120. data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +21 -9
  121. data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +20 -8
  122. data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +21 -9
  123. data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +20 -8
  124. data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +21 -9
  125. data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +20 -8
  126. data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +21 -9
  127. data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +20 -8
  128. data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +21 -9
  129. data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +20 -8
  130. data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +21 -9
  131. data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +20 -8
  132. data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +20 -8
  133. data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +21 -9
  134. data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +20 -8
  135. data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +21 -9
  136. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +20 -8
  137. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +21 -9
  138. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +20 -8
  139. data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +20 -8
  140. data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +20 -8
  141. data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +21 -9
  142. data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +20 -8
  143. data/lib/ory-oathkeeper-client/models/health_status.rb +20 -8
  144. data/lib/ory-oathkeeper-client/models/inline_response500.rb +20 -8
  145. data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +20 -8
  146. data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +21 -9
  147. data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +20 -8
  148. data/lib/ory-oathkeeper-client/models/json_web_key.rb +20 -8
  149. data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +20 -8
  150. data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +20 -8
  151. data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +21 -9
  152. data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +20 -8
  153. data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +21 -9
  154. data/lib/ory-oathkeeper-client/models/judge_not_found.rb +20 -8
  155. data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +21 -9
  156. data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +20 -8
  157. data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +21 -9
  158. data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +20 -8
  159. data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +21 -9
  160. data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +20 -8
  161. data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +21 -9
  162. data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +20 -8
  163. data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +20 -8
  164. data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +21 -9
  165. data/lib/ory-oathkeeper-client/models/rule.rb +20 -8
  166. data/lib/ory-oathkeeper-client/models/rule_handler.rb +20 -8
  167. data/lib/ory-oathkeeper-client/models/rule_match.rb +20 -8
  168. data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +20 -8
  169. data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +20 -8
  170. data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +20 -8
  171. data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +20 -8
  172. data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +20 -8
  173. data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +20 -8
  174. data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +20 -8
  175. data/lib/ory-oathkeeper-client/models/swagger_rule.rb +20 -8
  176. data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +20 -8
  177. data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +20 -8
  178. data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +20 -8
  179. data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +20 -8
  180. data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +20 -8
  181. data/lib/ory-oathkeeper-client/models/swagger_version.rb +20 -8
  182. data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +20 -8
  183. data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +21 -9
  184. data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +20 -8
  185. data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +21 -9
  186. data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +20 -8
  187. data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +21 -9
  188. data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +20 -8
  189. data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +20 -8
  190. data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +21 -9
  191. data/lib/ory-oathkeeper-client/models/upstream.rb +20 -8
  192. data/lib/ory-oathkeeper-client/models/version.rb +20 -8
  193. data/lib/ory-oathkeeper-client/version.rb +3 -3
  194. data/ory-oathkeeper-client.gemspec +4 -5
  195. data/spec/api_client_spec.rb +3 -3
  196. data/spec/configuration_spec.rb +2 -2
  197. data/spec/spec_helper.rb +2 -2
  198. metadata +78 -98
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **version** | **String** | Version is the service's version. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | Version is the service's version. | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::SwaggerVersion.new(version: null)
14
+ instance = OryHydraClient::SwaggerVersion.new(
15
+ version: 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
- **payload** | [**UpdateRuleForbiddenBody**](UpdateRuleForbiddenBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**UpdateRuleForbiddenBody**](UpdateRuleForbiddenBody.md) | | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::UpdateRuleForbidden.new(payload: null)
14
+ instance = OryHydraClient::UpdateRuleForbidden.new(
15
+ payload: 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** | code | [optional]
8
- **details** | **Array<Hash<String, Object>>** | details | [optional]
9
- **message** | **String** | message | [optional]
10
- **reason** | **String** | reason | [optional]
11
- **request** | **String** | request | [optional]
12
- **status** | **String** | status | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | code | [optional] |
8
+ | **details** | **Array<Object>** | details | [optional] |
9
+ | **message** | **String** | message | [optional] |
10
+ | **reason** | **String** | reason | [optional] |
11
+ | **request** | **String** | request | [optional] |
12
+ | **status** | **String** | status | [optional] |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-oathkeeper-client'
18
18
 
19
- instance = OryHydraClient::UpdateRuleForbiddenBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::UpdateRuleForbiddenBody.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,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **payload** | [**UpdateRuleInternalServerErrorBody**](UpdateRuleInternalServerErrorBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**UpdateRuleInternalServerErrorBody**](UpdateRuleInternalServerErrorBody.md) | | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::UpdateRuleInternalServerError.new(payload: null)
14
+ instance = OryHydraClient::UpdateRuleInternalServerError.new(
15
+ payload: 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** | code | [optional]
8
- **details** | **Array<Hash<String, Object>>** | details | [optional]
9
- **message** | **String** | message | [optional]
10
- **reason** | **String** | reason | [optional]
11
- **request** | **String** | request | [optional]
12
- **status** | **String** | status | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | code | [optional] |
8
+ | **details** | **Array<Object>** | details | [optional] |
9
+ | **message** | **String** | message | [optional] |
10
+ | **reason** | **String** | reason | [optional] |
11
+ | **request** | **String** | request | [optional] |
12
+ | **status** | **String** | status | [optional] |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-oathkeeper-client'
18
18
 
19
- instance = OryHydraClient::UpdateRuleInternalServerErrorBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::UpdateRuleInternalServerErrorBody.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,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **payload** | [**UpdateRuleNotFoundBody**](UpdateRuleNotFoundBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**UpdateRuleNotFoundBody**](UpdateRuleNotFoundBody.md) | | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::UpdateRuleNotFound.new(payload: null)
14
+ instance = OryHydraClient::UpdateRuleNotFound.new(
15
+ payload: 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** | code | [optional]
8
- **details** | **Array<Hash<String, Object>>** | details | [optional]
9
- **message** | **String** | message | [optional]
10
- **reason** | **String** | reason | [optional]
11
- **request** | **String** | request | [optional]
12
- **status** | **String** | status | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | code | [optional] |
8
+ | **details** | **Array<Object>** | details | [optional] |
9
+ | **message** | **String** | message | [optional] |
10
+ | **reason** | **String** | reason | [optional] |
11
+ | **request** | **String** | request | [optional] |
12
+ | **status** | **String** | status | [optional] |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-oathkeeper-client'
18
18
 
19
- instance = OryHydraClient::UpdateRuleNotFoundBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::UpdateRuleNotFoundBody.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
-
data/docs/UpdateRuleOK.md CHANGED
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **payload** | [**SwaggerRule**](SwaggerRule.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**SwaggerRule**](SwaggerRule.md) | | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::UpdateRuleOK.new(payload: null)
14
+ instance = OryHydraClient::UpdateRuleOK.new(
15
+ payload: 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
- **payload** | [**UpdateRuleUnauthorizedBody**](UpdateRuleUnauthorizedBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**UpdateRuleUnauthorizedBody**](UpdateRuleUnauthorizedBody.md) | | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::UpdateRuleUnauthorized.new(payload: null)
14
+ instance = OryHydraClient::UpdateRuleUnauthorized.new(
15
+ payload: 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** | code | [optional]
8
- **details** | **Array<Hash<String, Object>>** | details | [optional]
9
- **message** | **String** | message | [optional]
10
- **reason** | **String** | reason | [optional]
11
- **request** | **String** | request | [optional]
12
- **status** | **String** | status | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | code | [optional] |
8
+ | **details** | **Array<Object>** | details | [optional] |
9
+ | **message** | **String** | message | [optional] |
10
+ | **reason** | **String** | reason | [optional] |
11
+ | **request** | **String** | request | [optional] |
12
+ | **status** | **String** | status | [optional] |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-oathkeeper-client'
18
18
 
19
- instance = OryHydraClient::UpdateRuleUnauthorizedBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::UpdateRuleUnauthorizedBody.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
-
data/docs/Upstream.md CHANGED
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **preserve_host** | **Boolean** | PreserveHost, if false (the default), tells ORY Oathkeeper to set the upstream request's Host header to the hostname of the API's upstream's URL. Setting this flag to true instructs ORY Oathkeeper not to do so. | [optional]
8
- **strip_path** | **String** | StripPath if set, replaces the provided path prefix when forwarding the requested URL to the upstream URL. | [optional]
9
- **url** | **String** | URL is the URL the request will be proxied to. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **preserve_host** | **Boolean** | PreserveHost, if false (the default), tells ORY Oathkeeper to set the upstream request's Host header to the hostname of the API's upstream's URL. Setting this flag to true instructs ORY Oathkeeper not to do so. | [optional] |
8
+ | **strip_path** | **String** | StripPath if set, replaces the provided path prefix when forwarding the requested URL to the upstream URL. | [optional] |
9
+ | **url** | **String** | URL is the URL the request will be proxied to. | [optional] |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'OryHydraClient'
14
+ require 'ory-oathkeeper-client'
15
15
 
16
- instance = OryHydraClient::Upstream.new(preserve_host: null,
17
- strip_path: null,
18
- url: null)
16
+ instance = OryHydraClient::Upstream.new(
17
+ preserve_host: null,
18
+ strip_path: null,
19
+ url: null
20
+ )
19
21
  ```
20
22
 
21
-
data/docs/Version.md CHANGED
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **version** | **String** | Version is the service's version. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | Version is the service's version. | [optional] |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::Version.new(version: null)
14
+ instance = OryHydraClient::Version.new(
15
+ version: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -3,10 +3,10 @@
3
3
 
4
4
  #ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
5
5
 
6
- The version of the OpenAPI document: v0.38.4-beta.1
6
+ The version of the OpenAPI document: v0.38.12-beta.1
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -30,8 +30,6 @@ require 'ory-oathkeeper-client/models/version'
30
30
 
31
31
  # APIs
32
32
  require 'ory-oathkeeper-client/api/api_api'
33
- require 'ory-oathkeeper-client/api/health_api'
34
- require 'ory-oathkeeper-client/api/version_api'
35
33
 
36
34
  module OryHydraClient
37
35
  class << self
@@ -3,10 +3,10 @@
3
3
 
4
4
  #ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
5
5
 
6
- The version of the OpenAPI document: v0.38.4-beta.1
6
+ The version of the OpenAPI document: v0.38.12-beta.1
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -51,15 +51,16 @@ module OryHydraClient
51
51
  form_params = opts[:form_params] || {}
52
52
 
53
53
  # http body (model)
54
- post_body = opts[:body]
54
+ post_body = opts[:debug_body]
55
55
 
56
56
  # return_type
57
- return_type = opts[:return_type]
57
+ return_type = opts[:debug_return_type]
58
58
 
59
59
  # auth_names
60
- auth_names = opts[:auth_names] || []
60
+ auth_names = opts[:debug_auth_names] || []
61
61
 
62
62
  new_options = opts.merge(
63
+ :operation => :"ApiApi.decisions",
63
64
  :header_params => header_params,
64
65
  :query_params => query_params,
65
66
  :form_params => form_params,
@@ -113,15 +114,16 @@ module OryHydraClient
113
114
  form_params = opts[:form_params] || {}
114
115
 
115
116
  # http body (model)
116
- post_body = opts[:body]
117
+ post_body = opts[:debug_body]
117
118
 
118
119
  # return_type
119
- return_type = opts[:return_type] || 'Rule'
120
+ return_type = opts[:debug_return_type] || 'Rule'
120
121
 
121
122
  # auth_names
122
- auth_names = opts[:auth_names] || []
123
+ auth_names = opts[:debug_auth_names] || []
123
124
 
124
125
  new_options = opts.merge(
126
+ :operation => :"ApiApi.get_rule",
125
127
  :header_params => header_params,
126
128
  :query_params => query_params,
127
129
  :form_params => form_params,
@@ -137,6 +139,63 @@ module OryHydraClient
137
139
  return data, status_code, headers
138
140
  end
139
141
 
142
+ # Get service version
143
+ # 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.
144
+ # @param [Hash] opts the optional parameters
145
+ # @return [Version]
146
+ def get_version(opts = {})
147
+ data, _status_code, _headers = get_version_with_http_info(opts)
148
+ data
149
+ end
150
+
151
+ # Get service version
152
+ # This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; 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.
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [Array<(Version, Integer, Hash)>] Version data, response status code and response headers
155
+ def get_version_with_http_info(opts = {})
156
+ if @api_client.config.debugging
157
+ @api_client.config.logger.debug 'Calling API: ApiApi.get_version ...'
158
+ end
159
+ # resource path
160
+ local_var_path = '/version'
161
+
162
+ # query parameters
163
+ query_params = opts[:query_params] || {}
164
+
165
+ # header parameters
166
+ header_params = opts[:header_params] || {}
167
+ # HTTP header 'Accept' (if needed)
168
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
169
+
170
+ # form parameters
171
+ form_params = opts[:form_params] || {}
172
+
173
+ # http body (model)
174
+ post_body = opts[:debug_body]
175
+
176
+ # return_type
177
+ return_type = opts[:debug_return_type] || 'Version'
178
+
179
+ # auth_names
180
+ auth_names = opts[:debug_auth_names] || []
181
+
182
+ new_options = opts.merge(
183
+ :operation => :"ApiApi.get_version",
184
+ :header_params => header_params,
185
+ :query_params => query_params,
186
+ :form_params => form_params,
187
+ :body => post_body,
188
+ :auth_names => auth_names,
189
+ :return_type => return_type
190
+ )
191
+
192
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
193
+ if @api_client.config.debugging
194
+ @api_client.config.logger.debug "API called: ApiApi#get_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
195
+ end
196
+ return data, status_code, headers
197
+ end
198
+
140
199
  # Lists cryptographic keys
141
200
  # This endpoint returns cryptographic keys that are required to, for example, verify signatures of ID Tokens.
142
201
  # @param [Hash] opts the optional parameters
@@ -169,15 +228,16 @@ module OryHydraClient
169
228
  form_params = opts[:form_params] || {}
170
229
 
171
230
  # http body (model)
172
- post_body = opts[:body]
231
+ post_body = opts[:debug_body]
173
232
 
174
233
  # return_type
175
- return_type = opts[:return_type] || 'JsonWebKeySet'
234
+ return_type = opts[:debug_return_type] || 'JsonWebKeySet'
176
235
 
177
236
  # auth_names
178
- auth_names = opts[:auth_names] || []
237
+ auth_names = opts[:debug_auth_names] || []
179
238
 
180
239
  new_options = opts.merge(
240
+ :operation => :"ApiApi.get_well_known_json_web_keys",
181
241
  :header_params => header_params,
182
242
  :query_params => query_params,
183
243
  :form_params => form_params,
@@ -193,6 +253,120 @@ module OryHydraClient
193
253
  return data, status_code, headers
194
254
  end
195
255
 
256
+ # Check alive status
257
+ # 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.
258
+ # @param [Hash] opts the optional parameters
259
+ # @return [HealthStatus]
260
+ def is_instance_alive(opts = {})
261
+ data, _status_code, _headers = is_instance_alive_with_http_info(opts)
262
+ data
263
+ end
264
+
265
+ # Check alive status
266
+ # 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 &#x60;X-Forwarded-Proto&#x60; 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.
267
+ # @param [Hash] opts the optional parameters
268
+ # @return [Array<(HealthStatus, Integer, Hash)>] HealthStatus data, response status code and response headers
269
+ def is_instance_alive_with_http_info(opts = {})
270
+ if @api_client.config.debugging
271
+ @api_client.config.logger.debug 'Calling API: ApiApi.is_instance_alive ...'
272
+ end
273
+ # resource path
274
+ local_var_path = '/health/alive'
275
+
276
+ # query parameters
277
+ query_params = opts[:query_params] || {}
278
+
279
+ # header parameters
280
+ header_params = opts[:header_params] || {}
281
+ # HTTP header 'Accept' (if needed)
282
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
283
+
284
+ # form parameters
285
+ form_params = opts[:form_params] || {}
286
+
287
+ # http body (model)
288
+ post_body = opts[:debug_body]
289
+
290
+ # return_type
291
+ return_type = opts[:debug_return_type] || 'HealthStatus'
292
+
293
+ # auth_names
294
+ auth_names = opts[:debug_auth_names] || []
295
+
296
+ new_options = opts.merge(
297
+ :operation => :"ApiApi.is_instance_alive",
298
+ :header_params => header_params,
299
+ :query_params => query_params,
300
+ :form_params => form_params,
301
+ :body => post_body,
302
+ :auth_names => auth_names,
303
+ :return_type => return_type
304
+ )
305
+
306
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
307
+ if @api_client.config.debugging
308
+ @api_client.config.logger.debug "API called: ApiApi#is_instance_alive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
309
+ end
310
+ return data, status_code, headers
311
+ end
312
+
313
+ # Check readiness status
314
+ # 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.
315
+ # @param [Hash] opts the optional parameters
316
+ # @return [HealthStatus]
317
+ def is_instance_ready(opts = {})
318
+ data, _status_code, _headers = is_instance_ready_with_http_info(opts)
319
+ data
320
+ end
321
+
322
+ # Check readiness status
323
+ # 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 &#x60;X-Forwarded-Proto&#x60; 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.
324
+ # @param [Hash] opts the optional parameters
325
+ # @return [Array<(HealthStatus, Integer, Hash)>] HealthStatus data, response status code and response headers
326
+ def is_instance_ready_with_http_info(opts = {})
327
+ if @api_client.config.debugging
328
+ @api_client.config.logger.debug 'Calling API: ApiApi.is_instance_ready ...'
329
+ end
330
+ # resource path
331
+ local_var_path = '/health/ready'
332
+
333
+ # query parameters
334
+ query_params = opts[:query_params] || {}
335
+
336
+ # header parameters
337
+ header_params = opts[:header_params] || {}
338
+ # HTTP header 'Accept' (if needed)
339
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
340
+
341
+ # form parameters
342
+ form_params = opts[:form_params] || {}
343
+
344
+ # http body (model)
345
+ post_body = opts[:debug_body]
346
+
347
+ # return_type
348
+ return_type = opts[:debug_return_type] || 'HealthStatus'
349
+
350
+ # auth_names
351
+ auth_names = opts[:debug_auth_names] || []
352
+
353
+ new_options = opts.merge(
354
+ :operation => :"ApiApi.is_instance_ready",
355
+ :header_params => header_params,
356
+ :query_params => query_params,
357
+ :form_params => form_params,
358
+ :body => post_body,
359
+ :auth_names => auth_names,
360
+ :return_type => return_type
361
+ )
362
+
363
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
364
+ if @api_client.config.debugging
365
+ @api_client.config.logger.debug "API called: ApiApi#is_instance_ready\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
366
+ end
367
+ return data, status_code, headers
368
+ end
369
+
196
370
  # List all rules
197
371
  # This method returns an array of all rules that are stored in the backend. This is useful if you want to get a full view of what rules you have currently in place.
198
372
  # @param [Hash] opts the optional parameters
@@ -231,15 +405,16 @@ module OryHydraClient
231
405
  form_params = opts[:form_params] || {}
232
406
 
233
407
  # http body (model)
234
- post_body = opts[:body]
408
+ post_body = opts[:debug_body]
235
409
 
236
410
  # return_type
237
- return_type = opts[:return_type] || 'Array<Rule>'
411
+ return_type = opts[:debug_return_type] || 'Array<Rule>'
238
412
 
239
413
  # auth_names
240
- auth_names = opts[:auth_names] || []
414
+ auth_names = opts[:debug_auth_names] || []
241
415
 
242
416
  new_options = opts.merge(
417
+ :operation => :"ApiApi.list_rules",
243
418
  :header_params => header_params,
244
419
  :query_params => query_params,
245
420
  :form_params => form_params,