ory-oathkeeper-client 0.38.5.beta1 → 0.38.9.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ApiApi.md +106 -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/HealthApi.md +50 -15
  45. data/docs/HealthNotReadyStatus.md +8 -7
  46. data/docs/HealthStatus.md +8 -7
  47. data/docs/InlineResponse500.md +18 -17
  48. data/docs/IsInstanceAliveInternalServerError.md +8 -7
  49. data/docs/IsInstanceAliveInternalServerErrorBody.md +18 -17
  50. data/docs/IsInstanceAliveOK.md +8 -7
  51. data/docs/JsonWebKey.md +40 -39
  52. data/docs/JsonWebKeySet.md +8 -7
  53. data/docs/JudgeForbidden.md +8 -7
  54. data/docs/JudgeForbiddenBody.md +18 -17
  55. data/docs/JudgeInternalServerError.md +8 -7
  56. data/docs/JudgeInternalServerErrorBody.md +18 -17
  57. data/docs/JudgeNotFound.md +8 -7
  58. data/docs/JudgeNotFoundBody.md +18 -17
  59. data/docs/JudgeUnauthorized.md +8 -7
  60. data/docs/JudgeUnauthorizedBody.md +18 -17
  61. data/docs/ListRulesForbidden.md +8 -7
  62. data/docs/ListRulesForbiddenBody.md +18 -17
  63. data/docs/ListRulesInternalServerError.md +8 -7
  64. data/docs/ListRulesInternalServerErrorBody.md +18 -17
  65. data/docs/ListRulesOK.md +8 -7
  66. data/docs/ListRulesUnauthorized.md +8 -7
  67. data/docs/ListRulesUnauthorizedBody.md +18 -17
  68. data/docs/Rule.md +20 -19
  69. data/docs/RuleHandler.md +10 -9
  70. data/docs/RuleMatch.md +10 -9
  71. data/docs/SwaggerCreateRuleParameters.md +8 -7
  72. data/docs/SwaggerGetRuleParameters.md +8 -7
  73. data/docs/SwaggerHealthStatus.md +8 -7
  74. data/docs/SwaggerJSONWebKey.md +40 -39
  75. data/docs/SwaggerJSONWebKeySet.md +8 -7
  76. data/docs/SwaggerListRulesParameters.md +10 -9
  77. data/docs/SwaggerNotReadyStatus.md +8 -7
  78. data/docs/SwaggerRule.md +20 -19
  79. data/docs/SwaggerRuleHandler.md +10 -9
  80. data/docs/SwaggerRuleMatch.md +10 -9
  81. data/docs/SwaggerRuleResponse.md +8 -7
  82. data/docs/SwaggerRulesResponse.md +8 -7
  83. data/docs/SwaggerUpdateRuleParameters.md +10 -9
  84. data/docs/SwaggerVersion.md +8 -7
  85. data/docs/UpdateRuleForbidden.md +8 -7
  86. data/docs/UpdateRuleForbiddenBody.md +18 -17
  87. data/docs/UpdateRuleInternalServerError.md +8 -7
  88. data/docs/UpdateRuleInternalServerErrorBody.md +18 -17
  89. data/docs/UpdateRuleNotFound.md +8 -7
  90. data/docs/UpdateRuleNotFoundBody.md +18 -17
  91. data/docs/UpdateRuleOK.md +8 -7
  92. data/docs/UpdateRuleUnauthorized.md +8 -7
  93. data/docs/UpdateRuleUnauthorizedBody.md +18 -17
  94. data/docs/Upstream.md +12 -11
  95. data/docs/Version.md +8 -7
  96. data/docs/VersionApi.md +26 -9
  97. data/lib/ory-oathkeeper-client.rb +2 -2
  98. data/lib/ory-oathkeeper-client/api/api_api.rb +18 -14
  99. data/lib/ory-oathkeeper-client/api/health_api.rb +10 -8
  100. data/lib/ory-oathkeeper-client/api/version_api.rb +6 -5
  101. data/lib/ory-oathkeeper-client/api_client.rb +50 -48
  102. data/lib/ory-oathkeeper-client/api_error.rb +2 -2
  103. data/lib/ory-oathkeeper-client/configuration.rb +34 -7
  104. data/lib/ory-oathkeeper-client/models/create_rule_created.rb +20 -8
  105. data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +20 -8
  106. data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +21 -9
  107. data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +20 -8
  108. data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +21 -9
  109. data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +20 -8
  110. data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +21 -9
  111. data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +20 -8
  112. data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +21 -9
  113. data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +20 -8
  114. data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +21 -9
  115. data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +20 -8
  116. data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +21 -9
  117. data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +20 -8
  118. data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +21 -9
  119. data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +20 -8
  120. data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +21 -9
  121. data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +20 -8
  122. data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +21 -9
  123. data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +20 -8
  124. data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +21 -9
  125. data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +20 -8
  126. data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +21 -9
  127. data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +20 -8
  128. data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +21 -9
  129. data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +20 -8
  130. data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +21 -9
  131. data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +20 -8
  132. data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +21 -9
  133. data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +20 -8
  134. data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +20 -8
  135. data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +21 -9
  136. data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +20 -8
  137. data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +21 -9
  138. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +20 -8
  139. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +21 -9
  140. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +20 -8
  141. data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +20 -8
  142. data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +20 -8
  143. data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +21 -9
  144. data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +20 -8
  145. data/lib/ory-oathkeeper-client/models/health_status.rb +20 -8
  146. data/lib/ory-oathkeeper-client/models/inline_response500.rb +20 -8
  147. data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +20 -8
  148. data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +21 -9
  149. data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +20 -8
  150. data/lib/ory-oathkeeper-client/models/json_web_key.rb +20 -8
  151. data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +20 -8
  152. data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +20 -8
  153. data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +21 -9
  154. data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +20 -8
  155. data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +21 -9
  156. data/lib/ory-oathkeeper-client/models/judge_not_found.rb +20 -8
  157. data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +21 -9
  158. data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +20 -8
  159. data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +21 -9
  160. data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +20 -8
  161. data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +21 -9
  162. data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +20 -8
  163. data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +21 -9
  164. data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +20 -8
  165. data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +20 -8
  166. data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +21 -9
  167. data/lib/ory-oathkeeper-client/models/rule.rb +20 -8
  168. data/lib/ory-oathkeeper-client/models/rule_handler.rb +20 -8
  169. data/lib/ory-oathkeeper-client/models/rule_match.rb +20 -8
  170. data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +20 -8
  171. data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +20 -8
  172. data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +20 -8
  173. data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +20 -8
  174. data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +20 -8
  175. data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +20 -8
  176. data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +20 -8
  177. data/lib/ory-oathkeeper-client/models/swagger_rule.rb +20 -8
  178. data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +20 -8
  179. data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +20 -8
  180. data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +20 -8
  181. data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +20 -8
  182. data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +20 -8
  183. data/lib/ory-oathkeeper-client/models/swagger_version.rb +20 -8
  184. data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +20 -8
  185. data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +21 -9
  186. data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +20 -8
  187. data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +21 -9
  188. data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +20 -8
  189. data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +21 -9
  190. data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +20 -8
  191. data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +20 -8
  192. data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +21 -9
  193. data/lib/ory-oathkeeper-client/models/upstream.rb +20 -8
  194. data/lib/ory-oathkeeper-client/models/version.rb +20 -8
  195. data/lib/ory-oathkeeper-client/version.rb +3 -3
  196. data/ory-oathkeeper-client.gemspec +4 -5
  197. data/spec/api_client_spec.rb +3 -3
  198. data/spec/configuration_spec.rb +2 -2
  199. data/spec/spec_helper.rb +2 -2
  200. metadata +81 -101
