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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fd2a62612937b09b2a114c2337d525efa664a932184a230fcc2fb6f105b08b4
4
- data.tar.gz: fafaad09701c94255e5eedf06c3f8886e9394af8a487d500292800632f22ed9c
3
+ metadata.gz: f55377676e044a41f1496f05f58335497dbb14f7aba78e374400cab081323b5c
4
+ data.tar.gz: 3162661e0ecfcf1601f6f4f7f7ac5ce9abbe1534c89e532696392f07e96cc69b
5
5
  SHA512:
6
- metadata.gz: 5e93c2cc86671963f4fa1512780cf3b91adc698c275c509aeffefcad14dc42a5415e3fb204cc7d0ffc8eae441a2aa4ef49867ec923baa9d54ee0383e37c23b67
7
- data.tar.gz: aee9c86b1e2f45ac69dadd0a5611c8d5e5d3ba0b3ffb77d88ac38cd3cd42460e33c86dd45a22d45a7e99657419c2d2a1cd176257e30238376b54a4ded9bb8c28
6
+ metadata.gz: 7324011eb52ec71c144d1e58ee4226cc0f57f343c863d6a8b154598cb29dd7c671584dd31f70a0eec9d2bee4fd4d8ec51ac7814a614c8729f1c3efa07ec6356b
7
+ data.tar.gz: bc0dc287f563a49f7e47f72224ca9c33cd8d95162c9903e10ce5826023b4c356d284b8f50a27e998d717e8a8d599b22c9a0bd7620f0f4fb71624d43ac5cd7926
data/README.md CHANGED
@@ -6,8 +6,8 @@ ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validit
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
- - API version: v0.38.5-beta.1
10
- - Package version: v0.38.5-beta.1
9
+ - API version: v0.38.9-beta.1
10
+ - Package version: v0.38.9-beta.1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.ory.am](https://www.ory.am)
13
13
 
@@ -24,16 +24,16 @@ gem build ory-oathkeeper-client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ory-oathkeeper-client-v0.38.5-beta.1.gem
27
+ gem install ./ory-oathkeeper-client-v0.38.9-beta.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ory-oathkeeper-client-v0.38.5-beta.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ory-oathkeeper-client-v0.38.9-beta.1.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ory-oathkeeper-client', '~> v0.38.5-beta.1'
36
+ gem 'ory-oathkeeper-client', '~> v0.38.9-beta.1'
37
37
 
38
38
  ### Install from Git
39
39
 
data/docs/ApiApi.md CHANGED
@@ -2,13 +2,12 @@
2
2
 
3
3
  All URIs are relative to *http://localhost*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**decisions**](ApiApi.md#decisions) | **GET** /decisions | Access Control Decision API
8
- [**get_rule**](ApiApi.md#get_rule) | **GET** /rules/{id} | Retrieve a rule
9
- [**get_well_known_json_web_keys**](ApiApi.md#get_well_known_json_web_keys) | **GET** /.well-known/jwks.json | Lists cryptographic keys
10
- [**list_rules**](ApiApi.md#list_rules) | **GET** /rules | List all rules
11
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**decisions**](ApiApi.md#decisions) | **GET** /decisions | Access Control Decision API |
8
+ | [**get_rule**](ApiApi.md#get_rule) | **GET** /rules/{id} | Retrieve a rule |
9
+ | [**get_well_known_json_web_keys**](ApiApi.md#get_well_known_json_web_keys) | **GET** /.well-known/jwks.json | Lists cryptographic keys |
10
+ | [**list_rules**](ApiApi.md#list_rules) | **GET** /rules | List all rules |
12
11
 
13
12
 
14
13
  ## decisions
@@ -19,19 +18,37 @@ Access Control Decision API
19
18
 
20
19
  > This endpoint works with all HTTP Methods (GET, POST, PUT, ...) and matches every path prefixed with /decision. This endpoint mirrors the proxy capability of ORY Oathkeeper's proxy functionality but instead of forwarding the request to the upstream server, returns 200 (request should be allowed), 401 (unauthorized), or 403 (forbidden) status codes. This endpoint can be used to integrate with other API Proxies like Ambassador, Kong, Envoy, and many more.
21
20
 
22
- ### Example
21
+ ### Examples
23
22
 
24
23
  ```ruby
25
- # load the gem
24
+ require 'time'
26
25
  require 'ory-oathkeeper-client'
27
26
 
28
27
  api_instance = OryHydraClient::ApiApi.new
29
28
 
30
29
  begin
31
- #Access Control Decision API
30
+ # Access Control Decision API
32
31
  api_instance.decisions
33
32
  rescue OryHydraClient::ApiError => e
34
- puts "Exception when calling ApiApi->decisions: #{e}"
33
+ puts "Error when calling ApiApi->decisions: #{e}"
34
+ end
35
+ ```
36
+
37
+ #### Using the decisions_with_http_info variant
38
+
39
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
40
+
41
+ > <Array(nil, Integer, Hash)> decisions_with_http_info
42
+
43
+ ```ruby
44
+ begin
45
+ # Access Control Decision API
46
+ data, status_code, headers = api_instance.decisions_with_http_info
47
+ p status_code # => 2xx
48
+ p headers # => { ... }
49
+ p data # => nil
50
+ rescue OryHydraClient::ApiError => e
51
+ puts "Error when calling ApiApi->decisions_with_http_info: #{e}"
35
52
  end
36
53
  ```
37
54
 
@@ -55,36 +72,53 @@ No authorization required
55
72
 
56
73
  ## get_rule
57
74
 
58
- > Rule get_rule(id)
75
+ > <Rule> get_rule(id)
59
76
 
60
77
  Retrieve a rule
61
78
 
62
79
  Use this method to retrieve a rule from the storage. If it does not exist you will receive a 404 error.
63
80
 
64
- ### Example
81
+ ### Examples
65
82
 
66
83
  ```ruby
67
- # load the gem
84
+ require 'time'
68
85
  require 'ory-oathkeeper-client'
69
86
 
70
87
  api_instance = OryHydraClient::ApiApi.new
71
88
  id = 'id_example' # String |
72
89
 
73
90
  begin
74
- #Retrieve a rule
91
+ # Retrieve a rule
75
92
  result = api_instance.get_rule(id)
76
93
  p result
77
94
  rescue OryHydraClient::ApiError => e
78
- puts "Exception when calling ApiApi->get_rule: #{e}"
95
+ puts "Error when calling ApiApi->get_rule: #{e}"
79
96
  end
80
97
  ```
81
98
 
82
- ### Parameters
99
+ #### Using the get_rule_with_http_info variant
100
+
101
+ This returns an Array which contains the response data, status code and headers.
102
+
103
+ > <Array(<Rule>, Integer, Hash)> get_rule_with_http_info(id)
104
+
105
+ ```ruby
106
+ begin
107
+ # Retrieve a rule
108
+ data, status_code, headers = api_instance.get_rule_with_http_info(id)
109
+ p status_code # => 2xx
110
+ p headers # => { ... }
111
+ p data # => <Rule>
112
+ rescue OryHydraClient::ApiError => e
113
+ puts "Error when calling ApiApi->get_rule_with_http_info: #{e}"
114
+ end
115
+ ```
83
116
 
117
+ ### Parameters
84
118
 
85
- Name | Type | Description | Notes
86
- ------------- | ------------- | ------------- | -------------
87
- **id** | **String**| |
119
+ | Name | Type | Description | Notes |
120
+ | ---- | ---- | ----------- | ----- |
121
+ | **id** | **String** | | |
88
122
 
89
123
  ### Return type
90
124
 
@@ -102,26 +136,44 @@ No authorization required
102
136
 
103
137
  ## get_well_known_json_web_keys
104
138
 
105
- > JsonWebKeySet get_well_known_json_web_keys
139
+ > <JsonWebKeySet> get_well_known_json_web_keys
106
140
 
107
141
  Lists cryptographic keys
108
142
 
109
143
  This endpoint returns cryptographic keys that are required to, for example, verify signatures of ID Tokens.
110
144
 
111
- ### Example
145
+ ### Examples
112
146
 
113
147
  ```ruby
114
- # load the gem
148
+ require 'time'
115
149
  require 'ory-oathkeeper-client'
116
150
 
117
151
  api_instance = OryHydraClient::ApiApi.new
118
152
 
119
153
  begin
120
- #Lists cryptographic keys
154
+ # Lists cryptographic keys
121
155
  result = api_instance.get_well_known_json_web_keys
122
156
  p result
123
157
  rescue OryHydraClient::ApiError => e
124
- puts "Exception when calling ApiApi->get_well_known_json_web_keys: #{e}"
158
+ puts "Error when calling ApiApi->get_well_known_json_web_keys: #{e}"
159
+ end
160
+ ```
161
+
162
+ #### Using the get_well_known_json_web_keys_with_http_info variant
163
+
164
+ This returns an Array which contains the response data, status code and headers.
165
+
166
+ > <Array(<JsonWebKeySet>, Integer, Hash)> get_well_known_json_web_keys_with_http_info
167
+
168
+ ```ruby
169
+ begin
170
+ # Lists cryptographic keys
171
+ data, status_code, headers = api_instance.get_well_known_json_web_keys_with_http_info
172
+ p status_code # => 2xx
173
+ p headers # => { ... }
174
+ p data # => <JsonWebKeySet>
175
+ rescue OryHydraClient::ApiError => e
176
+ puts "Error when calling ApiApi->get_well_known_json_web_keys_with_http_info: #{e}"
125
177
  end
126
178
  ```
127
179
 
@@ -145,40 +197,57 @@ No authorization required
145
197
 
146
198
  ## list_rules
147
199
 
148
- > Array&lt;Rule&gt; list_rules(opts)
200
+ > <Array<Rule>> list_rules(opts)
149
201
 
150
202
  List all rules
151
203
 
152
204
  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.
153
205
 
154
- ### Example
206
+ ### Examples
155
207
 
156
208
  ```ruby
157
- # load the gem
209
+ require 'time'
158
210
  require 'ory-oathkeeper-client'
159
211
 
160
212
  api_instance = OryHydraClient::ApiApi.new
161
213
  opts = {
162
- limit: 56, # Integer | The maximum amount of rules returned.
163
- offset: 56 # Integer | The offset from where to start looking.
214
+ limit: 789, # Integer | The maximum amount of rules returned.
215
+ offset: 789 # Integer | The offset from where to start looking.
164
216
  }
165
217
 
166
218
  begin
167
- #List all rules
219
+ # List all rules
168
220
  result = api_instance.list_rules(opts)
169
221
  p result
170
222
  rescue OryHydraClient::ApiError => e
171
- puts "Exception when calling ApiApi->list_rules: #{e}"
223
+ puts "Error when calling ApiApi->list_rules: #{e}"
172
224
  end
173
225
  ```
174
226
 
175
- ### Parameters
227
+ #### Using the list_rules_with_http_info variant
176
228
 
229
+ This returns an Array which contains the response data, status code and headers.
230
+
231
+ > <Array(<Array<Rule>>, Integer, Hash)> list_rules_with_http_info(opts)
232
+
233
+ ```ruby
234
+ begin
235
+ # List all rules
236
+ data, status_code, headers = api_instance.list_rules_with_http_info(opts)
237
+ p status_code # => 2xx
238
+ p headers # => { ... }
239
+ p data # => <Array<Rule>>
240
+ rescue OryHydraClient::ApiError => e
241
+ puts "Error when calling ApiApi->list_rules_with_http_info: #{e}"
242
+ end
243
+ ```
244
+
245
+ ### Parameters
177
246
 
178
- Name | Type | Description | Notes
179
- ------------- | ------------- | ------------- | -------------
180
- **limit** | **Integer**| The maximum amount of rules returned. | [optional]
181
- **offset** | **Integer**| The offset from where to start looking. | [optional]
247
+ | Name | Type | Description | Notes |
248
+ | ---- | ---- | ----------- | ----- |
249
+ | **limit** | **Integer** | The maximum amount of rules returned. | [optional] |
250
+ | **offset** | **Integer** | The offset from where to start looking. | [optional] |
182
251
 
183
252
  ### Return type
184
253
 
@@ -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::CreateRuleCreated.new(payload: null)
14
+ instance = OryHydraClient::CreateRuleCreated.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** | [**CreateRuleForbiddenBody**](CreateRuleForbiddenBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**CreateRuleForbiddenBody**](CreateRuleForbiddenBody.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::CreateRuleForbidden.new(payload: null)
14
+ instance = OryHydraClient::CreateRuleForbidden.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&lt;Hash&lt;String, Object&gt;&gt;** | 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&lt;Object&gt;** | 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::CreateRuleForbiddenBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::CreateRuleForbiddenBody.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** | [**CreateRuleInternalServerErrorBody**](CreateRuleInternalServerErrorBody.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **payload** | [**CreateRuleInternalServerErrorBody**](CreateRuleInternalServerErrorBody.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::CreateRuleInternalServerError.new(payload: null)
14
+ instance = OryHydraClient::CreateRuleInternalServerError.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&lt;Hash&lt;String, Object&gt;&gt;** | 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&lt;Object&gt;** | 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::CreateRuleInternalServerErrorBody.new(code: null,
20
- details: null,
21
- message: null,
22
- reason: null,
23
- request: null,
24
- status: null)
19
+ instance = OryHydraClient::CreateRuleInternalServerErrorBody.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
-