ory-oathkeeper-client 0.38.14.beta1 → 0.38.15.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -25
- data/docs/ApiApi.md +22 -22
- data/docs/CreateRuleCreated.md +2 -2
- data/docs/CreateRuleForbidden.md +2 -2
- data/docs/CreateRuleForbiddenBody.md +2 -2
- data/docs/CreateRuleInternalServerError.md +2 -2
- data/docs/CreateRuleInternalServerErrorBody.md +2 -2
- data/docs/CreateRuleUnauthorized.md +2 -2
- data/docs/CreateRuleUnauthorizedBody.md +2 -2
- data/docs/DecisionsForbidden.md +2 -2
- data/docs/DecisionsForbiddenBody.md +2 -2
- data/docs/DecisionsInternalServerError.md +2 -2
- data/docs/DecisionsInternalServerErrorBody.md +2 -2
- data/docs/DecisionsNotFound.md +2 -2
- data/docs/DecisionsNotFoundBody.md +2 -2
- data/docs/DecisionsUnauthorized.md +2 -2
- data/docs/DecisionsUnauthorizedBody.md +2 -2
- data/docs/DeleteRuleForbidden.md +2 -2
- data/docs/DeleteRuleForbiddenBody.md +2 -2
- data/docs/DeleteRuleInternalServerError.md +2 -2
- data/docs/DeleteRuleInternalServerErrorBody.md +2 -2
- data/docs/DeleteRuleNotFound.md +2 -2
- data/docs/DeleteRuleNotFoundBody.md +2 -2
- data/docs/DeleteRuleUnauthorized.md +2 -2
- data/docs/DeleteRuleUnauthorizedBody.md +2 -2
- data/docs/GetRuleForbidden.md +2 -2
- data/docs/GetRuleForbiddenBody.md +2 -2
- data/docs/GetRuleInternalServerError.md +2 -2
- data/docs/GetRuleInternalServerErrorBody.md +2 -2
- data/docs/GetRuleNotFound.md +2 -2
- data/docs/GetRuleNotFoundBody.md +2 -2
- data/docs/GetRuleOK.md +2 -2
- data/docs/GetRuleUnauthorized.md +2 -2
- data/docs/GetRuleUnauthorizedBody.md +2 -2
- data/docs/GetWellKnownForbidden.md +2 -2
- data/docs/GetWellKnownForbiddenBody.md +2 -2
- data/docs/GetWellKnownJSONWebKeysInternalServerError.md +2 -2
- data/docs/GetWellKnownJSONWebKeysInternalServerErrorBody.md +2 -2
- data/docs/GetWellKnownJSONWebKeysOK.md +2 -2
- data/docs/GetWellKnownOK.md +2 -2
- data/docs/GetWellKnownUnauthorized.md +2 -2
- data/docs/GetWellKnownUnauthorizedBody.md +2 -2
- data/docs/HealthNotReadyStatus.md +2 -2
- data/docs/HealthStatus.md +2 -2
- data/docs/InlineResponse500.md +2 -2
- data/docs/IsInstanceAliveInternalServerError.md +2 -2
- data/docs/IsInstanceAliveInternalServerErrorBody.md +2 -2
- data/docs/IsInstanceAliveOK.md +2 -2
- data/docs/JsonWebKey.md +2 -2
- data/docs/JsonWebKeySet.md +2 -2
- data/docs/JudgeForbidden.md +2 -2
- data/docs/JudgeForbiddenBody.md +2 -2
- data/docs/JudgeInternalServerError.md +2 -2
- data/docs/JudgeInternalServerErrorBody.md +2 -2
- data/docs/JudgeNotFound.md +2 -2
- data/docs/JudgeNotFoundBody.md +2 -2
- data/docs/JudgeUnauthorized.md +2 -2
- data/docs/JudgeUnauthorizedBody.md +2 -2
- data/docs/ListRulesForbidden.md +2 -2
- data/docs/ListRulesForbiddenBody.md +2 -2
- data/docs/ListRulesInternalServerError.md +2 -2
- data/docs/ListRulesInternalServerErrorBody.md +2 -2
- data/docs/ListRulesOK.md +2 -2
- data/docs/ListRulesUnauthorized.md +2 -2
- data/docs/ListRulesUnauthorizedBody.md +2 -2
- data/docs/Rule.md +2 -2
- data/docs/RuleHandler.md +2 -2
- data/docs/RuleMatch.md +2 -2
- data/docs/SwaggerCreateRuleParameters.md +2 -2
- data/docs/SwaggerGetRuleParameters.md +2 -2
- data/docs/SwaggerHealthStatus.md +2 -2
- data/docs/SwaggerJSONWebKey.md +2 -2
- data/docs/SwaggerJSONWebKeySet.md +2 -2
- data/docs/SwaggerListRulesParameters.md +2 -2
- data/docs/SwaggerNotReadyStatus.md +2 -2
- data/docs/SwaggerRule.md +2 -2
- data/docs/SwaggerRuleHandler.md +2 -2
- data/docs/SwaggerRuleMatch.md +2 -2
- data/docs/SwaggerRuleResponse.md +2 -2
- data/docs/SwaggerRulesResponse.md +2 -2
- data/docs/SwaggerUpdateRuleParameters.md +2 -2
- data/docs/SwaggerVersion.md +2 -2
- data/docs/UpdateRuleForbidden.md +2 -2
- data/docs/UpdateRuleForbiddenBody.md +2 -2
- data/docs/UpdateRuleInternalServerError.md +2 -2
- data/docs/UpdateRuleInternalServerErrorBody.md +2 -2
- data/docs/UpdateRuleNotFound.md +2 -2
- data/docs/UpdateRuleNotFoundBody.md +2 -2
- data/docs/UpdateRuleOK.md +2 -2
- data/docs/UpdateRuleUnauthorized.md +2 -2
- data/docs/UpdateRuleUnauthorizedBody.md +2 -2
- data/docs/Upstream.md +2 -2
- data/docs/Version.md +2 -2
- data/lib/ory-oathkeeper-client/api/api_api.rb +3 -3
- data/lib/ory-oathkeeper-client/api_client.rb +4 -4
- data/lib/ory-oathkeeper-client/api_error.rb +3 -3
- data/lib/ory-oathkeeper-client/configuration.rb +3 -3
- data/lib/ory-oathkeeper-client/models/create_rule_created.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/health_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/inline_response500.rb +6 -6
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/json_web_key.rb +6 -6
- data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/rule.rb +6 -6
- data/lib/ory-oathkeeper-client/models/rule_handler.rb +6 -6
- data/lib/ory-oathkeeper-client/models/rule_match.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_version.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/upstream.rb +6 -6
- data/lib/ory-oathkeeper-client/models/version.rb +6 -6
- data/lib/ory-oathkeeper-client/version.rb +4 -4
- data/lib/ory-oathkeeper-client.rb +4 -4
- data/ory-oathkeeper-client.gemspec +3 -3
- data/spec/api_client_spec.rb +31 -31
- data/spec/configuration_spec.rb +5 -5
- data/spec/spec_helper.rb +2 -2
- metadata +2 -2
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# UpdateRuleForbiddenBody UpdateRuleForbiddenBody UpdateRuleForbiddenBody UpdateRuleForbiddenBody UpdateRuleForbiddenBody UpdateRuleForbiddenBody UpdateRuleForbiddenBody update rule forbidden body
|
18
18
|
class UpdateRuleForbiddenBody
|
19
19
|
# code
|
@@ -73,13 +73,13 @@ module OryHydraClient
|
|
73
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
74
74
|
def initialize(attributes = {})
|
75
75
|
if (!attributes.is_a?(Hash))
|
76
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
76
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleForbiddenBody` initialize method"
|
77
77
|
end
|
78
78
|
|
79
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
80
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
81
81
|
if (!self.class.attribute_map.key?(k.to_sym))
|
82
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleForbiddenBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
83
83
|
end
|
84
84
|
h[k.to_sym] = v
|
85
85
|
}
|
@@ -216,7 +216,7 @@ module OryHydraClient
|
|
216
216
|
end
|
217
217
|
else # model
|
218
218
|
# models (e.g. Pet) or oneOf
|
219
|
-
klass =
|
219
|
+
klass = OryOathkeeperClient.const_get(type)
|
220
220
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
221
221
|
end
|
222
222
|
end
|
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# The standard error format
|
18
18
|
class UpdateRuleInternalServerError
|
19
19
|
attr_accessor :payload
|
@@ -47,13 +47,13 @@ module OryHydraClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleInternalServerError` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleInternalServerError`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -163,7 +163,7 @@ module OryHydraClient
|
|
163
163
|
end
|
164
164
|
else # model
|
165
165
|
# models (e.g. Pet) or oneOf
|
166
|
-
klass =
|
166
|
+
klass = OryOathkeeperClient.const_get(type)
|
167
167
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
168
168
|
end
|
169
169
|
end
|
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# UpdateRuleInternalServerErrorBody UpdateRuleInternalServerErrorBody UpdateRuleInternalServerErrorBody UpdateRuleInternalServerErrorBody UpdateRuleInternalServerErrorBody UpdateRuleInternalServerErrorBody UpdateRuleInternalServerErrorBody update rule internal server error body
|
18
18
|
class UpdateRuleInternalServerErrorBody
|
19
19
|
# code
|
@@ -73,13 +73,13 @@ module OryHydraClient
|
|
73
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
74
74
|
def initialize(attributes = {})
|
75
75
|
if (!attributes.is_a?(Hash))
|
76
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
76
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleInternalServerErrorBody` initialize method"
|
77
77
|
end
|
78
78
|
|
79
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
80
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
81
81
|
if (!self.class.attribute_map.key?(k.to_sym))
|
82
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleInternalServerErrorBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
83
83
|
end
|
84
84
|
h[k.to_sym] = v
|
85
85
|
}
|
@@ -216,7 +216,7 @@ module OryHydraClient
|
|
216
216
|
end
|
217
217
|
else # model
|
218
218
|
# models (e.g. Pet) or oneOf
|
219
|
-
klass =
|
219
|
+
klass = OryOathkeeperClient.const_get(type)
|
220
220
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
221
221
|
end
|
222
222
|
end
|
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# The standard error format
|
18
18
|
class UpdateRuleNotFound
|
19
19
|
attr_accessor :payload
|
@@ -47,13 +47,13 @@ module OryHydraClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleNotFound` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleNotFound`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -163,7 +163,7 @@ module OryHydraClient
|
|
163
163
|
end
|
164
164
|
else # model
|
165
165
|
# models (e.g. Pet) or oneOf
|
166
|
-
klass =
|
166
|
+
klass = OryOathkeeperClient.const_get(type)
|
167
167
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
168
168
|
end
|
169
169
|
end
|
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# UpdateRuleNotFoundBody UpdateRuleNotFoundBody UpdateRuleNotFoundBody UpdateRuleNotFoundBody UpdateRuleNotFoundBody UpdateRuleNotFoundBody UpdateRuleNotFoundBody update rule not found body
|
18
18
|
class UpdateRuleNotFoundBody
|
19
19
|
# code
|
@@ -73,13 +73,13 @@ module OryHydraClient
|
|
73
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
74
74
|
def initialize(attributes = {})
|
75
75
|
if (!attributes.is_a?(Hash))
|
76
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
76
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleNotFoundBody` initialize method"
|
77
77
|
end
|
78
78
|
|
79
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
80
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
81
81
|
if (!self.class.attribute_map.key?(k.to_sym))
|
82
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleNotFoundBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
83
83
|
end
|
84
84
|
h[k.to_sym] = v
|
85
85
|
}
|
@@ -216,7 +216,7 @@ module OryHydraClient
|
|
216
216
|
end
|
217
217
|
else # model
|
218
218
|
# models (e.g. Pet) or oneOf
|
219
|
-
klass =
|
219
|
+
klass = OryOathkeeperClient.const_get(type)
|
220
220
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
221
221
|
end
|
222
222
|
end
|
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# A rule
|
18
18
|
class UpdateRuleOK
|
19
19
|
attr_accessor :payload
|
@@ -47,13 +47,13 @@ module OryHydraClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleOK` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleOK`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -163,7 +163,7 @@ module OryHydraClient
|
|
163
163
|
end
|
164
164
|
else # model
|
165
165
|
# models (e.g. Pet) or oneOf
|
166
|
-
klass =
|
166
|
+
klass = OryOathkeeperClient.const_get(type)
|
167
167
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
168
168
|
end
|
169
169
|
end
|
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# The standard error format
|
18
18
|
class UpdateRuleUnauthorized
|
19
19
|
attr_accessor :payload
|
@@ -47,13 +47,13 @@ module OryHydraClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleUnauthorized` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleUnauthorized`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -163,7 +163,7 @@ module OryHydraClient
|
|
163
163
|
end
|
164
164
|
else # model
|
165
165
|
# models (e.g. Pet) or oneOf
|
166
|
-
klass =
|
166
|
+
klass = OryOathkeeperClient.const_get(type)
|
167
167
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
168
168
|
end
|
169
169
|
end
|
@@ -3,17 +3,17 @@
|
|
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.0.0
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.62
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
# UpdateRuleUnauthorizedBody UpdateRuleUnauthorizedBody UpdateRuleUnauthorizedBody UpdateRuleUnauthorizedBody UpdateRuleUnauthorizedBody UpdateRuleUnauthorizedBody UpdateRuleUnauthorizedBody update rule unauthorized body
|
18
18
|
class UpdateRuleUnauthorizedBody
|
19
19
|
# code
|
@@ -73,13 +73,13 @@ module OryHydraClient
|
|
73
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
74
74
|
def initialize(attributes = {})
|
75
75
|
if (!attributes.is_a?(Hash))
|
76
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
76
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::UpdateRuleUnauthorizedBody` initialize method"
|
77
77
|
end
|
78
78
|
|
79
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
80
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
81
81
|
if (!self.class.attribute_map.key?(k.to_sym))
|
82
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::UpdateRuleUnauthorizedBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
83
83
|
end
|
84
84
|
h[k.to_sym] = v
|
85
85
|
}
|
@@ -216,7 +216,7 @@ module OryHydraClient
|
|
216
216
|
end
|
217
217
|
else # model
|
218
218
|
# models (e.g. Pet) or oneOf
|
219
|
-
klass =
|
219
|
+
klass = OryOathkeeperClient.const_get(type)
|
220
220
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
221
221
|
end
|
222
222
|
end
|
@@ -3,17 +3,17 @@
|
|
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.
|
6
|
+
The version of the OpenAPI document: v0.38.15-beta.1
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
class Upstream
|
18
18
|
# 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.
|
19
19
|
attr_accessor :preserve_host
|
@@ -57,13 +57,13 @@ module OryHydraClient
|
|
57
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
58
58
|
def initialize(attributes = {})
|
59
59
|
if (!attributes.is_a?(Hash))
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::Upstream` initialize method"
|
61
61
|
end
|
62
62
|
|
63
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
64
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
65
|
if (!self.class.attribute_map.key?(k.to_sym))
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::Upstream`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
67
67
|
end
|
68
68
|
h[k.to_sym] = v
|
69
69
|
}
|
@@ -183,7 +183,7 @@ module OryHydraClient
|
|
183
183
|
end
|
184
184
|
else # model
|
185
185
|
# models (e.g. Pet) or oneOf
|
186
|
-
klass =
|
186
|
+
klass = OryOathkeeperClient.const_get(type)
|
187
187
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
188
188
|
end
|
189
189
|
end
|
@@ -3,17 +3,17 @@
|
|
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.
|
6
|
+
The version of the OpenAPI document: v0.38.15-beta.1
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryOathkeeperClient
|
17
17
|
class Version
|
18
18
|
# Version is the service's version.
|
19
19
|
attr_accessor :version
|
@@ -47,13 +47,13 @@ module OryHydraClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::Version` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::Version`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -163,7 +163,7 @@ module OryHydraClient
|
|
163
163
|
end
|
164
164
|
else # model
|
165
165
|
# models (e.g. Pet) or oneOf
|
166
|
-
klass =
|
166
|
+
klass = OryOathkeeperClient.const_get(type)
|
167
167
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
168
168
|
end
|
169
169
|
end
|