@@ -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::GetRuleUnauthorizedBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::GetRuleUnauthorizedBody.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** | [**GetWellKnownForbiddenBody**](GetWellKnownForbiddenBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**GetWellKnownForbiddenBody**](GetWellKnownForbiddenBody.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::GetWellKnownForbidden.new(payload: null)
14
+ instance = OryHydraClient::GetWellKnownForbidden.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::GetWellKnownForbiddenBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::GetWellKnownForbiddenBody.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** | [**GetWellKnownJSONWebKeysInternalServerErrorBody**](GetWellKnownJSONWebKeysInternalServerErrorBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**GetWellKnownJSONWebKeysInternalServerErrorBody**](GetWellKnownJSONWebKeysInternalServerErrorBody.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::GetWellKnownJSONWebKeysInternalServerError.new(payload: null)
14
+ instance = OryHydraClient::GetWellKnownJSONWebKeysInternalServerError.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::GetWellKnownJSONWebKeysInternalServerErrorBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::GetWellKnownJSONWebKeysInternalServerErrorBody.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** | [**SwaggerJSONWebKeySet**](SwaggerJSONWebKeySet.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**SwaggerJSONWebKeySet**](SwaggerJSONWebKeySet.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::GetWellKnownJSONWebKeysOK.new(payload: null)
14
+ instance = OryHydraClient::GetWellKnownJSONWebKeysOK.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** | [**SwaggerJSONWebKeySet**](SwaggerJSONWebKeySet.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**SwaggerJSONWebKeySet**](SwaggerJSONWebKeySet.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::GetWellKnownOK.new(payload: null)
14
+ instance = OryHydraClient::GetWellKnownOK.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** | [**GetWellKnownUnauthorizedBody**](GetWellKnownUnauthorizedBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**GetWellKnownUnauthorizedBody**](GetWellKnownUnauthorizedBody.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::GetWellKnownUnauthorized.new(payload: null)
14
+ instance = OryHydraClient::GetWellKnownUnauthorized.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::GetWellKnownUnauthorizedBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::GetWellKnownUnauthorizedBody.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/HealthApi.md CHANGED
@@ -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-oathkeeper-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-oathkeeper-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-oathkeeper-client'
13
13
 
14
- instance = OryHydraClient::HealthNotReadyStatus.new(errors: null)
14
+ instance = OryHydraClient::HealthNotReadyStatus.new(
15
+ errors: null
16
+ )
15
17
  ```
16
18
 
17
-