diff options
author | 2025-02-26 17:31:51 +0000 | |
---|---|---|
committer | 2025-03-03 17:12:39 +0000 | |
commit | d2c683570632d0510749dfd97aa47caeea471643 (patch) | |
tree | 975214b483c346c35f4abf9ee55ed871508f8579 | |
parent | c9da0bff44e1c8d07c9b6fd3d8657c71cb1f0c9a (diff) |
Controller behaviour fixesoslo
Issue-ID: CCSDK-4090
Change-Id: I76644282bea67e33ff346fe999d65f4d3b54751b
Signed-off-by: saul.gill <saul.gill@est.tech>
17 files changed, 7217 insertions, 7626 deletions
diff --git a/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/index.html b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/index.html index c59e6223..38e9caed 100644 --- a/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/index.html +++ b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/index.html @@ -844,313 +844,313 @@ ul.nav-tabs { <script> // Script section to load models into a JS Var var defs = {} - defs["authorization_result"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
+ defs["authorization_result"] = { + "required" : [ "result" ], + "type" : "object", + "properties" : { + "result" : { + "type" : "boolean", + "description" : "If true, the access is granted" + } + }, + "description" : "Result of authorization", + "example" : { + "result" : true + } }; - defs["error_information"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
+ defs["error_information"] = { + "type" : "object", + "properties" : { + "detail" : { + "type" : "string", + "description" : " A human-readable explanation specific to this occurrence of the problem.", + "example" : "Policy type not found" + }, + "title" : { + "type" : "string", + "description" : "A specific error name", + "example" : "Not Found" + }, + "status" : { + "type" : "integer", + "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ", + "format" : "int32", + "example" : 404 + } + }, + "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807" }; - defs["input"] = {
- "required" : [ "access_type", "auth_token", "policy_type_id" ],
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "auth_token" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policy_type_id" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
+ defs["input"] = { + "required" : [ "access_type", "auth_token", "policy_type_id" ], + "type" : "object", + "properties" : { + "access_type" : { + "type" : "string", + "description" : "Access type", + "enum" : [ "READ", "WRITE", "DELETE" ] + }, + "auth_token" : { + "type" : "string", + "description" : "Authorization token" + }, + "policy_type_id" : { + "type" : "string", + "description" : "Policy type identifier" + } + }, + "description" : "input" }; - defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
+ defs["Link"] = { + "type" : "object", + "properties" : { + "templated" : { + "type" : "boolean" + }, + "href" : { + "type" : "string" + } + } }; - defs["policy_authorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
+ defs["policy_authorization"] = { + "required" : [ "input" ], + "type" : "object", + "properties" : { + "input" : { + "$ref" : "#/components/schemas/input" + } + }, + "description" : "Authorization request for A1 policy requests" }; - defs["policy_id_list"] = {
- "type" : "object",
- "properties" : {
- "policy_ids" : {
- "type" : "array",
- "description" : "Policy identities",
- "items" : {
- "type" : "string",
- "description" : "Policy identities"
- }
- }
- },
- "description" : "A list of policy identities",
- "example" : {
- "policy_ids" : [ "policy_ids", "policy_ids" ]
- }
+ defs["policy_id_list"] = { + "type" : "object", + "properties" : { + "policy_ids" : { + "type" : "array", + "description" : "Policy identities", + "items" : { + "type" : "string", + "description" : "Policy identities" + } + } + }, + "description" : "A list of policy identities", + "example" : { + "policy_ids" : [ "policy_ids", "policy_ids" ] + } }; - defs["policy_info"] = {
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the target Near-RT RIC"
- },
- "policy_id" : {
- "type" : "string",
- "description" : "identity of the policy"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "example" : false,
- "default" : false
- },
- "service_id" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "default" : ""
- },
- "policy_data" : {
- "type" : "object",
- "description" : "the configuration of the policy"
- },
- "status_notification_uri" : {
- "type" : "string",
- "description" : "Callback URI for policy status updates"
- },
- "policytype_id" : {
- "type" : "string",
- "description" : "identity of the policy type"
- }
- },
- "description" : "Information for one A1-P Policy"
+ defs["policy_info"] = { + "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ], + "type" : "object", + "properties" : { + "ric_id" : { + "type" : "string", + "description" : "identity of the target Near-RT RIC" + }, + "policy_id" : { + "type" : "string", + "description" : "identity of the policy" + }, + "transient" : { + "type" : "boolean", + "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.", + "nullable" : false, + "example" : false, + "default" : false + }, + "service_id" : { + "type" : "string", + "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", + "default" : "" + }, + "policy_data" : { + "type" : "object", + "description" : "the configuration of the policy" + }, + "status_notification_uri" : { + "type" : "string", + "description" : "Callback URI for policy status updates" + }, + "policytype_id" : { + "type" : "string", + "description" : "identity of the policy type" + } + }, + "description" : "Information for one A1-P Policy" }; - defs["policy_info_list"] = {
- "type" : "object",
- "properties" : {
- "policies" : {
- "type" : "array",
- "description" : "List of policy information",
- "items" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "description" : "List of policy information"
+ defs["policy_info_list"] = { + "type" : "object", + "properties" : { + "policies" : { + "type" : "array", + "description" : "List of policy information", + "items" : { + "$ref" : "#/components/schemas/policy_info" + } + } + }, + "description" : "List of policy information" }; - defs["policy_status_info"] = {
- "type" : "object",
- "properties" : {
- "last_modified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
+ defs["policy_status_info"] = { + "type" : "object", + "properties" : { + "last_modified" : { + "type" : "string", + "description" : "timestamp, last modification time" + }, + "status" : { + "type" : "object", + "description" : "the Policy status" + } + }, + "description" : "Status for one A1-P Policy" }; - defs["policy_type_definition"] = {
- "type" : "object",
- "properties" : {
- "policy_schema" : {
- "type" : "object",
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
- }
- },
- "description" : "Contains policy type schema definition"
+ defs["policy_type_definition"] = { + "type" : "object", + "properties" : { + "policy_schema" : { + "type" : "object", + "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema" + } + }, + "description" : "Contains policy type schema definition" }; - defs["policy_type_id_list"] = {
- "type" : "object",
- "properties" : {
- "policytype_ids" : {
- "type" : "array",
- "description" : "Policy type identities",
- "items" : {
- "type" : "string",
- "description" : "Policy type identities"
- }
- }
- },
- "description" : "Information about policy types"
+ defs["policy_type_id_list"] = { + "type" : "object", + "properties" : { + "policytype_ids" : { + "type" : "array", + "description" : "Policy type identities", + "items" : { + "type" : "string", + "description" : "Policy type identities" + } + } + }, + "description" : "Information about policy types" }; - defs["ric_info"] = {
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the Near-RT RIC"
- },
- "managed_element_ids" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policytype_ids" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
+ defs["ric_info"] = { + "type" : "object", + "properties" : { + "ric_id" : { + "type" : "string", + "description" : "identity of the Near-RT RIC" + }, + "managed_element_ids" : { + "type" : "array", + "description" : "O1 identities for managed entities", + "items" : { + "type" : "string", + "description" : "O1 identities for managed entities" + } + }, + "state" : { + "type" : "string", + "description" : "Represents the states for a Near-RT RIC", + "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ] + }, + "policytype_ids" : { + "type" : "array", + "description" : "supported policy types", + "items" : { + "type" : "string", + "description" : "supported policy types" + } + } + }, + "description" : "Information for a Near-RT RIC" }; - defs["ric_info_list"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/ric_info"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
+ defs["ric_info_list"] = { + "type" : "object", + "properties" : { + "rics" : { + "type" : "array", + "description" : "List of Near-RT RIC information", + "items" : { + "$ref" : "#/components/schemas/ric_info" + } + } + }, + "description" : "List of Near-RT RIC information" }; - defs["service_callback_info_v2"] = {
- "required" : [ "event_type", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of a Near-RT RIC"
- },
- "event_type" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
+ defs["service_callback_info_v2"] = { + "required" : [ "event_type", "ric_id" ], + "type" : "object", + "properties" : { + "ric_id" : { + "type" : "string", + "description" : "identity of a Near-RT RIC" + }, + "event_type" : { + "type" : "string", + "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management", + "enum" : [ "AVAILABLE" ] + } + }, + "description" : "Information transferred as in Service callbacks (callback_url)" }; - defs["service_registration_info"] = {
- "required" : [ "service_id" ],
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
+ defs["service_registration_info"] = { + "required" : [ "service_id" ], + "type" : "object", + "properties" : { + "callback_url" : { + "type" : "string", + "description" : "callback for notifying of Near-RT RIC state changes" + }, + "service_id" : { + "type" : "string", + "description" : "identity of the service" + }, + "keep_alive_interval_seconds" : { + "type" : "integer", + "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.", + "format" : "int64" + } + }, + "description" : "Information for one service" }; - defs["service_status"] = {
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "time_since_last_activity_seconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
+ defs["service_status"] = { + "type" : "object", + "properties" : { + "callback_url" : { + "type" : "string", + "description" : "callback for notifying of RIC synchronization" + }, + "service_id" : { + "type" : "string", + "description" : "identity of the service" + }, + "keep_alive_interval_seconds" : { + "type" : "integer", + "description" : "policy keep alive timeout", + "format" : "int64" + }, + "time_since_last_activity_seconds" : { + "type" : "integer", + "description" : "time since last invocation by the service", + "format" : "int64" + } + } }; - defs["service_status_list"] = {
- "type" : "object",
- "properties" : {
- "service_list" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/service_status"
- }
- }
- }
+ defs["service_status_list"] = { + "type" : "object", + "properties" : { + "service_list" : { + "type" : "array", + "description" : "List of service information", + "items" : { + "$ref" : "#/components/schemas/service_status" + } + } + } }; - defs["status_info"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
+ defs["status_info"] = { + "type" : "object", + "properties" : { + "status" : { + "type" : "string", + "description" : "status text" + } + } }; @@ -1575,15 +1575,15 @@ pub fn main() { <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy deleted",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy deleted", + "content" : { + "*/*" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1651,20 +1651,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "Requested resource is in a locked state."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "Requested resource is in a locked state." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2019,20 +2019,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- },
- "examples" : {
- "policy_info" : {
- "$ref" : "#/components/examples/policy_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_info" + }, + "examples" : { + "policy_info" : { + "$ref" : "#/components/examples/policy_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2095,13 +2095,13 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2554,20 +2554,20 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy identities",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_id_list"
- },
- "examples" : {
- "policy_id_list" : {
- "$ref" : "#/components/examples/policy_id_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy identities", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_id_list" + }, + "examples" : { + "policy_id_list" : { + "$ref" : "#/components/examples/policy_id_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2630,13 +2630,13 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getPolicyIds-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3089,20 +3089,20 @@ Select policies of a given type name (type identity has the format <typename_ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Returns A1 Policies which matches the criteria",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info_list"
- },
- "examples" : {
- "policy_info_list" : {
- "$ref" : "#/components/examples/policy_info_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Returns A1 Policies which matches the criteria", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_info_list" + }, + "examples" : { + "policy_info_list" : { + "$ref" : "#/components/examples/policy_info_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3170,15 +3170,15 @@ Select policies of a given type name (type identity has the format <typename_ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found - Near-RT RIC, policy type or service not found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found - Near-RT RIC, policy type or service not found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3533,20 +3533,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy status",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_status_info"
- },
- "examples" : {
- "policy_status_info" : {
- "$ref" : "#/components/examples/policy_status_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy status", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_status_info" + }, + "examples" : { + "policy_status_info" : { + "$ref" : "#/components/examples/policy_status_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3609,13 +3609,13 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3970,20 +3970,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - schema of the given policy type",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_type_definition"
- },
- "examples" : {
- "policy_type_definition" : {
- "$ref" : "#/components/examples/policy_type_definition"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - schema of the given policy type", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_type_definition" + }, + "examples" : { + "policy_type_definition" : { + "$ref" : "#/components/examples/policy_type_definition" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4046,13 +4046,13 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4471,20 +4471,20 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy Type IDs Found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_type_id_list"
- },
- "examples" : {
- "policy_type_id_list" : {
- "$ref" : "#/components/examples/policy_type_id_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy Type IDs Found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_type_id_list" + }, + "examples" : { + "policy_type_id_list" : { + "$ref" : "#/components/examples/policy_type_id_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4547,13 +4547,13 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4860,15 +4860,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_info" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -4931,15 +4931,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy updated",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5007,15 +5007,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Created - Policy created",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created - Policy created", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5083,20 +5083,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "Requested resource is in a locked state."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "Requested resource is in a locked state." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5409,15 +5409,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_authorization"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_authorization" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -5480,15 +5480,15 @@ $(document).ready(function() { <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/authorization_result"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/authorization_result" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5556,20 +5556,20 @@ $(document).ready(function() { <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 403,
- "title" : "Forbidden",
- "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 403, + "title" : "Forbidden", + "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5889,15 +5889,15 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Configuration",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Configuration", + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5960,13 +5960,13 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6273,15 +6273,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -6344,15 +6344,15 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Configuration updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Configuration updated", + "content" : { + "*/*" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6420,20 +6420,20 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 400,
- "title" : "Bad Request",
- "detail" : "The provided request is not valid."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 400, + "title" : "Bad Request", + "detail" : "The provided request is not valid." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6753,20 +6753,20 @@ pub fn main() { <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK- Service is living Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/status_info"
- },
- "examples" : {
- "status_info" : {
- "$ref" : "#/components/examples/status_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK- Service is living Ok", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/status_info" + }, + "examples" : { + "status_info" : { + "$ref" : "#/components/examples/status_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7083,15 +7083,15 @@ pub fn main() { <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service is living",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service is living", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7485,20 +7485,20 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Near-RT RIC is found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ric_info"
- },
- "examples" : {
- "ric_info" : {
- "$ref" : "#/components/examples/ric_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Near-RT RIC is found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ric_info" + }, + "examples" : { + "ric_info" : { + "$ref" : "#/components/examples/ric_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7561,13 +7561,13 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7927,20 +7927,20 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ric_info_list"
- },
- "examples" : {
- "ric_info_list" : {
- "$ref" : "#/components/examples/ric_info_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ric_info_list" + }, + "examples" : { + "ric_info_list" : { + "$ref" : "#/components/examples/ric_info_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8003,13 +8003,13 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8367,15 +8367,15 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "No Content - Service unregistered",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "No Content - Service unregistered", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8438,13 +8438,13 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8804,20 +8804,20 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_status_list"
- },
- "examples" : {
- "service_status_list" : {
- "$ref" : "#/components/examples/service_status_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/service_status_list" + }, + "examples" : { + "service_status_list" : { + "$ref" : "#/components/examples/service_status_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8880,13 +8880,13 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9244,15 +9244,15 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service supervision timer refreshed, OK",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service supervision timer refreshed, OK", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9315,13 +9315,13 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9631,15 +9631,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_registration_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/service_registration_info" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -9702,15 +9702,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service updated", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9778,15 +9778,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Created - Service created",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created - Service created", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9854,20 +9854,20 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 400,
- "title" : "Bad Request",
- "detail" : "The provided request is not valid."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 400, + "title" : "Bad Request", + "detail" : "The provided request is not valid." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { diff --git a/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html index 4ce5ef15..3b6a2658 100644 --- a/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html +++ b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html @@ -844,382 +844,313 @@ ul.nav-tabs { <script> // Script section to load models into a JS Var var defs = {} - defs["AuthorizationResult"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
-}; - defs["ErrorInformation"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
-}; - defs["input"] = {
- "required" : [ "accessType", "authToken", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "accessType" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "authToken" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
-}; - defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
-}; - defs["PolicyAuthorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
-}; - defs["PolicyInformation"] = {
- "required" : [ "nearRtRicId", "policyId" ],
- "type" : "object",
- "properties" : {
- "policyId" : {
- "type" : "string",
- "description" : "Identity of the policy"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
-}; - defs["PolicyObjectInformation"] = {
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "nearRtRicId" : {
- "type" : "string",
- "description" : "Identity of the target Near-RT RIC",
- "example" : "Near-RT-Ric-ID"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "default" : false
- },
- "policyId" : {
- "type" : "string",
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
- "example" : "POLICY-ID"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "example" : "rApp ID",
- "default" : ""
- },
- "policyObject" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type",
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
- }
- },
- "description" : "Information related to the creation of the policy"
-}; - defs["PolicyStatusInfo"] = {
- "type" : "object",
- "properties" : {
- "lastModified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
-}; - defs["PolicyTypeInformation"] = {
- "required" : [ "nearRtRicId", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
- "example" : {
- "policyTypeId" : "STD_QOS2_0.1.0",
- "nearRtRicId" : "ricsim_g3_2"
- }
-}; - defs["PolicyTypeObject"] = {
- "required" : [ "policySchema" ],
- "type" : "object",
- "properties" : {
- "policySchema" : {
- "$ref" : "#/components/schemas/PolicySchema"
- },
- "statusSchema" : {
- "$ref" : "#/components/schemas/StatusSchema"
- }
- },
- "description" : "policy type object as defined in A1TD",
- "example" : {
- "policySchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0_2_0",
- "description" : "STD QOS policy type",
- "type" : "object",
- "properties" : {
- "scope" : {
- "type" : "object",
- "properties" : {
- "ueId" : {
- "type" : "string"
- },
- "qosId" : {
- "type" : "string"
- }
- },
- "additionalProperties" : false,
- "required" : [ "ueId", "qosId" ]
- },
- "qosObjectives" : {
- "type" : "object",
- "properties" : {
- "priorityLevel" : {
- "type" : "number"
- }
- },
- "additionalProperties" : false,
- "required" : [ "priorityLevel" ]
- }
- }
- },
- "statusSchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0.2.0",
- "description" : "STD QOS policy type status",
- "type" : "object",
- "properties" : {
- "enforceStatus" : {
- "type" : "string"
- },
- "enforceReason" : {
- "type" : "string"
- },
- "additionalProperties" : false,
- "required" : [ "enforceStatus" ]
- }
- }
- }
-}; - defs["ProblemDetails"] = {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
- },
- "title" : {
- "type" : "string",
- "description" : "human-readable summary of the problem type"
- },
- "status" : {
- "type" : "number",
- "description" : "the HTTP status code"
- },
- "detail" : {
- "type" : "string",
- "description" : "human-readable explanation "
- },
- "instance" : {
- "type" : "string",
- "description" : "URI reference that identifies the specific occurrence of the problem"
- }
- },
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
-}; - defs["RicInfo"] = {
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of the Near-RT RIC"
- },
- "managedElementIds" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policyTypeIds" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
-}; - defs["RicInfoList"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/RicInfo"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
-}; - defs["ServiceCallbackInfo"] = {
- "required" : [ "eventType", "ricId" ],
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of a Near-RT RIC"
- },
- "eventType" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
-}; - defs["ServiceRegistrationInfo"] = {
- "required" : [ "serviceId" ],
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
-}; - defs["ServiceStatus"] = {
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "timeSinceLastActivitySeconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
-}; - defs["ServiceStatusList"] = {
- "type" : "object",
- "properties" : {
- "serviceList" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/ServiceStatus"
- }
- }
- }
-}; - defs["StatusInfo"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
-}; - - defs["NearRtRicId"] = {
- "type" : "string",
- "description" : "Identity of the policy"
+ defs["ErrorInformation"] = { + "type" : "object", + "properties" : { + "detail" : { + "type" : "string", + "description" : " A human-readable explanation specific to this occurrence of the problem.", + "example" : "Policy type not found" + }, + "title" : { + "type" : "string", + "description" : "A specific error name", + "example" : "Not Found" + }, + "status" : { + "type" : "integer", + "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ", + "format" : "int32", + "example" : 404 + } + }, + "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807" +}; + defs["PolicyInformation"] = { + "required" : [ "nearRtRicId", "policyId" ], + "type" : "object", + "properties" : { + "policyId" : { + "type" : "string", + "description" : "Identity of the policy" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC" +}; + defs["PolicyObjectInformation"] = { + "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ], + "type" : "object", + "properties" : { + "nearRtRicId" : { + "type" : "string", + "description" : "Identity of the target Near-RT RIC", + "example" : "Near-RT-Ric-ID" + }, + "transient" : { + "type" : "boolean", + "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.", + "nullable" : false, + "default" : false + }, + "policyId" : { + "type" : "string", + "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.", + "example" : "POLICY-ID" + }, + "serviceId" : { + "type" : "string", + "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", + "example" : "rApp ID", + "default" : "" + }, + "policyObject" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type", + "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)" + } + }, + "description" : "Information related to the creation of the policy" +}; + defs["PolicyTypeInformation"] = { + "required" : [ "nearRtRicId", "policyTypeId" ], + "type" : "object", + "properties" : { + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type", + "example" : { + "policyTypeId" : "STD_QOS2_0.1.0", + "nearRtRicId" : "ricsim_g3_2" + } +}; + defs["PolicyTypeObject"] = { + "required" : [ "policySchema" ], + "type" : "object", + "properties" : { + "policySchema" : { + "$ref" : "#/components/schemas/PolicySchema" + }, + "statusSchema" : { + "$ref" : "#/components/schemas/StatusSchema" + } + }, + "description" : "policy type object as defined in A1TD", + "example" : { + "policySchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0_2_0", + "description" : "STD QOS policy type", + "type" : "object", + "properties" : { + "scope" : { + "type" : "object", + "properties" : { + "ueId" : { + "type" : "string" + }, + "qosId" : { + "type" : "string" + } + }, + "additionalProperties" : false, + "required" : [ "ueId", "qosId" ] + }, + "qosObjectives" : { + "type" : "object", + "properties" : { + "priorityLevel" : { + "type" : "number" + } + }, + "additionalProperties" : false, + "required" : [ "priorityLevel" ] + } + } + }, + "statusSchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0.2.0", + "description" : "STD QOS policy type status", + "type" : "object", + "properties" : { + "enforceStatus" : { + "type" : "string" + }, + "enforceReason" : { + "type" : "string" + }, + "additionalProperties" : false, + "required" : [ "enforceStatus" ] + } + } + } +}; + defs["ProblemDetails"] = { + "type" : "object", + "properties" : { + "type" : { + "type" : "string", + "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type" + }, + "title" : { + "type" : "string", + "description" : "human-readable summary of the problem type" + }, + "status" : { + "type" : "number", + "description" : "the HTTP status code" + }, + "detail" : { + "type" : "string", + "description" : "human-readable explanation " + }, + "instance" : { + "type" : "string", + "description" : "URI reference that identifies the specific occurrence of the problem" + } + }, + "description" : "A problem detail to carry details in an HTTP response according to RFC 7807" +}; + defs["RicInfo"] = { + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of the Near-RT RIC" + }, + "managedElementIds" : { + "type" : "array", + "description" : "O1 identities for managed entities", + "items" : { + "type" : "string", + "description" : "O1 identities for managed entities" + } + }, + "state" : { + "type" : "string", + "description" : "Represents the states for a Near-RT RIC", + "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ] + }, + "policyTypeIds" : { + "type" : "array", + "description" : "supported policy types", + "items" : { + "type" : "string", + "description" : "supported policy types" + } + } + }, + "description" : "Information for a Near-RT RIC" +}; + defs["RicInfoList"] = { + "type" : "object", + "properties" : { + "rics" : { + "type" : "array", + "description" : "List of Near-RT RIC information", + "items" : { + "$ref" : "#/components/schemas/RicInfo" + } + } + }, + "description" : "List of Near-RT RIC information" +}; + defs["ServiceCallbackInfo"] = { + "required" : [ "eventType", "ricId" ], + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of a Near-RT RIC" + }, + "eventType" : { + "type" : "string", + "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management", + "enum" : [ "AVAILABLE" ] + } + }, + "description" : "Information transferred as in Service callbacks (callback_url)" +}; + defs["ServiceRegistrationInfo"] = { + "required" : [ "serviceId" ], + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of Near-RT RIC state changes" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.", + "format" : "int64" + } + }, + "description" : "Information for one service" +}; + defs["ServiceStatus"] = { + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of RIC synchronization" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "policy keep alive timeout", + "format" : "int64" + }, + "timeSinceLastActivitySeconds" : { + "type" : "integer", + "description" : "time since last invocation by the service", + "format" : "int64" + } + } +}; + defs["ServiceStatusList"] = { + "type" : "object", + "properties" : { + "serviceList" : { + "type" : "array", + "description" : "List of service information", + "items" : { + "$ref" : "#/components/schemas/ServiceStatus" + } + } + } +}; + defs["StatusInfo"] = { + "type" : "object", + "properties" : { + "status" : { + "type" : "string", + "description" : "status text" + } + } +}; + + defs["NearRtRicId"] = { + "type" : "string", + "description" : "Identity of the policy" }; var errs = {}; @@ -1326,13 +1257,13 @@ ul.nav-tabs { -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/policies" \ - -d '{
- "policyId" : "POLICY-ID",
- "nearRtRicId" : "Near-RT-Ric-ID",
- "transient" : false,
- "policyObject" : "{}",
- "serviceId" : "rApp ID",
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ -d '{ + "policyId" : "POLICY-ID", + "nearRtRicId" : "Near-RT-Ric-ID", + "transient" : false, + "policyObject" : "{}", + "serviceId" : "rApp ID", + "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)" }' </code></pre> </div> @@ -1561,15 +1492,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -1605,7 +1536,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-201"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-201" class="marked"></p> <script> - var responseA1PolicyManagement201_description = `Success case 201 created`; + var responseA1PolicyManagement201_description = `Created`; var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n'); if (responseA1PolicyManagement201_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description); @@ -1635,26 +1566,35 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Success case 201 created",
- "headers" : {
- "Location" : {
- "description" : "Contains the URI of the newly created resource",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- }
- },
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created", + "headers" : { + "Location" : { + "description" : "Contains the URI of the newly created resource", + "required" : true, + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string" + } + }, + "Content-Type" : { + "description" : "Media Type of the response", + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string", + "example" : "application/json" + } + } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1705,6 +1645,12 @@ $(document).ready(function() { <td></td> <td>Contains the URI of the newly created resource</td> </tr> + <tr> + <td>Content-Type</td> + <td>String</td> + <td></td> + <td>Media Type of the response</td> + </tr> </table> </div> </div> @@ -1738,15 +1684,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1814,15 +1760,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1890,15 +1836,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1966,15 +1912,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2042,15 +1988,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2118,15 +2064,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2194,15 +2140,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Conflict",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Conflict", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2270,15 +2216,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2346,15 +2292,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2422,20 +2368,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2476,7 +2422,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -2503,15 +2449,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2579,15 +2525,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2655,15 +2601,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2731,15 +2677,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3101,7 +3047,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-204"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-204" class="marked"></p> <script> - var responseA1PolicyManagement204_description = `The A1 policy was deleted`; + var responseA1PolicyManagement204_description = `No Content`; var responseA1PolicyManagement204_description_break = responseA1PolicyManagement204_description.indexOf('\n'); if (responseA1PolicyManagement204_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description); @@ -3123,8 +3069,8 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "The A1 policy was deleted"
+ var schemaWrapper = { + "description" : "No Content" }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3192,15 +3138,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3268,15 +3214,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3344,15 +3290,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3420,15 +3366,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3496,15 +3442,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3572,15 +3518,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3648,20 +3594,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3702,7 +3648,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-429"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -3729,15 +3675,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3805,15 +3751,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3881,15 +3827,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3957,15 +3903,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4456,18 +4402,18 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy identities",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy identities", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4535,15 +4481,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4611,15 +4557,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4687,15 +4633,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4763,15 +4709,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4839,15 +4785,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4888,7 +4834,7 @@ Select policies of types with the given type name (type identity has the format <h3 id="examples-A1PolicyManagement-getAllPolicies-title-429"></h3> <p id="examples-A1PolicyManagement-getAllPolicies-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -4915,15 +4861,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4991,15 +4937,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5067,15 +5013,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5143,15 +5089,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5546,20 +5492,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5627,15 +5573,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5703,15 +5649,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5779,15 +5725,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5855,15 +5801,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5931,15 +5877,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5980,7 +5926,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -6007,15 +5953,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6083,15 +6029,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6159,15 +6105,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6235,15 +6181,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6638,15 +6584,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyStatusObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyStatusObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6714,15 +6660,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6790,15 +6736,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6866,15 +6812,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6942,15 +6888,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7018,15 +6964,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7067,7 +7013,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyStatus-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyStatus-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -7094,15 +7040,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7170,15 +7116,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7246,15 +7192,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7322,15 +7268,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7725,20 +7671,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - schema of the given policy type",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyTypeObject"
- },
- "examples" : {
- "PolicyTypeObject" : {
- "$ref" : "#/components/examples/PolicyTypeObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - schema of the given policy type", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyTypeObject" + }, + "examples" : { + "PolicyTypeObject" : { + "$ref" : "#/components/examples/PolicyTypeObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7806,15 +7752,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7882,15 +7828,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7958,15 +7904,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8034,15 +7980,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8110,15 +8056,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8159,7 +8105,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -8186,15 +8132,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8262,15 +8208,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8338,15 +8284,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8414,15 +8360,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8879,23 +8825,23 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy Type IDs found Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyTypeInformation"
- }
- },
- "examples" : {
- "PolicyTypeInformation" : {
- "$ref" : "#/components/examples/PolicyTypeInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy Type IDs found Ok", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyTypeInformation" + } + }, + "examples" : { + "PolicyTypeInformation" : { + "$ref" : "#/components/examples/PolicyTypeInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8963,15 +8909,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9039,15 +8985,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9115,15 +9061,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9191,15 +9137,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9267,15 +9213,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9316,7 +9262,7 @@ Select types that are compatible with the given version. This parameter is only <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypes-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -9343,15 +9289,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9419,15 +9365,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9495,15 +9441,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9571,15 +9517,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9924,20 +9870,20 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -10000,15 +9946,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy updated",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10076,15 +10022,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10152,15 +10098,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10228,15 +10174,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10304,15 +10250,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10380,15 +10326,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10456,15 +10402,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Length Required",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Length Required", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10532,15 +10478,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10608,15 +10554,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10684,20 +10630,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10738,7 +10684,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-putPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-putPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -10765,15 +10711,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10841,15 +10787,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10917,15 +10863,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10993,15 +10939,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { diff --git a/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html index 37f3436f..c693818d 100644 --- a/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html +++ b/a1-policy-management/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html @@ -844,382 +844,313 @@ ul.nav-tabs { <script> // Script section to load models into a JS Var var defs = {} - defs["AuthorizationResult"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
-}; - defs["ErrorInformation"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
-}; - defs["input"] = {
- "required" : [ "accessType", "authToken", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "accessType" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "authToken" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
-}; - defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
-}; - defs["PolicyAuthorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
-}; - defs["PolicyInformation"] = {
- "required" : [ "nearRtRicId", "policyId" ],
- "type" : "object",
- "properties" : {
- "policyId" : {
- "type" : "string",
- "description" : "Identity of the policy"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
+ defs["ErrorInformation"] = { + "type" : "object", + "properties" : { + "detail" : { + "type" : "string", + "description" : " A human-readable explanation specific to this occurrence of the problem.", + "example" : "Policy type not found" + }, + "title" : { + "type" : "string", + "description" : "A specific error name", + "example" : "Not Found" + }, + "status" : { + "type" : "integer", + "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ", + "format" : "int32", + "example" : 404 + } + }, + "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807" }; - defs["PolicyObjectInformation"] = {
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "nearRtRicId" : {
- "type" : "string",
- "description" : "Identity of the target Near-RT RIC",
- "example" : "Near-RT-Ric-ID"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "default" : false
- },
- "policyId" : {
- "type" : "string",
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
- "example" : "POLICY-ID"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "example" : "rApp ID",
- "default" : ""
- },
- "policyObject" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type",
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
- }
- },
- "description" : "Information related to the creation of the policy"
+ defs["PolicyInformation"] = { + "required" : [ "nearRtRicId", "policyId" ], + "type" : "object", + "properties" : { + "policyId" : { + "type" : "string", + "description" : "Identity of the policy" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC" }; - defs["PolicyStatusInfo"] = {
- "type" : "object",
- "properties" : {
- "lastModified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
+ defs["PolicyObjectInformation"] = { + "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ], + "type" : "object", + "properties" : { + "nearRtRicId" : { + "type" : "string", + "description" : "Identity of the target Near-RT RIC", + "example" : "Near-RT-Ric-ID" + }, + "transient" : { + "type" : "boolean", + "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.", + "nullable" : false, + "default" : false + }, + "policyId" : { + "type" : "string", + "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.", + "example" : "POLICY-ID" + }, + "serviceId" : { + "type" : "string", + "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", + "example" : "rApp ID", + "default" : "" + }, + "policyObject" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type", + "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)" + } + }, + "description" : "Information related to the creation of the policy" }; - defs["PolicyTypeInformation"] = {
- "required" : [ "nearRtRicId", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
- "example" : {
- "policyTypeId" : "STD_QOS2_0.1.0",
- "nearRtRicId" : "ricsim_g3_2"
- }
+ defs["PolicyTypeInformation"] = { + "required" : [ "nearRtRicId", "policyTypeId" ], + "type" : "object", + "properties" : { + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type", + "example" : { + "policyTypeId" : "STD_QOS2_0.1.0", + "nearRtRicId" : "ricsim_g3_2" + } }; - defs["PolicyTypeObject"] = {
- "required" : [ "policySchema" ],
- "type" : "object",
- "properties" : {
- "policySchema" : {
- "$ref" : "#/components/schemas/PolicySchema"
- },
- "statusSchema" : {
- "$ref" : "#/components/schemas/StatusSchema"
- }
- },
- "description" : "policy type object as defined in A1TD",
- "example" : {
- "policySchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0_2_0",
- "description" : "STD QOS policy type",
- "type" : "object",
- "properties" : {
- "scope" : {
- "type" : "object",
- "properties" : {
- "ueId" : {
- "type" : "string"
- },
- "qosId" : {
- "type" : "string"
- }
- },
- "additionalProperties" : false,
- "required" : [ "ueId", "qosId" ]
- },
- "qosObjectives" : {
- "type" : "object",
- "properties" : {
- "priorityLevel" : {
- "type" : "number"
- }
- },
- "additionalProperties" : false,
- "required" : [ "priorityLevel" ]
- }
- }
- },
- "statusSchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0.2.0",
- "description" : "STD QOS policy type status",
- "type" : "object",
- "properties" : {
- "enforceStatus" : {
- "type" : "string"
- },
- "enforceReason" : {
- "type" : "string"
- },
- "additionalProperties" : false,
- "required" : [ "enforceStatus" ]
- }
- }
- }
+ defs["PolicyTypeObject"] = { + "required" : [ "policySchema" ], + "type" : "object", + "properties" : { + "policySchema" : { + "$ref" : "#/components/schemas/PolicySchema" + }, + "statusSchema" : { + "$ref" : "#/components/schemas/StatusSchema" + } + }, + "description" : "policy type object as defined in A1TD", + "example" : { + "policySchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0_2_0", + "description" : "STD QOS policy type", + "type" : "object", + "properties" : { + "scope" : { + "type" : "object", + "properties" : { + "ueId" : { + "type" : "string" + }, + "qosId" : { + "type" : "string" + } + }, + "additionalProperties" : false, + "required" : [ "ueId", "qosId" ] + }, + "qosObjectives" : { + "type" : "object", + "properties" : { + "priorityLevel" : { + "type" : "number" + } + }, + "additionalProperties" : false, + "required" : [ "priorityLevel" ] + } + } + }, + "statusSchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0.2.0", + "description" : "STD QOS policy type status", + "type" : "object", + "properties" : { + "enforceStatus" : { + "type" : "string" + }, + "enforceReason" : { + "type" : "string" + }, + "additionalProperties" : false, + "required" : [ "enforceStatus" ] + } + } + } }; - defs["ProblemDetails"] = {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
- },
- "title" : {
- "type" : "string",
- "description" : "human-readable summary of the problem type"
- },
- "status" : {
- "type" : "number",
- "description" : "the HTTP status code"
- },
- "detail" : {
- "type" : "string",
- "description" : "human-readable explanation "
- },
- "instance" : {
- "type" : "string",
- "description" : "URI reference that identifies the specific occurrence of the problem"
- }
- },
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
+ defs["ProblemDetails"] = { + "type" : "object", + "properties" : { + "type" : { + "type" : "string", + "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type" + }, + "title" : { + "type" : "string", + "description" : "human-readable summary of the problem type" + }, + "status" : { + "type" : "number", + "description" : "the HTTP status code" + }, + "detail" : { + "type" : "string", + "description" : "human-readable explanation " + }, + "instance" : { + "type" : "string", + "description" : "URI reference that identifies the specific occurrence of the problem" + } + }, + "description" : "A problem detail to carry details in an HTTP response according to RFC 7807" }; - defs["RicInfo"] = {
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of the Near-RT RIC"
- },
- "managedElementIds" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policyTypeIds" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
+ defs["RicInfo"] = { + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of the Near-RT RIC" + }, + "managedElementIds" : { + "type" : "array", + "description" : "O1 identities for managed entities", + "items" : { + "type" : "string", + "description" : "O1 identities for managed entities" + } + }, + "state" : { + "type" : "string", + "description" : "Represents the states for a Near-RT RIC", + "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ] + }, + "policyTypeIds" : { + "type" : "array", + "description" : "supported policy types", + "items" : { + "type" : "string", + "description" : "supported policy types" + } + } + }, + "description" : "Information for a Near-RT RIC" }; - defs["RicInfoList"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/RicInfo"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
+ defs["RicInfoList"] = { + "type" : "object", + "properties" : { + "rics" : { + "type" : "array", + "description" : "List of Near-RT RIC information", + "items" : { + "$ref" : "#/components/schemas/RicInfo" + } + } + }, + "description" : "List of Near-RT RIC information" }; - defs["ServiceCallbackInfo"] = {
- "required" : [ "eventType", "ricId" ],
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of a Near-RT RIC"
- },
- "eventType" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
+ defs["ServiceCallbackInfo"] = { + "required" : [ "eventType", "ricId" ], + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of a Near-RT RIC" + }, + "eventType" : { + "type" : "string", + "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management", + "enum" : [ "AVAILABLE" ] + } + }, + "description" : "Information transferred as in Service callbacks (callback_url)" }; - defs["ServiceRegistrationInfo"] = {
- "required" : [ "serviceId" ],
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
+ defs["ServiceRegistrationInfo"] = { + "required" : [ "serviceId" ], + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of Near-RT RIC state changes" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.", + "format" : "int64" + } + }, + "description" : "Information for one service" }; - defs["ServiceStatus"] = {
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "timeSinceLastActivitySeconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
+ defs["ServiceStatus"] = { + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of RIC synchronization" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "policy keep alive timeout", + "format" : "int64" + }, + "timeSinceLastActivitySeconds" : { + "type" : "integer", + "description" : "time since last invocation by the service", + "format" : "int64" + } + } }; - defs["ServiceStatusList"] = {
- "type" : "object",
- "properties" : {
- "serviceList" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/ServiceStatus"
- }
- }
- }
+ defs["ServiceStatusList"] = { + "type" : "object", + "properties" : { + "serviceList" : { + "type" : "array", + "description" : "List of service information", + "items" : { + "$ref" : "#/components/schemas/ServiceStatus" + } + } + } }; - defs["StatusInfo"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
+ defs["StatusInfo"] = { + "type" : "object", + "properties" : { + "status" : { + "type" : "string", + "description" : "status text" + } + } }; - defs["NearRtRicId"] = {
- "type" : "string",
- "description" : "Identity of the policy"
+ defs["NearRtRicId"] = { + "type" : "string", + "description" : "Identity of the policy" }; var errs = {}; @@ -1357,13 +1288,13 @@ ul.nav-tabs { -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/policies" \ - -d '{
- "policyId" : "POLICY-ID",
- "nearRtRicId" : "Near-RT-Ric-ID",
- "transient" : false,
- "policyObject" : "{}",
- "serviceId" : "rApp ID",
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ -d '{ + "policyId" : "POLICY-ID", + "nearRtRicId" : "Near-RT-Ric-ID", + "transient" : false, + "policyObject" : "{}", + "serviceId" : "rApp ID", + "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)" }' </code></pre> </div> @@ -1592,15 +1523,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -1636,7 +1567,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-201"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-201" class="marked"></p> <script> - var responseA1PolicyManagement201_description = `Success case 201 created`; + var responseA1PolicyManagement201_description = `Created`; var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n'); if (responseA1PolicyManagement201_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description); @@ -1666,26 +1597,35 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Success case 201 created",
- "headers" : {
- "Location" : {
- "description" : "Contains the URI of the newly created resource",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- }
- },
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created", + "headers" : { + "Location" : { + "description" : "Contains the URI of the newly created resource", + "required" : true, + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string" + } + }, + "Content-Type" : { + "description" : "Media Type of the response", + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string", + "example" : "application/json" + } + } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1736,6 +1676,12 @@ $(document).ready(function() { <td></td> <td>Contains the URI of the newly created resource</td> </tr> + <tr> + <td>Content-Type</td> + <td>String</td> + <td></td> + <td>Media Type of the response</td> + </tr> </table> </div> </div> @@ -1769,15 +1715,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1845,15 +1791,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1921,15 +1867,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1997,15 +1943,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2073,15 +2019,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2149,15 +2095,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2225,15 +2171,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Conflict",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Conflict", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2301,15 +2247,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2377,15 +2323,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2453,20 +2399,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2507,7 +2453,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -2534,15 +2480,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2610,15 +2556,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2686,15 +2632,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2762,15 +2708,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3132,7 +3078,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-204"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-204" class="marked"></p> <script> - var responseA1PolicyManagement204_description = `The A1 policy was deleted`; + var responseA1PolicyManagement204_description = `No Content`; var responseA1PolicyManagement204_description_break = responseA1PolicyManagement204_description.indexOf('\n'); if (responseA1PolicyManagement204_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description); @@ -3154,8 +3100,8 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "The A1 policy was deleted"
+ var schemaWrapper = { + "description" : "No Content" }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3223,15 +3169,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3299,15 +3245,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3375,15 +3321,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3451,15 +3397,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3527,15 +3473,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3603,15 +3549,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3679,20 +3625,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3733,7 +3679,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-429"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -3760,15 +3706,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3836,15 +3782,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3912,15 +3858,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3988,15 +3934,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4487,18 +4433,18 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy identities",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy identities", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4566,15 +4512,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4642,15 +4588,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4718,15 +4664,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4794,15 +4740,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4870,15 +4816,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4919,7 +4865,7 @@ Select policies of types with the given type name (type identity has the format <h3 id="examples-A1PolicyManagement-getAllPolicies-title-429"></h3> <p id="examples-A1PolicyManagement-getAllPolicies-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -4946,15 +4892,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5022,15 +4968,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5098,15 +5044,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5174,15 +5120,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5577,20 +5523,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5658,15 +5604,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5734,15 +5680,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5810,15 +5756,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5886,15 +5832,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5962,15 +5908,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6011,7 +5957,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -6038,15 +5984,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6114,15 +6060,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6190,15 +6136,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6266,15 +6212,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6669,15 +6615,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyStatusObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyStatusObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6745,15 +6691,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6821,15 +6767,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6897,15 +6843,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6973,15 +6919,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7049,15 +6995,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7098,7 +7044,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyStatus-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyStatus-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -7125,15 +7071,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7201,15 +7147,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7277,15 +7223,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7353,15 +7299,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7756,20 +7702,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - schema of the given policy type",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyTypeObject"
- },
- "examples" : {
- "PolicyTypeObject" : {
- "$ref" : "#/components/examples/PolicyTypeObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - schema of the given policy type", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyTypeObject" + }, + "examples" : { + "PolicyTypeObject" : { + "$ref" : "#/components/examples/PolicyTypeObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7837,15 +7783,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7913,15 +7859,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7989,15 +7935,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8065,15 +8011,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8141,15 +8087,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8190,7 +8136,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -8217,15 +8163,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8293,15 +8239,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8369,15 +8315,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8445,15 +8391,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8910,23 +8856,23 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy Type IDs found Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyTypeInformation"
- }
- },
- "examples" : {
- "PolicyTypeInformation" : {
- "$ref" : "#/components/examples/PolicyTypeInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy Type IDs found Ok", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyTypeInformation" + } + }, + "examples" : { + "PolicyTypeInformation" : { + "$ref" : "#/components/examples/PolicyTypeInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8994,15 +8940,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9070,15 +9016,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9146,15 +9092,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9222,15 +9168,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9298,15 +9244,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9347,7 +9293,7 @@ Select types that are compatible with the given version. This parameter is only <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypes-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -9374,15 +9320,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9450,15 +9396,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9526,15 +9472,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9602,15 +9548,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9955,20 +9901,20 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -10031,15 +9977,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy updated",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10107,15 +10053,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10183,15 +10129,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10259,15 +10205,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10335,15 +10281,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10411,15 +10357,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10487,15 +10433,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Length Required",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Length Required", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10563,15 +10509,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10639,15 +10585,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10715,20 +10661,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10769,7 +10715,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-putPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-putPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -10796,15 +10742,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10872,15 +10818,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10948,15 +10894,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11024,15 +10970,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11352,15 +11298,15 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Application configuration received",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Application configuration received", + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11428,15 +11374,15 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11512,7 +11458,7 @@ pub fn main() { <div class="tab-content"> <div class="tab-pane active" id="examples-Configuration-putConfiguration-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X PUT \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/configuration" \ -d '' @@ -11743,15 +11689,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -11814,15 +11760,15 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Configuration updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Configuration updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11890,15 +11836,15 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11977,7 +11923,7 @@ $(document).ready(function() { <div class="tab-content"> <div class="tab-pane active" id="examples-HealthCheck-getStatus-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X GET \ - -H "Accept: application/json" \ + -H "Accept: application/json,application/problem+json" \ "https://example.com/a1-policy-management/v1/status" </code></pre> </div> @@ -12218,20 +12164,20 @@ pub fn main() { <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK- Service is living Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/StatusInfo"
- },
- "examples" : {
- "status_info" : {
- "$ref" : "#/components/examples/StatusInfo"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK- Service is living Ok", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/StatusInfo" + }, + "examples" : { + "status_info" : { + "$ref" : "#/components/examples/StatusInfo" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -12269,6 +12215,82 @@ pub fn main() { <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input> </div> </div> + <h3 id="examples-HealthCheck-getStatus-title-404"></h3> + <p id="examples-HealthCheck-getStatus-description-404" class="marked"></p> + <script> + var responseHealthCheck404_description = `Not Found`; + var responseHealthCheck404_description_break = responseHealthCheck404_description.indexOf('\n'); + if (responseHealthCheck404_description_break == -1) { + $("#examples-HealthCheck-getStatus-title-404").text("Status: 404 - " + responseHealthCheck404_description); + } else { + $("#examples-HealthCheck-getStatus-title-404").text("Status: 404 - " + responseHealthCheck404_description.substring(0, responseHealthCheck404_description_break)); + $("#examples-HealthCheck-getStatus-description-404").html(responseHealthCheck404_description.substring(responseHealthCheck404_description_break)); + } + </script> + + + <ul id="responses-detail-HealthCheck-getStatus-404" class="nav nav-tabs nav-tabs-examples" > + <li class="active"> + <a data-toggle="tab" href="#responses-HealthCheck-getStatus-404-schema">Schema</a> + </li> + + + + + </ul> + + + <div class="tab-content" id="responses-HealthCheck-getStatus-404-wrapper" style='margin-bottom: 10px;'> + <div class="tab-pane active" id="responses-HealthCheck-getStatus-404-schema"> + <div id="responses-HealthCheck-getStatus-schema-404" class="exampleStyle"> + <script> + $(document).ready(function() { + var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } +}; + var schema = findNode('schema',schemaWrapper).schema; + if (!schema) { + schema = schemaWrapper.schema; + } + if (schema == null) { + return; + } + if (schema.$ref != null) { + schema = defsParser.$refs.get(schema.$ref); + if (schema.properties != null) { + Object.keys(schema.properties).forEach( (item) => { + if (schema.properties[item].$ref != null) { + schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref); + } + }); + } + } else if (schema.items != null && schema.items.$ref != null) { + schema.items = defsParser.$refs.get(schema.items.$ref); + } else { + schemaWrapper.definitions = Object.assign({}, defs); + $RefParser.dereference(schemaWrapper).catch(function(err) { + console.log(err); + }); + } + + var view = new JSONSchemaView(schema, 3); + $('#responses-HealthCheck-getStatus-404-schema-data').val(JSON.stringify(schema)); + var result = $('#responses-HealthCheck-getStatus-schema-404'); + result.empty(); + result.append(view.render()); + }); + </script> + </div> + <input id='responses-HealthCheck-getStatus-404-schema-data' type='hidden' value=''></input> + </div> + </div> </article> </div> <hr> @@ -12284,10 +12306,10 @@ pub fn main() { <div class="pull-right"></div> <div class="clearfix"></div> <p></p> - <p class="marked">Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).</p> + <p class="marked">A ricId path parameter must be specified to retrieve associated ric infomation</p> <p></p> <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics/ric</span></code></pre> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics/{ricId}</span></code></pre> <p> <h3>Usage and SDK Samples</h3> </p> @@ -12311,7 +12333,7 @@ pub fn main() { <div class="tab-pane active" id="examples-NearRTRICRepository-getRic-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X GET \ -H "Accept: application/json,application/problem+json" \ - "https://example.com/a1-policy-management/v1/rics/ric?managedElementId=managedElementId_example&ricId=ricId_example" + "https://example.com/a1-policy-management/v1/rics/{ricId}" </code></pre> </div> <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-java"> @@ -12328,12 +12350,11 @@ public class NearRTRICRepositoryApiExample { // Create an instance of the API class NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi(); - String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - RicInfo result = apiInstance.getRic(managedElementId, ricId, accept); + RicInfo result = apiInstance.getRic(ricId, accept); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling NearRTRICRepositoryApi#getRic"); @@ -12349,12 +12370,11 @@ public class NearRTRICRepositoryApiExample { final api_instance = DefaultApi(); -final String managedElementId = new String(); // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. final String ricId = new String(); // String | The identity of a Near-RT RIC to get information for. final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - final result = await api_instance.getRic(managedElementId, ricId, accept); + final result = await api_instance.getRic(ricId, accept); print(result); } catch (e) { print('Exception when calling DefaultApi->getRic: $e\n'); @@ -12369,12 +12389,11 @@ try { public class NearRTRICRepositoryApiExample { public static void main(String[] args) { NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi(); - String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - RicInfo result = apiInstance.getRic(managedElementId, ricId, accept); + RicInfo result = apiInstance.getRic(ricId, accept); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling NearRTRICRepositoryApi#getRic"); @@ -12392,13 +12411,11 @@ public class NearRTRICRepositoryApiExample { // Create an instance of the API class NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init]; -String *managedElementId = managedElementId_example; // The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null) -String *ricId = ricId_example; // The identity of a Near-RT RIC to get information for. (optional) (default to null) +String *ricId = ricId_example; // The identity of a Near-RT RIC to get information for. (default to null) String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null) // Returns info for one Near-RT RIC -[apiInstance getRicWith:managedElementId - ricId:ricId +[apiInstance getRicWith:ricId accept:accept completionHandler: ^(RicInfo output, NSError* error) { if (output) { @@ -12416,9 +12433,8 @@ String *accept = application/json; // Specifies the content type that the client // Create an instance of the API class var api = new A1PolicyManagementApi.NearRTRICRepositoryApi() +var ricId = ricId_example; // {String} The identity of a Near-RT RIC to get information for. var opts = { - 'managedElementId': managedElementId_example, // {String} The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. - 'ricId': ricId_example, // {String} The identity of a Near-RT RIC to get information for. 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. }; @@ -12429,7 +12445,7 @@ var callback = function(error, data, response) { console.log('API called successfully. Returned data: ' + data); } }; -api.getRic(opts, callback); +api.getRic(ricId, opts, callback); </code></pre> </div> @@ -12452,13 +12468,12 @@ namespace Example // Create an instance of the API class var apiInstance = new NearRTRICRepositoryApi(); - var managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null) - var ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. (optional) (default to null) + var ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. (default to null) var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null) try { // Returns info for one Near-RT RIC - RicInfo result = apiInstance.getRic(managedElementId, ricId, accept); + RicInfo result = apiInstance.getRic(ricId, accept); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling NearRTRICRepositoryApi.getRic: " + e.Message ); @@ -12475,12 +12490,11 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Create an instance of the API class $api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi(); -$managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. $ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. $accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - $result = $api_instance->getRic($managedElementId, $ricId, $accept); + $result = $api_instance->getRic($ricId, $accept); print_r($result); } catch (Exception $e) { echo 'Exception when calling NearRTRICRepositoryApi->getRic: ', $e->getMessage(), PHP_EOL; @@ -12495,12 +12509,11 @@ use WWW::OPenAPIClient::NearRTRICRepositoryApi; # Create an instance of the API class my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new(); -my $managedElementId = managedElementId_example; # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. my $ricId = ricId_example; # String | The identity of a Near-RT RIC to get information for. my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. eval { - my $result = $api_instance->getRic(managedElementId => $managedElementId, ricId => $ricId, accept => $accept); + my $result = $api_instance->getRic(ricId => $ricId, accept => $accept); print Dumper($result); }; if ($@) { @@ -12517,13 +12530,12 @@ from pprint import pprint # Create an instance of the API class api_instance = openapi_client.NearRTRICRepositoryApi() -managedElementId = managedElementId_example # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null) -ricId = ricId_example # String | The identity of a Near-RT RIC to get information for. (optional) (default to null) +ricId = ricId_example # String | The identity of a Near-RT RIC to get information for. (default to null) accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null) try: # Returns info for one Near-RT RIC - api_response = api_instance.get_ric(managedElementId=managedElementId, ricId=ricId, accept=accept) + api_response = api_instance.get_ric(ricId, accept=accept) pprint(api_response) except ApiException as e: print("Exception when calling NearRTRICRepositoryApi->getRic: %s\n" % e)</code></pre> @@ -12533,12 +12545,11 @@ except ApiException as e: <pre class="prettyprint"><code class="language-rust">extern crate NearRTRICRepositoryApi; pub fn main() { - let managedElementId = managedElementId_example; // String let ricId = ricId_example; // String let accept = application/json; // String let mut context = NearRTRICRepositoryApi::Context::default(); - let result = client.getRic(managedElementId, ricId, accept, &context).wait(); + let result = client.getRic(ricId, accept, &context).wait(); println!("{:?}", result); } @@ -12553,18 +12564,17 @@ pub fn main() { <h2>Parameters</h2> - - <div class="methodsubtabletitle">Header parameters</div> + <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> - <tr><td style="width:150px;">Accept</td> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> + <tr><td style="width:150px;">ricId*</td> <td> - <div id="d2e199_getRic_accept"> + <div id="d2e199_getRic_ricId"> <div class="json-schema-view"> <div class="primitive"> <span class="type"> @@ -12572,9 +12582,12 @@ pub fn main() { </span> <div class="inner description marked"> -Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. +The identity of a Near-RT RIC to get information for. </div> </div> + <div class="inner required"> + Required + </div> </div> </div> </td> @@ -12582,19 +12595,17 @@ Specifies the content type that the client expects to receive in response to the </table> - - - <div class="methodsubtabletitle">Query parameters</div> + <div class="methodsubtabletitle">Header parameters</div> <table id="methodsubtable"> <tr> <th width="150px">Name</th> <th>Description</th> </tr> - <tr><td style="width:150px;">managedElementId</td> + <tr><td style="width:150px;">Accept</td> <td> - <div id="d2e199_getRic_managedElementId"> + <div id="d2e199_getRic_accept"> <div class="json-schema-view"> <div class="primitive"> <span class="type"> @@ -12602,7 +12613,7 @@ Specifies the content type that the client expects to receive in response to the </span> <div class="inner description marked"> -The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. +Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. </div> </div> </div> @@ -12610,27 +12621,10 @@ The identity of a Managed Element. If given, the Near-RT RIC managing the ME is </td> </tr> - <tr><td style="width:150px;">ricId</td> -<td> + </table> - <div id="d2e199_getRic_ricId"> - <div class="json-schema-view"> - <div class="primitive"> - <span class="type"> - String - </span> - <div class="inner description marked"> -The identity of a Near-RT RIC to get information for. - </div> - </div> - </div> - </div> -</td> -</tr> - - </table> <h2>Responses</h2> <h3 id="examples-NearRTRICRepository-getRic-title-200"></h3> @@ -12663,20 +12657,20 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Near-RT RIC is found OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/RicInfo"
- },
- "examples" : {
- "ric_info" : {
- "$ref" : "#/components/examples/RicInfo"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Near-RT RIC is found OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RicInfo" + }, + "examples" : { + "ric_info" : { + "$ref" : "#/components/examples/RicInfo" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -12744,15 +12738,15 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13150,20 +13144,20 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/RicInfoList"
- },
- "examples" : {
- "ric_info_list" : {
- "$ref" : "#/components/examples/RicInfoList"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RicInfoList" + }, + "examples" : { + "ric_info_list" : { + "$ref" : "#/components/examples/RicInfoList" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13231,15 +13225,15 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13318,7 +13312,7 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div class="tab-content"> <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-deleteService-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X DELETE \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ "https://example.com/a1-policy-management/v1/services/{serviceId}" </code></pre> </div> @@ -13637,15 +13631,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "No Content - Service unregistered",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "No Content - Service unregistered", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13713,15 +13707,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14119,20 +14113,20 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ServiceStatusList"
- },
- "examples" : {
- "service_status_list" : {
- "$ref" : "#/components/examples/ServiceStatusList"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ServiceStatusList" + }, + "examples" : { + "service_status_list" : { + "$ref" : "#/components/examples/ServiceStatusList" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14200,15 +14194,15 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14284,7 +14278,7 @@ The identity of the service <div class="tab-content"> <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X PUT \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/services/{serviceId}/keepalive" \ -d '' @@ -14596,15 +14590,15 @@ Specifies the content type that the client expects to receive in response to the <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- }
- }
- },
- "required" : false
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + }, + "required" : false }; var schema = findNode('schema',schemaWrapper).schema; @@ -14667,15 +14661,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service supervision timer refreshed, OK",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service supervision timer refreshed, OK", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14743,15 +14737,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14827,13 +14821,13 @@ $(document).ready(function() { <div class="tab-content"> <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-putService-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X PUT \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/services" \ - -d '{
- "keepAliveIntervalSeconds" : 0,
- "callbackUrl" : "callbackUrl",
- "serviceId" : "serviceId"
+ -d '{ + "keepAliveIntervalSeconds" : 0, + "callbackUrl" : "callbackUrl", + "serviceId" : "serviceId" }' </code></pre> </div> @@ -15065,15 +15059,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ServiceRegistrationInfo"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ServiceRegistrationInfo" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -15136,15 +15130,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service updated", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -15212,15 +15206,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Created - Service created",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created - Service created", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -15288,15 +15282,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { diff --git a/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json b/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json index 0fc875fa..f2141968 100644 --- a/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json +++ b/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json @@ -60,32 +60,33 @@ } }, "description" : "OK- Service is living Ok" + }, + "404" : { + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + }, + "description" : "Not Found" } }, "tags" : [ "Health Check" ] } }, - "/rics/ric" : { + "/rics/{ricId}" : { "get" : { - "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).", + "description" : "A ricId path parameter must be specified to retrieve associated ric infomation", "operationId" : "getRic", "parameters" : [ { - "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.", - "explode" : true, - "in" : "query", - "name" : "managedElementId", - "required" : false, - "schema" : { - "type" : "string" - }, - "style" : "form" - }, { "description" : "The identity of a Near-RT RIC to get information for.", "explode" : true, - "in" : "query", + "in" : "path", "name" : "ricId", - "required" : false, + "required" : true, "schema" : { + "nullable" : false, "type" : "string" }, "style" : "form" @@ -312,7 +313,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -447,7 +448,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -510,7 +511,7 @@ } ], "responses" : { "204" : { - "description" : "The A1 policy was deleted" + "description" : "No Content" }, "400" : { "content" : { @@ -595,7 +596,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -729,7 +730,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -906,7 +907,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1036,7 +1037,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1200,7 +1201,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1258,7 +1259,7 @@ } } }, - "description" : "Success case 201 created", + "description" : "Created", "headers" : { "Location" : { "description" : "Contains the URI of the newly created resource", @@ -1268,6 +1269,15 @@ "type" : "string" }, "style" : "simple" + }, + "Content-Type" : { + "description" : "Media Type of the response", + "explode" : false, + "schema" : { + "example" : "application/json", + "type" : "string" + }, + "style" : "simple" } } }, @@ -1384,7 +1394,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1464,7 +1474,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "$ref" : "#/components/schemas/void" } @@ -1524,7 +1534,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1662,7 +1672,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1672,7 +1682,7 @@ }, "201" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1723,7 +1733,7 @@ "responses" : { "204" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1764,17 +1774,6 @@ } ] } }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "value" : { - "lastModified" : "last_modified", - "status" : { - "value" : { - "status" : "status" - } - } - } - }, "StatusInfo" : { "value" : { "status" : "status" @@ -2005,7 +2004,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -2092,6 +2091,7 @@ "type" : "string" }, "serviceId" : { + "default" : "", "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", "example" : "rApp ID", "type" : "string" @@ -2221,20 +2221,6 @@ }, "type" : "object" }, - "AuthorizationResult" : { - "description" : "Result of authorization", - "example" : { - "result" : true - }, - "properties" : { - "result" : { - "description" : "If true, the access is granted", - "type" : "boolean" - } - }, - "required" : [ "result" ], - "type" : "object" - }, "RicInfo" : { "description" : "Information for a Near-RT RIC", "properties" : { @@ -2286,20 +2272,6 @@ "required" : [ "serviceId" ], "type" : "object" }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "properties" : { - "lastModified" : { - "description" : "timestamp, last modification time", - "type" : "string" - }, - "status" : { - "description" : "the Policy status", - "type" : "object" - } - }, - "type" : "object" - }, "ServiceStatus" : { "properties" : { "callbackUrl" : { @@ -2336,36 +2308,6 @@ }, "type" : "object" }, - "input" : { - "description" : "input", - "properties" : { - "accessType" : { - "description" : "Access type", - "enum" : [ "READ", "WRITE", "DELETE" ], - "type" : "string" - }, - "authToken" : { - "description" : "Authorization token", - "type" : "string" - }, - "policyTypeId" : { - "description" : "Policy type identifier", - "type" : "string" - } - }, - "required" : [ "accessType", "authToken", "policyTypeId" ], - "type" : "object" - }, - "PolicyAuthorization" : { - "description" : "Authorization request for A1 policy requests", - "properties" : { - "input" : { - "$ref" : "#/components/schemas/input" - } - }, - "required" : [ "input" ], - "type" : "object" - }, "NearRtRicId" : { "description" : "Identity of the policy", "type" : "string" @@ -2412,17 +2354,6 @@ "required" : [ "eventType", "ricId" ], "type" : "object" }, - "Link" : { - "properties" : { - "templated" : { - "type" : "boolean" - }, - "href" : { - "type" : "string" - } - }, - "type" : "object" - }, "ProblemDetails" : { "description" : "A problem detail to carry details in an HTTP response according to RFC 7807", "properties" : { diff --git a/a1-policy-management/api/offeredapis/swagger/pms-api-v3.json b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.json index f923650c..f2141968 100644 --- a/a1-policy-management/api/offeredapis/swagger/pms-api-v3.json +++ b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.json @@ -60,32 +60,33 @@ } }, "description" : "OK- Service is living Ok" + }, + "404" : { + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + }, + "description" : "Not Found" } }, "tags" : [ "Health Check" ] } }, - "/rics/ric" : { + "/rics/{ricId}" : { "get" : { - "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).", + "description" : "A ricId path parameter must be specified to retrieve associated ric infomation", "operationId" : "getRic", "parameters" : [ { - "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.", - "explode" : true, - "in" : "query", - "name" : "managedElementId", - "required" : false, - "schema" : { - "type" : "string" - }, - "style" : "form" - }, { "description" : "The identity of a Near-RT RIC to get information for.", "explode" : true, - "in" : "query", + "in" : "path", "name" : "ricId", - "required" : false, + "required" : true, "schema" : { + "nullable" : false, "type" : "string" }, "style" : "form" @@ -312,7 +313,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -447,7 +448,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -510,7 +511,7 @@ } ], "responses" : { "204" : { - "description" : "The A1 policy was deleted" + "description" : "No Content" }, "400" : { "content" : { @@ -595,7 +596,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -729,7 +730,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -906,7 +907,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1036,7 +1037,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1200,7 +1201,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1258,7 +1259,7 @@ } } }, - "description" : "Success case 201 created", + "description" : "Created", "headers" : { "Location" : { "description" : "Contains the URI of the newly created resource", @@ -1268,6 +1269,15 @@ "type" : "string" }, "style" : "simple" + }, + "Content-Type" : { + "description" : "Media Type of the response", + "explode" : false, + "schema" : { + "example" : "application/json", + "type" : "string" + }, + "style" : "simple" } } }, @@ -1384,7 +1394,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1464,7 +1474,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "$ref" : "#/components/schemas/void" } @@ -1524,7 +1534,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1662,7 +1672,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1672,7 +1682,7 @@ }, "201" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1723,7 +1733,7 @@ "responses" : { "204" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1764,17 +1774,6 @@ } ] } }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "value" : { - "lastModified" : "last_modified", - "status" : { - "value" : { - "status" : "status" - } - } - } - }, "StatusInfo" : { "value" : { "status" : "status" @@ -2005,7 +2004,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -2222,20 +2221,6 @@ }, "type" : "object" }, - "AuthorizationResult" : { - "description" : "Result of authorization", - "example" : { - "result" : true - }, - "properties" : { - "result" : { - "description" : "If true, the access is granted", - "type" : "boolean" - } - }, - "required" : [ "result" ], - "type" : "object" - }, "RicInfo" : { "description" : "Information for a Near-RT RIC", "properties" : { @@ -2287,20 +2272,6 @@ "required" : [ "serviceId" ], "type" : "object" }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "properties" : { - "lastModified" : { - "description" : "timestamp, last modification time", - "type" : "string" - }, - "status" : { - "description" : "the Policy status", - "type" : "object" - } - }, - "type" : "object" - }, "ServiceStatus" : { "properties" : { "callbackUrl" : { @@ -2337,36 +2308,6 @@ }, "type" : "object" }, - "input" : { - "description" : "input", - "properties" : { - "accessType" : { - "description" : "Access type", - "enum" : [ "READ", "WRITE", "DELETE" ], - "type" : "string" - }, - "authToken" : { - "description" : "Authorization token", - "type" : "string" - }, - "policyTypeId" : { - "description" : "Policy type identifier", - "type" : "string" - } - }, - "required" : [ "accessType", "authToken", "policyTypeId" ], - "type" : "object" - }, - "PolicyAuthorization" : { - "description" : "Authorization request for A1 policy requests", - "properties" : { - "input" : { - "$ref" : "#/components/schemas/input" - } - }, - "required" : [ "input" ], - "type" : "object" - }, "NearRtRicId" : { "description" : "Identity of the policy", "type" : "string" @@ -2413,17 +2354,6 @@ "required" : [ "eventType", "ricId" ], "type" : "object" }, - "Link" : { - "properties" : { - "templated" : { - "type" : "boolean" - }, - "href" : { - "type" : "string" - } - }, - "type" : "object" - }, "ProblemDetails" : { "description" : "A problem detail to carry details in an HTTP response according to RFC 7807", "properties" : { diff --git a/a1-policy-management/api/offeredapis/swagger/pms-api-v3.yaml b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.yaml index 1ea8b486..4df9d61a 100644 --- a/a1-policy-management/api/offeredapis/swagger/pms-api-v3.yaml +++ b/a1-policy-management/api/offeredapis/swagger/pms-api-v3.yaml @@ -89,28 +89,19 @@ paths: description: Returns status and statistics of this service tags: - Health Check - /rics/ric: + /rics/{ricId}: get: - description: Either a Near-RT RIC identity or a Managed Element identity can - be specified.<br>The intention with Managed Element identity is the ID used - in O1 for accessing the traffical element (such as the ID of CU). + description: A ricId path parameter must be specified to retrieve associated ric infomation operationId: getRic parameters: - - description: "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned." - explode: true - in: query - name: managedElementId - required: false - schema: - type: string - style: form - description: The identity of a Near-RT RIC to get information for. explode: true - in: query + in: path name: ricId - required: false + required: true schema: type: string + nullable: false style: form - description: Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/RicRepositoryController.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/RicRepositoryController.java index f7872a38..53abcd71 100644 --- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/RicRepositoryController.java +++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/RicRepositoryController.java @@ -3,6 +3,7 @@ * ONAP : ccsdk oran * ====================================================================== * Copyright (C) 2019-2023 Nordix Foundation. All rights reserved. + * Modifications Copyright (C) 2025 OpenInfra Foundation Europe. All rights reserved. * ====================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +34,7 @@ import org.onap.ccsdk.oran.a1policymanagementservice.models.v2.RicInfoList; import org.onap.ccsdk.oran.a1policymanagementservice.repository.PolicyTypes; import org.onap.ccsdk.oran.a1policymanagementservice.repository.Ric; import org.onap.ccsdk.oran.a1policymanagementservice.repository.Rics; +import org.onap.ccsdk.oran.a1policymanagementservice.util.v3.Helper; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RestController; @@ -41,6 +43,7 @@ import reactor.core.publisher.Mono; import java.util.ArrayList; import java.util.List; +import java.util.Set; @RestController("ricRepositoryControllerV2") @RequiredArgsConstructor @@ -63,12 +66,17 @@ public class RicRepositoryController implements NearRtRicRepositoryApi { private static final String GET_RIC_DETAILS = "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>" // + "The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU)."; + private final Helper helper; + @Override public Mono<ResponseEntity<RicInfo>> getRic( final String managedElementId, final String ricId, final ServerWebExchange exchange) throws Exception { + + helper.validateQueryParameters(exchange, Set.of("managed_element_id", "ric_id")); + if (managedElementId != null && ricId != null) { - throw new InvalidRequestException("Give one query parameter"); + throw new InvalidRequestException("Only one parameter allowed"); } else if (managedElementId != null) { Ric ric = this.rics.lookupRicForManagedElement(managedElementId); return Mono.just(new ResponseEntity<>(toRicInfo(ric), HttpStatus.OK)); @@ -76,7 +84,7 @@ public class RicRepositoryController implements NearRtRicRepositoryApi { RicInfo info = toRicInfo(this.rics.getRic(ricId)); return Mono.just(new ResponseEntity<>(info, HttpStatus.OK)); } else { - throw new InvalidRequestException("Give one query parameter"); + throw new InvalidRequestException("Only one parameter allowed"); } } diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3.java index 89d47d7f..ce2769e6 100644 --- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3.java +++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * ONAP : ccsdk oran * ====================================================================== - * Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. + * Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved. * ====================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,17 +24,25 @@ import io.swagger.v3.oas.annotations.tags.Tag; import lombok.RequiredArgsConstructor; import org.onap.ccsdk.oran.a1policymanagementservice.controllers.api.v3.NearRtRicRepositoryApi; import org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2.Consts; +import org.onap.ccsdk.oran.a1policymanagementservice.exceptions.InvalidRequestException; import org.onap.ccsdk.oran.a1policymanagementservice.mappers.v3.RicRepositoryMapper; import org.onap.ccsdk.oran.a1policymanagementservice.controllers.v2.RicRepositoryController; import org.onap.ccsdk.oran.a1policymanagementservice.models.v3.RicInfo; import org.onap.ccsdk.oran.a1policymanagementservice.models.v3.RicInfoList; +import org.onap.ccsdk.oran.a1policymanagementservice.repository.Ric; +import org.onap.ccsdk.oran.a1policymanagementservice.repository.Rics; import org.onap.ccsdk.oran.a1policymanagementservice.service.v3.ErrorHandlingService; +import org.onap.ccsdk.oran.a1policymanagementservice.util.v3.Helper; +import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.server.ServerWebExchange; import reactor.core.publisher.Mono; +import java.util.List; +import java.util.Set; + @RestController("ricRepositoryControllerV3") @RequiredArgsConstructor @Tag( @@ -53,17 +61,50 @@ public class RicRepositoryControllerV3 implements NearRtRicRepositoryApi { private final ErrorHandlingService errorHandlingService; + private final Rics rics; + + private final Helper helper; + @Override - public Mono<ResponseEntity<RicInfo>> getRic(String managedElementId, String ricId, String accept, ServerWebExchange exchange) throws Exception { - return ricRepositoryController.getRic(managedElementId, ricId, exchange) - .map(responseEntity -> new ResponseEntity<>(ricRepositoryMapper.toRicInfoV3(responseEntity.getBody()), responseEntity.getStatusCode())) - .doOnError(errorHandlingService::handleError); + public Mono<ResponseEntity<RicInfo>> getRic(String ricId, String accept, ServerWebExchange exchange) throws Exception { + + helper.validateQueryParameters(exchange, Set.of("ricId")); + + if (ricId != null) { + RicInfo info = toRicInfo(this.rics.getRic(ricId)); + return Mono.just(new ResponseEntity<>(info, HttpStatus.OK)) + .map(responseEntity -> new ResponseEntity<>( + responseEntity.getBody(), responseEntity.getStatusCode())) + .doOnError(errorHandlingService::handleError); + } else { + throw new InvalidRequestException("Only one parameter allowed"); + } } @Override - public Mono<ResponseEntity<RicInfoList>> getRics(String policyTypeId, String accept, ServerWebExchange exchange) throws Exception { + public Mono<ResponseEntity<RicInfoList>> getRics(String policyTypeId, String accept, + ServerWebExchange exchange) throws Exception { return ricRepositoryController.getRics(policyTypeId, exchange) - .map(responseEntity -> new ResponseEntity<>(ricRepositoryMapper.toRicInfoListV3(responseEntity.getBody()), responseEntity.getStatusCode())) + .map(responseEntity -> + new ResponseEntity<>( + ricRepositoryMapper.toRicInfoListV3(responseEntity.getBody()), + responseEntity.getStatusCode())) .doOnError(errorHandlingService::handleError); } + + private RicInfo toRicInfo(Ric ric) { + return new RicInfo().ricId(ric.id()) + .managedElementIds((List<String>) ric.getManagedElementIds()) + .policyTypeIds((List<String>) ric.getSupportedPolicyTypeNames()) + .state(toRicState(ric.getState())); + } + + private RicInfo.StateEnum toRicState(Ric.RicState state) { + return switch (state) { + case AVAILABLE -> RicInfo.StateEnum.AVAILABLE; + case CONSISTENCY_CHECK -> RicInfo.StateEnum.CONSISTENCY_CHECK; + case SYNCHRONIZING -> RicInfo.StateEnum.SYNCHRONIZING; + case UNAVAILABLE -> RicInfo.StateEnum.UNAVAILABLE; + }; + } } diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java index 3f301b77..8f3be34a 100644 --- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java +++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/util/v3/Helper.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * ONAP : ccsdk oran * ====================================================================== - * Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. + * Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved. * ====================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ package org.onap.ccsdk.oran.a1policymanagementservice.util.v3; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import lombok.RequiredArgsConstructor; +import org.onap.ccsdk.oran.a1policymanagementservice.exceptions.InvalidRequestException; import org.onap.ccsdk.oran.a1policymanagementservice.exceptions.ServiceException; import org.onap.ccsdk.oran.a1policymanagementservice.models.v3.PolicyInformation; import org.onap.ccsdk.oran.a1policymanagementservice.models.v3.PolicyObjectInformation; @@ -43,6 +44,7 @@ import reactor.core.publisher.Mono; import java.lang.invoke.MethodHandles; import java.time.Instant; import java.util.Collection; +import java.util.Set; import java.util.UUID; import java.util.stream.Collectors; @@ -149,4 +151,17 @@ public class Helper { .map(type -> new PolicyTypeInformation(type.getId(), ric.getConfig().getRicId())) .collect(Collectors.toList()); } + + + public void validateQueryParameters(ServerWebExchange exchange, Set<String> allowedParams) throws InvalidRequestException { + Set<String> receivedParams = exchange.getRequest().getQueryParams().keySet(); + + Set<String> extraParams = receivedParams.stream() + .filter(param -> !allowedParams.contains(param)) + .collect(Collectors.toSet()); + + if (!extraParams.isEmpty()) { + throw new InvalidRequestException("Unexpected query parameters: " + extraParams); + } + } } diff --git a/a1-policy-management/src/main/resources/application_configuration_schema.json b/a1-policy-management/src/main/resources/application_configuration_schema.json index 8476951c..3186dae6 100644 --- a/a1-policy-management/src/main/resources/application_configuration_schema.json +++ b/a1-policy-management/src/main/resources/application_configuration_schema.json @@ -72,8 +72,7 @@ }, "required": [ "name", - "baseUrl", - "managedElementIds" + "baseUrl" ], "additionalProperties": false } diff --git a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3Test.java b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3Test.java index 455ea0cf..ece5d8c2 100644 --- a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3Test.java +++ b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v3/RicRepositoryControllerV3Test.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * ONAP : ccsdk oran * ====================================================================== - * Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. + * Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved. * ====================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -105,7 +105,7 @@ class RicRepositoryControllerV3Test { @Test void testGetRic() throws IOException { testHelperTest.addPolicyType("1", "ricAdded"); - Mono<ResponseEntity<String>> responseEntityMono = testHelperTest.restClientV3().getForEntity("/rics/ric?ricId=ricAdded"); + Mono<ResponseEntity<String>> responseEntityMono = testHelperTest.restClientV3().getForEntity("/rics/ricAdded"); testHelperTest.testSuccessResponse(responseEntityMono, HttpStatus.OK, responseBody -> responseBody .contains("{\"ricId\":\"ricAdded\",\"managedElementIds\":[],\"state\":\"AVAILABLE\",\"policyTypeIds\":[\"1\"]}")); } diff --git a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html index c59e6223..38e9caed 100644 --- a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html +++ b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html @@ -844,313 +844,313 @@ ul.nav-tabs { <script> // Script section to load models into a JS Var var defs = {} - defs["authorization_result"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
+ defs["authorization_result"] = { + "required" : [ "result" ], + "type" : "object", + "properties" : { + "result" : { + "type" : "boolean", + "description" : "If true, the access is granted" + } + }, + "description" : "Result of authorization", + "example" : { + "result" : true + } }; - defs["error_information"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
+ defs["error_information"] = { + "type" : "object", + "properties" : { + "detail" : { + "type" : "string", + "description" : " A human-readable explanation specific to this occurrence of the problem.", + "example" : "Policy type not found" + }, + "title" : { + "type" : "string", + "description" : "A specific error name", + "example" : "Not Found" + }, + "status" : { + "type" : "integer", + "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ", + "format" : "int32", + "example" : 404 + } + }, + "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807" }; - defs["input"] = {
- "required" : [ "access_type", "auth_token", "policy_type_id" ],
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "auth_token" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policy_type_id" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
+ defs["input"] = { + "required" : [ "access_type", "auth_token", "policy_type_id" ], + "type" : "object", + "properties" : { + "access_type" : { + "type" : "string", + "description" : "Access type", + "enum" : [ "READ", "WRITE", "DELETE" ] + }, + "auth_token" : { + "type" : "string", + "description" : "Authorization token" + }, + "policy_type_id" : { + "type" : "string", + "description" : "Policy type identifier" + } + }, + "description" : "input" }; - defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
+ defs["Link"] = { + "type" : "object", + "properties" : { + "templated" : { + "type" : "boolean" + }, + "href" : { + "type" : "string" + } + } }; - defs["policy_authorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
+ defs["policy_authorization"] = { + "required" : [ "input" ], + "type" : "object", + "properties" : { + "input" : { + "$ref" : "#/components/schemas/input" + } + }, + "description" : "Authorization request for A1 policy requests" }; - defs["policy_id_list"] = {
- "type" : "object",
- "properties" : {
- "policy_ids" : {
- "type" : "array",
- "description" : "Policy identities",
- "items" : {
- "type" : "string",
- "description" : "Policy identities"
- }
- }
- },
- "description" : "A list of policy identities",
- "example" : {
- "policy_ids" : [ "policy_ids", "policy_ids" ]
- }
+ defs["policy_id_list"] = { + "type" : "object", + "properties" : { + "policy_ids" : { + "type" : "array", + "description" : "Policy identities", + "items" : { + "type" : "string", + "description" : "Policy identities" + } + } + }, + "description" : "A list of policy identities", + "example" : { + "policy_ids" : [ "policy_ids", "policy_ids" ] + } }; - defs["policy_info"] = {
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the target Near-RT RIC"
- },
- "policy_id" : {
- "type" : "string",
- "description" : "identity of the policy"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "example" : false,
- "default" : false
- },
- "service_id" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "default" : ""
- },
- "policy_data" : {
- "type" : "object",
- "description" : "the configuration of the policy"
- },
- "status_notification_uri" : {
- "type" : "string",
- "description" : "Callback URI for policy status updates"
- },
- "policytype_id" : {
- "type" : "string",
- "description" : "identity of the policy type"
- }
- },
- "description" : "Information for one A1-P Policy"
+ defs["policy_info"] = { + "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ], + "type" : "object", + "properties" : { + "ric_id" : { + "type" : "string", + "description" : "identity of the target Near-RT RIC" + }, + "policy_id" : { + "type" : "string", + "description" : "identity of the policy" + }, + "transient" : { + "type" : "boolean", + "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.", + "nullable" : false, + "example" : false, + "default" : false + }, + "service_id" : { + "type" : "string", + "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", + "default" : "" + }, + "policy_data" : { + "type" : "object", + "description" : "the configuration of the policy" + }, + "status_notification_uri" : { + "type" : "string", + "description" : "Callback URI for policy status updates" + }, + "policytype_id" : { + "type" : "string", + "description" : "identity of the policy type" + } + }, + "description" : "Information for one A1-P Policy" }; - defs["policy_info_list"] = {
- "type" : "object",
- "properties" : {
- "policies" : {
- "type" : "array",
- "description" : "List of policy information",
- "items" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "description" : "List of policy information"
+ defs["policy_info_list"] = { + "type" : "object", + "properties" : { + "policies" : { + "type" : "array", + "description" : "List of policy information", + "items" : { + "$ref" : "#/components/schemas/policy_info" + } + } + }, + "description" : "List of policy information" }; - defs["policy_status_info"] = {
- "type" : "object",
- "properties" : {
- "last_modified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
+ defs["policy_status_info"] = { + "type" : "object", + "properties" : { + "last_modified" : { + "type" : "string", + "description" : "timestamp, last modification time" + }, + "status" : { + "type" : "object", + "description" : "the Policy status" + } + }, + "description" : "Status for one A1-P Policy" }; - defs["policy_type_definition"] = {
- "type" : "object",
- "properties" : {
- "policy_schema" : {
- "type" : "object",
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
- }
- },
- "description" : "Contains policy type schema definition"
+ defs["policy_type_definition"] = { + "type" : "object", + "properties" : { + "policy_schema" : { + "type" : "object", + "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema" + } + }, + "description" : "Contains policy type schema definition" }; - defs["policy_type_id_list"] = {
- "type" : "object",
- "properties" : {
- "policytype_ids" : {
- "type" : "array",
- "description" : "Policy type identities",
- "items" : {
- "type" : "string",
- "description" : "Policy type identities"
- }
- }
- },
- "description" : "Information about policy types"
+ defs["policy_type_id_list"] = { + "type" : "object", + "properties" : { + "policytype_ids" : { + "type" : "array", + "description" : "Policy type identities", + "items" : { + "type" : "string", + "description" : "Policy type identities" + } + } + }, + "description" : "Information about policy types" }; - defs["ric_info"] = {
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of the Near-RT RIC"
- },
- "managed_element_ids" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policytype_ids" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
+ defs["ric_info"] = { + "type" : "object", + "properties" : { + "ric_id" : { + "type" : "string", + "description" : "identity of the Near-RT RIC" + }, + "managed_element_ids" : { + "type" : "array", + "description" : "O1 identities for managed entities", + "items" : { + "type" : "string", + "description" : "O1 identities for managed entities" + } + }, + "state" : { + "type" : "string", + "description" : "Represents the states for a Near-RT RIC", + "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ] + }, + "policytype_ids" : { + "type" : "array", + "description" : "supported policy types", + "items" : { + "type" : "string", + "description" : "supported policy types" + } + } + }, + "description" : "Information for a Near-RT RIC" }; - defs["ric_info_list"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/ric_info"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
+ defs["ric_info_list"] = { + "type" : "object", + "properties" : { + "rics" : { + "type" : "array", + "description" : "List of Near-RT RIC information", + "items" : { + "$ref" : "#/components/schemas/ric_info" + } + } + }, + "description" : "List of Near-RT RIC information" }; - defs["service_callback_info_v2"] = {
- "required" : [ "event_type", "ric_id" ],
- "type" : "object",
- "properties" : {
- "ric_id" : {
- "type" : "string",
- "description" : "identity of a Near-RT RIC"
- },
- "event_type" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
+ defs["service_callback_info_v2"] = { + "required" : [ "event_type", "ric_id" ], + "type" : "object", + "properties" : { + "ric_id" : { + "type" : "string", + "description" : "identity of a Near-RT RIC" + }, + "event_type" : { + "type" : "string", + "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management", + "enum" : [ "AVAILABLE" ] + } + }, + "description" : "Information transferred as in Service callbacks (callback_url)" }; - defs["service_registration_info"] = {
- "required" : [ "service_id" ],
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
+ defs["service_registration_info"] = { + "required" : [ "service_id" ], + "type" : "object", + "properties" : { + "callback_url" : { + "type" : "string", + "description" : "callback for notifying of Near-RT RIC state changes" + }, + "service_id" : { + "type" : "string", + "description" : "identity of the service" + }, + "keep_alive_interval_seconds" : { + "type" : "integer", + "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.", + "format" : "int64" + } + }, + "description" : "Information for one service" }; - defs["service_status"] = {
- "type" : "object",
- "properties" : {
- "callback_url" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "service_id" : {
- "type" : "string",
- "description" : "identity of the service"
- },
- "keep_alive_interval_seconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "time_since_last_activity_seconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
+ defs["service_status"] = { + "type" : "object", + "properties" : { + "callback_url" : { + "type" : "string", + "description" : "callback for notifying of RIC synchronization" + }, + "service_id" : { + "type" : "string", + "description" : "identity of the service" + }, + "keep_alive_interval_seconds" : { + "type" : "integer", + "description" : "policy keep alive timeout", + "format" : "int64" + }, + "time_since_last_activity_seconds" : { + "type" : "integer", + "description" : "time since last invocation by the service", + "format" : "int64" + } + } }; - defs["service_status_list"] = {
- "type" : "object",
- "properties" : {
- "service_list" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/service_status"
- }
- }
- }
+ defs["service_status_list"] = { + "type" : "object", + "properties" : { + "service_list" : { + "type" : "array", + "description" : "List of service information", + "items" : { + "$ref" : "#/components/schemas/service_status" + } + } + } }; - defs["status_info"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
+ defs["status_info"] = { + "type" : "object", + "properties" : { + "status" : { + "type" : "string", + "description" : "status text" + } + } }; @@ -1575,15 +1575,15 @@ pub fn main() { <div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy deleted",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy deleted", + "content" : { + "*/*" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1651,20 +1651,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "Requested resource is in a locked state."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "Requested resource is in a locked state." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2019,20 +2019,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- },
- "examples" : {
- "policy_info" : {
- "$ref" : "#/components/examples/policy_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_info" + }, + "examples" : { + "policy_info" : { + "$ref" : "#/components/examples/policy_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2095,13 +2095,13 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2554,20 +2554,20 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy identities",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_id_list"
- },
- "examples" : {
- "policy_id_list" : {
- "$ref" : "#/components/examples/policy_id_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy identities", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_id_list" + }, + "examples" : { + "policy_id_list" : { + "$ref" : "#/components/examples/policy_id_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2630,13 +2630,13 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getPolicyIds-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3089,20 +3089,20 @@ Select policies of a given type name (type identity has the format <typename_ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Returns A1 Policies which matches the criteria",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info_list"
- },
- "examples" : {
- "policy_info_list" : {
- "$ref" : "#/components/examples/policy_info_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Returns A1 Policies which matches the criteria", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_info_list" + }, + "examples" : { + "policy_info_list" : { + "$ref" : "#/components/examples/policy_info_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3170,15 +3170,15 @@ Select policies of a given type name (type identity has the format <typename_ <div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found - Near-RT RIC, policy type or service not found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found - Near-RT RIC, policy type or service not found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3533,20 +3533,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy status",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_status_info"
- },
- "examples" : {
- "policy_status_info" : {
- "$ref" : "#/components/examples/policy_status_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy status", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_status_info" + }, + "examples" : { + "policy_status_info" : { + "$ref" : "#/components/examples/policy_status_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3609,13 +3609,13 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3970,20 +3970,20 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - schema of the given policy type",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_type_definition"
- },
- "examples" : {
- "policy_type_definition" : {
- "$ref" : "#/components/examples/policy_type_definition"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - schema of the given policy type", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_type_definition" + }, + "examples" : { + "policy_type_definition" : { + "$ref" : "#/components/examples/policy_type_definition" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4046,13 +4046,13 @@ pub fn main() { <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4471,20 +4471,20 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy Type IDs Found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_type_id_list"
- },
- "examples" : {
- "policy_type_id_list" : {
- "$ref" : "#/components/examples/policy_type_id_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy Type IDs Found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_type_id_list" + }, + "examples" : { + "policy_type_id_list" : { + "$ref" : "#/components/examples/policy_type_id_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4547,13 +4547,13 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4860,15 +4860,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_info" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -4931,15 +4931,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy updated",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5007,15 +5007,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Created - Policy created",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created - Policy created", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5083,20 +5083,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "Requested resource is in a locked state."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "Requested resource is in a locked state." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5409,15 +5409,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/policy_authorization"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/policy_authorization" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -5480,15 +5480,15 @@ $(document).ready(function() { <div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/authorization_result"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/authorization_result" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5556,20 +5556,20 @@ $(document).ready(function() { <div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 403,
- "title" : "Forbidden",
- "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 403, + "title" : "Forbidden", + "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5889,15 +5889,15 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Configuration",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Configuration", + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5960,13 +5960,13 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6273,15 +6273,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -6344,15 +6344,15 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Configuration updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Configuration updated", + "content" : { + "*/*" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6420,20 +6420,20 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 400,
- "title" : "Bad Request",
- "detail" : "The provided request is not valid."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 400, + "title" : "Bad Request", + "detail" : "The provided request is not valid." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6753,20 +6753,20 @@ pub fn main() { <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK- Service is living Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/status_info"
- },
- "examples" : {
- "status_info" : {
- "$ref" : "#/components/examples/status_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK- Service is living Ok", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/status_info" + }, + "examples" : { + "status_info" : { + "$ref" : "#/components/examples/status_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7083,15 +7083,15 @@ pub fn main() { <div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service is living",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service is living", + "content" : { + "*/*" : { + "schema" : { + "type" : "string" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7485,20 +7485,20 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Near-RT RIC is found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ric_info"
- },
- "examples" : {
- "ric_info" : {
- "$ref" : "#/components/examples/ric_info"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Near-RT RIC is found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ric_info" + }, + "examples" : { + "ric_info" : { + "$ref" : "#/components/examples/ric_info" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7561,13 +7561,13 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7927,20 +7927,20 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ric_info_list"
- },
- "examples" : {
- "ric_info_list" : {
- "$ref" : "#/components/examples/ric_info_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ric_info_list" + }, + "examples" : { + "ric_info_list" : { + "$ref" : "#/components/examples/ric_info_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8003,13 +8003,13 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8367,15 +8367,15 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "No Content - Service unregistered",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "No Content - Service unregistered", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8438,13 +8438,13 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8804,20 +8804,20 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_status_list"
- },
- "examples" : {
- "service_status_list" : {
- "$ref" : "#/components/examples/service_status_list"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/service_status_list" + }, + "examples" : { + "service_status_list" : { + "$ref" : "#/components/examples/service_status_list" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8880,13 +8880,13 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9244,15 +9244,15 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service supervision timer refreshed, OK",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service supervision timer refreshed, OK", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9315,13 +9315,13 @@ pub fn main() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "example" : [ ]
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "example" : [ ] + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9631,15 +9631,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/service_registration_info"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/service_registration_info" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -9702,15 +9702,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service updated", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9778,15 +9778,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Created - Service created",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created - Service created", + "content" : { + "*/*" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9854,20 +9854,20 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/error_information"
- },
- "example" : {
- "status" : 400,
- "title" : "Bad Request",
- "detail" : "The provided request is not valid."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/error_information" + }, + "example" : { + "status" : 400, + "title" : "Bad Request", + "detail" : "The provided request is not valid." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { diff --git a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html index 4ce5ef15..3b6a2658 100644 --- a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html +++ b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom/index.html @@ -844,382 +844,313 @@ ul.nav-tabs { <script> // Script section to load models into a JS Var var defs = {} - defs["AuthorizationResult"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
-}; - defs["ErrorInformation"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
-}; - defs["input"] = {
- "required" : [ "accessType", "authToken", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "accessType" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "authToken" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
-}; - defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
-}; - defs["PolicyAuthorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
-}; - defs["PolicyInformation"] = {
- "required" : [ "nearRtRicId", "policyId" ],
- "type" : "object",
- "properties" : {
- "policyId" : {
- "type" : "string",
- "description" : "Identity of the policy"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
-}; - defs["PolicyObjectInformation"] = {
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "nearRtRicId" : {
- "type" : "string",
- "description" : "Identity of the target Near-RT RIC",
- "example" : "Near-RT-Ric-ID"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "default" : false
- },
- "policyId" : {
- "type" : "string",
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
- "example" : "POLICY-ID"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "example" : "rApp ID",
- "default" : ""
- },
- "policyObject" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type",
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
- }
- },
- "description" : "Information related to the creation of the policy"
-}; - defs["PolicyStatusInfo"] = {
- "type" : "object",
- "properties" : {
- "lastModified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
-}; - defs["PolicyTypeInformation"] = {
- "required" : [ "nearRtRicId", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
- "example" : {
- "policyTypeId" : "STD_QOS2_0.1.0",
- "nearRtRicId" : "ricsim_g3_2"
- }
-}; - defs["PolicyTypeObject"] = {
- "required" : [ "policySchema" ],
- "type" : "object",
- "properties" : {
- "policySchema" : {
- "$ref" : "#/components/schemas/PolicySchema"
- },
- "statusSchema" : {
- "$ref" : "#/components/schemas/StatusSchema"
- }
- },
- "description" : "policy type object as defined in A1TD",
- "example" : {
- "policySchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0_2_0",
- "description" : "STD QOS policy type",
- "type" : "object",
- "properties" : {
- "scope" : {
- "type" : "object",
- "properties" : {
- "ueId" : {
- "type" : "string"
- },
- "qosId" : {
- "type" : "string"
- }
- },
- "additionalProperties" : false,
- "required" : [ "ueId", "qosId" ]
- },
- "qosObjectives" : {
- "type" : "object",
- "properties" : {
- "priorityLevel" : {
- "type" : "number"
- }
- },
- "additionalProperties" : false,
- "required" : [ "priorityLevel" ]
- }
- }
- },
- "statusSchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0.2.0",
- "description" : "STD QOS policy type status",
- "type" : "object",
- "properties" : {
- "enforceStatus" : {
- "type" : "string"
- },
- "enforceReason" : {
- "type" : "string"
- },
- "additionalProperties" : false,
- "required" : [ "enforceStatus" ]
- }
- }
- }
-}; - defs["ProblemDetails"] = {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
- },
- "title" : {
- "type" : "string",
- "description" : "human-readable summary of the problem type"
- },
- "status" : {
- "type" : "number",
- "description" : "the HTTP status code"
- },
- "detail" : {
- "type" : "string",
- "description" : "human-readable explanation "
- },
- "instance" : {
- "type" : "string",
- "description" : "URI reference that identifies the specific occurrence of the problem"
- }
- },
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
-}; - defs["RicInfo"] = {
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of the Near-RT RIC"
- },
- "managedElementIds" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policyTypeIds" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
-}; - defs["RicInfoList"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/RicInfo"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
-}; - defs["ServiceCallbackInfo"] = {
- "required" : [ "eventType", "ricId" ],
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of a Near-RT RIC"
- },
- "eventType" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
-}; - defs["ServiceRegistrationInfo"] = {
- "required" : [ "serviceId" ],
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
-}; - defs["ServiceStatus"] = {
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "timeSinceLastActivitySeconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
-}; - defs["ServiceStatusList"] = {
- "type" : "object",
- "properties" : {
- "serviceList" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/ServiceStatus"
- }
- }
- }
-}; - defs["StatusInfo"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
-}; - - defs["NearRtRicId"] = {
- "type" : "string",
- "description" : "Identity of the policy"
+ defs["ErrorInformation"] = { + "type" : "object", + "properties" : { + "detail" : { + "type" : "string", + "description" : " A human-readable explanation specific to this occurrence of the problem.", + "example" : "Policy type not found" + }, + "title" : { + "type" : "string", + "description" : "A specific error name", + "example" : "Not Found" + }, + "status" : { + "type" : "integer", + "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ", + "format" : "int32", + "example" : 404 + } + }, + "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807" +}; + defs["PolicyInformation"] = { + "required" : [ "nearRtRicId", "policyId" ], + "type" : "object", + "properties" : { + "policyId" : { + "type" : "string", + "description" : "Identity of the policy" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC" +}; + defs["PolicyObjectInformation"] = { + "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ], + "type" : "object", + "properties" : { + "nearRtRicId" : { + "type" : "string", + "description" : "Identity of the target Near-RT RIC", + "example" : "Near-RT-Ric-ID" + }, + "transient" : { + "type" : "boolean", + "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.", + "nullable" : false, + "default" : false + }, + "policyId" : { + "type" : "string", + "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.", + "example" : "POLICY-ID" + }, + "serviceId" : { + "type" : "string", + "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", + "example" : "rApp ID", + "default" : "" + }, + "policyObject" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type", + "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)" + } + }, + "description" : "Information related to the creation of the policy" +}; + defs["PolicyTypeInformation"] = { + "required" : [ "nearRtRicId", "policyTypeId" ], + "type" : "object", + "properties" : { + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type", + "example" : { + "policyTypeId" : "STD_QOS2_0.1.0", + "nearRtRicId" : "ricsim_g3_2" + } +}; + defs["PolicyTypeObject"] = { + "required" : [ "policySchema" ], + "type" : "object", + "properties" : { + "policySchema" : { + "$ref" : "#/components/schemas/PolicySchema" + }, + "statusSchema" : { + "$ref" : "#/components/schemas/StatusSchema" + } + }, + "description" : "policy type object as defined in A1TD", + "example" : { + "policySchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0_2_0", + "description" : "STD QOS policy type", + "type" : "object", + "properties" : { + "scope" : { + "type" : "object", + "properties" : { + "ueId" : { + "type" : "string" + }, + "qosId" : { + "type" : "string" + } + }, + "additionalProperties" : false, + "required" : [ "ueId", "qosId" ] + }, + "qosObjectives" : { + "type" : "object", + "properties" : { + "priorityLevel" : { + "type" : "number" + } + }, + "additionalProperties" : false, + "required" : [ "priorityLevel" ] + } + } + }, + "statusSchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0.2.0", + "description" : "STD QOS policy type status", + "type" : "object", + "properties" : { + "enforceStatus" : { + "type" : "string" + }, + "enforceReason" : { + "type" : "string" + }, + "additionalProperties" : false, + "required" : [ "enforceStatus" ] + } + } + } +}; + defs["ProblemDetails"] = { + "type" : "object", + "properties" : { + "type" : { + "type" : "string", + "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type" + }, + "title" : { + "type" : "string", + "description" : "human-readable summary of the problem type" + }, + "status" : { + "type" : "number", + "description" : "the HTTP status code" + }, + "detail" : { + "type" : "string", + "description" : "human-readable explanation " + }, + "instance" : { + "type" : "string", + "description" : "URI reference that identifies the specific occurrence of the problem" + } + }, + "description" : "A problem detail to carry details in an HTTP response according to RFC 7807" +}; + defs["RicInfo"] = { + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of the Near-RT RIC" + }, + "managedElementIds" : { + "type" : "array", + "description" : "O1 identities for managed entities", + "items" : { + "type" : "string", + "description" : "O1 identities for managed entities" + } + }, + "state" : { + "type" : "string", + "description" : "Represents the states for a Near-RT RIC", + "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ] + }, + "policyTypeIds" : { + "type" : "array", + "description" : "supported policy types", + "items" : { + "type" : "string", + "description" : "supported policy types" + } + } + }, + "description" : "Information for a Near-RT RIC" +}; + defs["RicInfoList"] = { + "type" : "object", + "properties" : { + "rics" : { + "type" : "array", + "description" : "List of Near-RT RIC information", + "items" : { + "$ref" : "#/components/schemas/RicInfo" + } + } + }, + "description" : "List of Near-RT RIC information" +}; + defs["ServiceCallbackInfo"] = { + "required" : [ "eventType", "ricId" ], + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of a Near-RT RIC" + }, + "eventType" : { + "type" : "string", + "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management", + "enum" : [ "AVAILABLE" ] + } + }, + "description" : "Information transferred as in Service callbacks (callback_url)" +}; + defs["ServiceRegistrationInfo"] = { + "required" : [ "serviceId" ], + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of Near-RT RIC state changes" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.", + "format" : "int64" + } + }, + "description" : "Information for one service" +}; + defs["ServiceStatus"] = { + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of RIC synchronization" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "policy keep alive timeout", + "format" : "int64" + }, + "timeSinceLastActivitySeconds" : { + "type" : "integer", + "description" : "time since last invocation by the service", + "format" : "int64" + } + } +}; + defs["ServiceStatusList"] = { + "type" : "object", + "properties" : { + "serviceList" : { + "type" : "array", + "description" : "List of service information", + "items" : { + "$ref" : "#/components/schemas/ServiceStatus" + } + } + } +}; + defs["StatusInfo"] = { + "type" : "object", + "properties" : { + "status" : { + "type" : "string", + "description" : "status text" + } + } +}; + + defs["NearRtRicId"] = { + "type" : "string", + "description" : "Identity of the policy" }; var errs = {}; @@ -1326,13 +1257,13 @@ ul.nav-tabs { -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/policies" \ - -d '{
- "policyId" : "POLICY-ID",
- "nearRtRicId" : "Near-RT-Ric-ID",
- "transient" : false,
- "policyObject" : "{}",
- "serviceId" : "rApp ID",
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ -d '{ + "policyId" : "POLICY-ID", + "nearRtRicId" : "Near-RT-Ric-ID", + "transient" : false, + "policyObject" : "{}", + "serviceId" : "rApp ID", + "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)" }' </code></pre> </div> @@ -1561,15 +1492,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -1605,7 +1536,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-201"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-201" class="marked"></p> <script> - var responseA1PolicyManagement201_description = `Success case 201 created`; + var responseA1PolicyManagement201_description = `Created`; var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n'); if (responseA1PolicyManagement201_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description); @@ -1635,26 +1566,35 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Success case 201 created",
- "headers" : {
- "Location" : {
- "description" : "Contains the URI of the newly created resource",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- }
- },
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created", + "headers" : { + "Location" : { + "description" : "Contains the URI of the newly created resource", + "required" : true, + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string" + } + }, + "Content-Type" : { + "description" : "Media Type of the response", + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string", + "example" : "application/json" + } + } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1705,6 +1645,12 @@ $(document).ready(function() { <td></td> <td>Contains the URI of the newly created resource</td> </tr> + <tr> + <td>Content-Type</td> + <td>String</td> + <td></td> + <td>Media Type of the response</td> + </tr> </table> </div> </div> @@ -1738,15 +1684,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1814,15 +1760,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1890,15 +1836,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1966,15 +1912,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2042,15 +1988,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2118,15 +2064,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2194,15 +2140,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Conflict",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Conflict", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2270,15 +2216,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2346,15 +2292,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2422,20 +2368,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2476,7 +2422,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -2503,15 +2449,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2579,15 +2525,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2655,15 +2601,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2731,15 +2677,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3101,7 +3047,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-204"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-204" class="marked"></p> <script> - var responseA1PolicyManagement204_description = `The A1 policy was deleted`; + var responseA1PolicyManagement204_description = `No Content`; var responseA1PolicyManagement204_description_break = responseA1PolicyManagement204_description.indexOf('\n'); if (responseA1PolicyManagement204_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description); @@ -3123,8 +3069,8 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "The A1 policy was deleted"
+ var schemaWrapper = { + "description" : "No Content" }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3192,15 +3138,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3268,15 +3214,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3344,15 +3290,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3420,15 +3366,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3496,15 +3442,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3572,15 +3518,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3648,20 +3594,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3702,7 +3648,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-429"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -3729,15 +3675,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3805,15 +3751,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3881,15 +3827,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3957,15 +3903,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4456,18 +4402,18 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy identities",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy identities", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4535,15 +4481,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4611,15 +4557,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4687,15 +4633,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4763,15 +4709,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4839,15 +4785,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4888,7 +4834,7 @@ Select policies of types with the given type name (type identity has the format <h3 id="examples-A1PolicyManagement-getAllPolicies-title-429"></h3> <p id="examples-A1PolicyManagement-getAllPolicies-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -4915,15 +4861,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4991,15 +4937,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5067,15 +5013,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5143,15 +5089,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5546,20 +5492,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5627,15 +5573,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5703,15 +5649,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5779,15 +5725,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5855,15 +5801,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5931,15 +5877,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5980,7 +5926,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -6007,15 +5953,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6083,15 +6029,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6159,15 +6105,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6235,15 +6181,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6638,15 +6584,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyStatusObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyStatusObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6714,15 +6660,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6790,15 +6736,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6866,15 +6812,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6942,15 +6888,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7018,15 +6964,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7067,7 +7013,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyStatus-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyStatus-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -7094,15 +7040,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7170,15 +7116,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7246,15 +7192,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7322,15 +7268,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7725,20 +7671,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - schema of the given policy type",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyTypeObject"
- },
- "examples" : {
- "PolicyTypeObject" : {
- "$ref" : "#/components/examples/PolicyTypeObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - schema of the given policy type", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyTypeObject" + }, + "examples" : { + "PolicyTypeObject" : { + "$ref" : "#/components/examples/PolicyTypeObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7806,15 +7752,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7882,15 +7828,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7958,15 +7904,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8034,15 +7980,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8110,15 +8056,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8159,7 +8105,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -8186,15 +8132,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8262,15 +8208,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8338,15 +8284,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8414,15 +8360,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8879,23 +8825,23 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy Type IDs found Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyTypeInformation"
- }
- },
- "examples" : {
- "PolicyTypeInformation" : {
- "$ref" : "#/components/examples/PolicyTypeInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy Type IDs found Ok", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyTypeInformation" + } + }, + "examples" : { + "PolicyTypeInformation" : { + "$ref" : "#/components/examples/PolicyTypeInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8963,15 +8909,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9039,15 +8985,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9115,15 +9061,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9191,15 +9137,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9267,15 +9213,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9316,7 +9262,7 @@ Select types that are compatible with the given version. This parameter is only <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypes-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -9343,15 +9289,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9419,15 +9365,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9495,15 +9441,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9571,15 +9517,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9924,20 +9870,20 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -10000,15 +9946,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy updated",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10076,15 +10022,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10152,15 +10098,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10228,15 +10174,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10304,15 +10250,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10380,15 +10326,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10456,15 +10402,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Length Required",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Length Required", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10532,15 +10478,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10608,15 +10554,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10684,20 +10630,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10738,7 +10684,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-putPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-putPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -10765,15 +10711,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10841,15 +10787,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10917,15 +10863,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10993,15 +10939,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { diff --git a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html index 37f3436f..c693818d 100644 --- a/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html +++ b/docs/offeredapis/openapitoolgen/offeredapis/pms-api/v3/index.html @@ -844,382 +844,313 @@ ul.nav-tabs { <script> // Script section to load models into a JS Var var defs = {} - defs["AuthorizationResult"] = {
- "required" : [ "result" ],
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "If true, the access is granted"
- }
- },
- "description" : "Result of authorization",
- "example" : {
- "result" : true
- }
-}; - defs["ErrorInformation"] = {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : " A human-readable explanation specific to this occurrence of the problem.",
- "example" : "Policy type not found"
- },
- "title" : {
- "type" : "string",
- "description" : "A specific error name",
- "example" : "Not Found"
- },
- "status" : {
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
- "format" : "int32",
- "example" : 404
- }
- },
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
-}; - defs["input"] = {
- "required" : [ "accessType", "authToken", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "accessType" : {
- "type" : "string",
- "description" : "Access type",
- "enum" : [ "READ", "WRITE", "DELETE" ]
- },
- "authToken" : {
- "type" : "string",
- "description" : "Authorization token"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Policy type identifier"
- }
- },
- "description" : "input"
-}; - defs["Link"] = {
- "type" : "object",
- "properties" : {
- "templated" : {
- "type" : "boolean"
- },
- "href" : {
- "type" : "string"
- }
- }
-}; - defs["PolicyAuthorization"] = {
- "required" : [ "input" ],
- "type" : "object",
- "properties" : {
- "input" : {
- "$ref" : "#/components/schemas/input"
- }
- },
- "description" : "Authorization request for A1 policy requests"
-}; - defs["PolicyInformation"] = {
- "required" : [ "nearRtRicId", "policyId" ],
- "type" : "object",
- "properties" : {
- "policyId" : {
- "type" : "string",
- "description" : "Identity of the policy"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
+ defs["ErrorInformation"] = { + "type" : "object", + "properties" : { + "detail" : { + "type" : "string", + "description" : " A human-readable explanation specific to this occurrence of the problem.", + "example" : "Policy type not found" + }, + "title" : { + "type" : "string", + "description" : "A specific error name", + "example" : "Not Found" + }, + "status" : { + "type" : "integer", + "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ", + "format" : "int32", + "example" : 404 + } + }, + "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807" }; - defs["PolicyObjectInformation"] = {
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "nearRtRicId" : {
- "type" : "string",
- "description" : "Identity of the target Near-RT RIC",
- "example" : "Near-RT-Ric-ID"
- },
- "transient" : {
- "type" : "boolean",
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
- "nullable" : false,
- "default" : false
- },
- "policyId" : {
- "type" : "string",
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
- "example" : "POLICY-ID"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
- "example" : "rApp ID",
- "default" : ""
- },
- "policyObject" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type",
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
- }
- },
- "description" : "Information related to the creation of the policy"
+ defs["PolicyInformation"] = { + "required" : [ "nearRtRicId", "policyId" ], + "type" : "object", + "properties" : { + "policyId" : { + "type" : "string", + "description" : "Identity of the policy" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC" }; - defs["PolicyStatusInfo"] = {
- "type" : "object",
- "properties" : {
- "lastModified" : {
- "type" : "string",
- "description" : "timestamp, last modification time"
- },
- "status" : {
- "type" : "object",
- "description" : "the Policy status"
- }
- },
- "description" : "Status for one A1-P Policy"
+ defs["PolicyObjectInformation"] = { + "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ], + "type" : "object", + "properties" : { + "nearRtRicId" : { + "type" : "string", + "description" : "Identity of the target Near-RT RIC", + "example" : "Near-RT-Ric-ID" + }, + "transient" : { + "type" : "boolean", + "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.", + "nullable" : false, + "default" : false + }, + "policyId" : { + "type" : "string", + "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.", + "example" : "POLICY-ID" + }, + "serviceId" : { + "type" : "string", + "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", + "example" : "rApp ID", + "default" : "" + }, + "policyObject" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type", + "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)" + } + }, + "description" : "Information related to the creation of the policy" }; - defs["PolicyTypeInformation"] = {
- "required" : [ "nearRtRicId", "policyTypeId" ],
- "type" : "object",
- "properties" : {
- "policyTypeId" : {
- "type" : "string",
- "description" : "Identity of the policy type"
- },
- "nearRtRicId" : {
- "$ref" : "#/components/schemas/NearRtRicId"
- }
- },
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
- "example" : {
- "policyTypeId" : "STD_QOS2_0.1.0",
- "nearRtRicId" : "ricsim_g3_2"
- }
+ defs["PolicyTypeInformation"] = { + "required" : [ "nearRtRicId", "policyTypeId" ], + "type" : "object", + "properties" : { + "policyTypeId" : { + "type" : "string", + "description" : "Identity of the policy type" + }, + "nearRtRicId" : { + "$ref" : "#/components/schemas/NearRtRicId" + } + }, + "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type", + "example" : { + "policyTypeId" : "STD_QOS2_0.1.0", + "nearRtRicId" : "ricsim_g3_2" + } }; - defs["PolicyTypeObject"] = {
- "required" : [ "policySchema" ],
- "type" : "object",
- "properties" : {
- "policySchema" : {
- "$ref" : "#/components/schemas/PolicySchema"
- },
- "statusSchema" : {
- "$ref" : "#/components/schemas/StatusSchema"
- }
- },
- "description" : "policy type object as defined in A1TD",
- "example" : {
- "policySchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0_2_0",
- "description" : "STD QOS policy type",
- "type" : "object",
- "properties" : {
- "scope" : {
- "type" : "object",
- "properties" : {
- "ueId" : {
- "type" : "string"
- },
- "qosId" : {
- "type" : "string"
- }
- },
- "additionalProperties" : false,
- "required" : [ "ueId", "qosId" ]
- },
- "qosObjectives" : {
- "type" : "object",
- "properties" : {
- "priorityLevel" : {
- "type" : "number"
- }
- },
- "additionalProperties" : false,
- "required" : [ "priorityLevel" ]
- }
- }
- },
- "statusSchema" : {
- "$schema" : "http://json-schema.org/draft-07/schema#",
- "title" : "STD_QOS_0.2.0",
- "description" : "STD QOS policy type status",
- "type" : "object",
- "properties" : {
- "enforceStatus" : {
- "type" : "string"
- },
- "enforceReason" : {
- "type" : "string"
- },
- "additionalProperties" : false,
- "required" : [ "enforceStatus" ]
- }
- }
- }
+ defs["PolicyTypeObject"] = { + "required" : [ "policySchema" ], + "type" : "object", + "properties" : { + "policySchema" : { + "$ref" : "#/components/schemas/PolicySchema" + }, + "statusSchema" : { + "$ref" : "#/components/schemas/StatusSchema" + } + }, + "description" : "policy type object as defined in A1TD", + "example" : { + "policySchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0_2_0", + "description" : "STD QOS policy type", + "type" : "object", + "properties" : { + "scope" : { + "type" : "object", + "properties" : { + "ueId" : { + "type" : "string" + }, + "qosId" : { + "type" : "string" + } + }, + "additionalProperties" : false, + "required" : [ "ueId", "qosId" ] + }, + "qosObjectives" : { + "type" : "object", + "properties" : { + "priorityLevel" : { + "type" : "number" + } + }, + "additionalProperties" : false, + "required" : [ "priorityLevel" ] + } + } + }, + "statusSchema" : { + "$schema" : "http://json-schema.org/draft-07/schema#", + "title" : "STD_QOS_0.2.0", + "description" : "STD QOS policy type status", + "type" : "object", + "properties" : { + "enforceStatus" : { + "type" : "string" + }, + "enforceReason" : { + "type" : "string" + }, + "additionalProperties" : false, + "required" : [ "enforceStatus" ] + } + } + } }; - defs["ProblemDetails"] = {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
- },
- "title" : {
- "type" : "string",
- "description" : "human-readable summary of the problem type"
- },
- "status" : {
- "type" : "number",
- "description" : "the HTTP status code"
- },
- "detail" : {
- "type" : "string",
- "description" : "human-readable explanation "
- },
- "instance" : {
- "type" : "string",
- "description" : "URI reference that identifies the specific occurrence of the problem"
- }
- },
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
+ defs["ProblemDetails"] = { + "type" : "object", + "properties" : { + "type" : { + "type" : "string", + "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type" + }, + "title" : { + "type" : "string", + "description" : "human-readable summary of the problem type" + }, + "status" : { + "type" : "number", + "description" : "the HTTP status code" + }, + "detail" : { + "type" : "string", + "description" : "human-readable explanation " + }, + "instance" : { + "type" : "string", + "description" : "URI reference that identifies the specific occurrence of the problem" + } + }, + "description" : "A problem detail to carry details in an HTTP response according to RFC 7807" }; - defs["RicInfo"] = {
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of the Near-RT RIC"
- },
- "managedElementIds" : {
- "type" : "array",
- "description" : "O1 identities for managed entities",
- "items" : {
- "type" : "string",
- "description" : "O1 identities for managed entities"
- }
- },
- "state" : {
- "type" : "string",
- "description" : "Represents the states for a Near-RT RIC",
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
- },
- "policyTypeIds" : {
- "type" : "array",
- "description" : "supported policy types",
- "items" : {
- "type" : "string",
- "description" : "supported policy types"
- }
- }
- },
- "description" : "Information for a Near-RT RIC"
+ defs["RicInfo"] = { + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of the Near-RT RIC" + }, + "managedElementIds" : { + "type" : "array", + "description" : "O1 identities for managed entities", + "items" : { + "type" : "string", + "description" : "O1 identities for managed entities" + } + }, + "state" : { + "type" : "string", + "description" : "Represents the states for a Near-RT RIC", + "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ] + }, + "policyTypeIds" : { + "type" : "array", + "description" : "supported policy types", + "items" : { + "type" : "string", + "description" : "supported policy types" + } + } + }, + "description" : "Information for a Near-RT RIC" }; - defs["RicInfoList"] = {
- "type" : "object",
- "properties" : {
- "rics" : {
- "type" : "array",
- "description" : "List of Near-RT RIC information",
- "items" : {
- "$ref" : "#/components/schemas/RicInfo"
- }
- }
- },
- "description" : "List of Near-RT RIC information"
+ defs["RicInfoList"] = { + "type" : "object", + "properties" : { + "rics" : { + "type" : "array", + "description" : "List of Near-RT RIC information", + "items" : { + "$ref" : "#/components/schemas/RicInfo" + } + } + }, + "description" : "List of Near-RT RIC information" }; - defs["ServiceCallbackInfo"] = {
- "required" : [ "eventType", "ricId" ],
- "type" : "object",
- "properties" : {
- "ricId" : {
- "type" : "string",
- "description" : "Identity of a Near-RT RIC"
- },
- "eventType" : {
- "type" : "string",
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
- "enum" : [ "AVAILABLE" ]
- }
- },
- "description" : "Information transferred as in Service callbacks (callback_url)"
+ defs["ServiceCallbackInfo"] = { + "required" : [ "eventType", "ricId" ], + "type" : "object", + "properties" : { + "ricId" : { + "type" : "string", + "description" : "Identity of a Near-RT RIC" + }, + "eventType" : { + "type" : "string", + "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management", + "enum" : [ "AVAILABLE" ] + } + }, + "description" : "Information transferred as in Service callbacks (callback_url)" }; - defs["ServiceRegistrationInfo"] = {
- "required" : [ "serviceId" ],
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of Near-RT RIC state changes"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
- "format" : "int64"
- }
- },
- "description" : "Information for one service"
+ defs["ServiceRegistrationInfo"] = { + "required" : [ "serviceId" ], + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of Near-RT RIC state changes" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.", + "format" : "int64" + } + }, + "description" : "Information for one service" }; - defs["ServiceStatus"] = {
- "type" : "object",
- "properties" : {
- "callbackUrl" : {
- "type" : "string",
- "description" : "callback for notifying of RIC synchronization"
- },
- "serviceId" : {
- "type" : "string",
- "description" : "Identity of the service"
- },
- "keepAliveIntervalSeconds" : {
- "type" : "integer",
- "description" : "policy keep alive timeout",
- "format" : "int64"
- },
- "timeSinceLastActivitySeconds" : {
- "type" : "integer",
- "description" : "time since last invocation by the service",
- "format" : "int64"
- }
- }
+ defs["ServiceStatus"] = { + "type" : "object", + "properties" : { + "callbackUrl" : { + "type" : "string", + "description" : "callback for notifying of RIC synchronization" + }, + "serviceId" : { + "type" : "string", + "description" : "Identity of the service" + }, + "keepAliveIntervalSeconds" : { + "type" : "integer", + "description" : "policy keep alive timeout", + "format" : "int64" + }, + "timeSinceLastActivitySeconds" : { + "type" : "integer", + "description" : "time since last invocation by the service", + "format" : "int64" + } + } }; - defs["ServiceStatusList"] = {
- "type" : "object",
- "properties" : {
- "serviceList" : {
- "type" : "array",
- "description" : "List of service information",
- "items" : {
- "$ref" : "#/components/schemas/ServiceStatus"
- }
- }
- }
+ defs["ServiceStatusList"] = { + "type" : "object", + "properties" : { + "serviceList" : { + "type" : "array", + "description" : "List of service information", + "items" : { + "$ref" : "#/components/schemas/ServiceStatus" + } + } + } }; - defs["StatusInfo"] = {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "status text"
- }
- }
+ defs["StatusInfo"] = { + "type" : "object", + "properties" : { + "status" : { + "type" : "string", + "description" : "status text" + } + } }; - defs["NearRtRicId"] = {
- "type" : "string",
- "description" : "Identity of the policy"
+ defs["NearRtRicId"] = { + "type" : "string", + "description" : "Identity of the policy" }; var errs = {}; @@ -1357,13 +1288,13 @@ ul.nav-tabs { -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/policies" \ - -d '{
- "policyId" : "POLICY-ID",
- "nearRtRicId" : "Near-RT-Ric-ID",
- "transient" : false,
- "policyObject" : "{}",
- "serviceId" : "rApp ID",
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ -d '{ + "policyId" : "POLICY-ID", + "nearRtRicId" : "Near-RT-Ric-ID", + "transient" : false, + "policyObject" : "{}", + "serviceId" : "rApp ID", + "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)" }' </code></pre> </div> @@ -1592,15 +1523,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -1636,7 +1567,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-201"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-201" class="marked"></p> <script> - var responseA1PolicyManagement201_description = `Success case 201 created`; + var responseA1PolicyManagement201_description = `Created`; var responseA1PolicyManagement201_description_break = responseA1PolicyManagement201_description.indexOf('\n'); if (responseA1PolicyManagement201_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-201").text("Status: 201 - " + responseA1PolicyManagement201_description); @@ -1666,26 +1597,35 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Success case 201 created",
- "headers" : {
- "Location" : {
- "description" : "Contains the URI of the newly created resource",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- }
- },
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObjectInformation"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created", + "headers" : { + "Location" : { + "description" : "Contains the URI of the newly created resource", + "required" : true, + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string" + } + }, + "Content-Type" : { + "description" : "Media Type of the response", + "style" : "simple", + "explode" : false, + "schema" : { + "type" : "string", + "example" : "application/json" + } + } + }, + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObjectInformation" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1736,6 +1676,12 @@ $(document).ready(function() { <td></td> <td>Contains the URI of the newly created resource</td> </tr> + <tr> + <td>Content-Type</td> + <td>String</td> + <td></td> + <td>Media Type of the response</td> + </tr> </table> </div> </div> @@ -1769,15 +1715,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1845,15 +1791,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1921,15 +1867,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -1997,15 +1943,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2073,15 +2019,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2149,15 +2095,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2225,15 +2171,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Conflict",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Conflict", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2301,15 +2247,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2377,15 +2323,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2453,20 +2399,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2507,7 +2453,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-createPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-createPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-createPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -2534,15 +2480,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2610,15 +2556,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2686,15 +2632,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -2762,15 +2708,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3132,7 +3078,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-204"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-204" class="marked"></p> <script> - var responseA1PolicyManagement204_description = `The A1 policy was deleted`; + var responseA1PolicyManagement204_description = `No Content`; var responseA1PolicyManagement204_description_break = responseA1PolicyManagement204_description.indexOf('\n'); if (responseA1PolicyManagement204_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-204").text("Status: 204 - " + responseA1PolicyManagement204_description); @@ -3154,8 +3100,8 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "The A1 policy was deleted"
+ var schemaWrapper = { + "description" : "No Content" }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3223,15 +3169,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3299,15 +3245,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3375,15 +3321,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3451,15 +3397,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3527,15 +3473,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Method Not Allowed",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Method Not Allowed", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3603,15 +3549,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3679,20 +3625,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3733,7 +3679,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-deletePolicy-title-429"></h3> <p id="examples-A1PolicyManagement-deletePolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-deletePolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -3760,15 +3706,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3836,15 +3782,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3912,15 +3858,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -3988,15 +3934,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4487,18 +4433,18 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy identities",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy identities", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4566,15 +4512,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4642,15 +4588,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4718,15 +4664,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4794,15 +4740,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4870,15 +4816,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -4919,7 +4865,7 @@ Select policies of types with the given type name (type identity has the format <h3 id="examples-A1PolicyManagement-getAllPolicies-title-429"></h3> <p id="examples-A1PolicyManagement-getAllPolicies-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getAllPolicies-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -4946,15 +4892,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5022,15 +4968,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5098,15 +5044,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5174,15 +5120,15 @@ Select policies of types with the given type name (type identity has the format <div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5577,20 +5523,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy found",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy found", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5658,15 +5604,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5734,15 +5680,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5810,15 +5756,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5886,15 +5832,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -5962,15 +5908,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6011,7 +5957,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -6038,15 +5984,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6114,15 +6060,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6190,15 +6136,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6266,15 +6212,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6669,15 +6615,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyStatusObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyStatusObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6745,15 +6691,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6821,15 +6767,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6897,15 +6843,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -6973,15 +6919,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7049,15 +6995,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7098,7 +7044,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyStatus-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyStatus-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyStatus-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -7125,15 +7071,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7201,15 +7147,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7277,15 +7223,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7353,15 +7299,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7756,20 +7702,20 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - schema of the given policy type",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyTypeObject"
- },
- "examples" : {
- "PolicyTypeObject" : {
- "$ref" : "#/components/examples/PolicyTypeObject"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - schema of the given policy type", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyTypeObject" + }, + "examples" : { + "PolicyTypeObject" : { + "$ref" : "#/components/examples/PolicyTypeObject" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7837,15 +7783,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7913,15 +7859,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -7989,15 +7935,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8065,15 +8011,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8141,15 +8087,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8190,7 +8136,7 @@ Specifies the content type that the client expects to receive in response to the <h3 id="examples-A1PolicyManagement-getPolicyTypeDefinition-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypeDefinition-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypeDefinition-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -8217,15 +8163,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8293,15 +8239,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8369,15 +8315,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8445,15 +8391,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8910,23 +8856,23 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy Type IDs found Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PolicyTypeInformation"
- }
- },
- "examples" : {
- "PolicyTypeInformation" : {
- "$ref" : "#/components/examples/PolicyTypeInformation"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy Type IDs found Ok", + "content" : { + "application/json" : { + "schema" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/PolicyTypeInformation" + } + }, + "examples" : { + "PolicyTypeInformation" : { + "$ref" : "#/components/examples/PolicyTypeInformation" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -8994,15 +8940,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9070,15 +9016,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9146,15 +9092,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9222,15 +9168,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9298,15 +9244,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9347,7 +9293,7 @@ Select types that are compatible with the given version. This parameter is only <h3 id="examples-A1PolicyManagement-getPolicyTypes-title-429"></h3> <p id="examples-A1PolicyManagement-getPolicyTypes-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-getPolicyTypes-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -9374,15 +9320,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9450,15 +9396,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9526,15 +9472,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9602,15 +9548,15 @@ Select types that are compatible with the given version. This parameter is only <div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -9955,20 +9901,20 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- },
- "examples" : {
- "policyObject" : {
- "$ref" : "#/components/examples/PolicyObject"
- }
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + }, + "examples" : { + "policyObject" : { + "$ref" : "#/components/examples/PolicyObject" + } + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -10031,15 +9977,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Policy updated",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PolicyObject"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Policy updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/PolicyObject" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10107,15 +10053,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10183,15 +10129,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unauthorized",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unauthorized", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10259,15 +10205,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Forbidden",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Forbidden", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10335,15 +10281,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10411,15 +10357,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Acceptable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Acceptable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10487,15 +10433,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Length Required",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Length Required", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10563,15 +10509,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Payload Too Large",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Payload Too Large", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10639,15 +10585,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Unsupported Media Type",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Unsupported Media Type", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10715,20 +10661,20 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ErrorInformation"
- },
- "example" : {
- "status" : 423,
- "title" : "Locked",
- "detail" : "State is Locked in the provided request."
- }
- }
- }
+ var schemaWrapper = { + "description" : "Locked - HTTP Status code which can be used when the state is Locked", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ErrorInformation" + }, + "example" : { + "status" : 423, + "title" : "Locked", + "detail" : "State is Locked in the provided request." + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10769,7 +10715,7 @@ $(document).ready(function() { <h3 id="examples-A1PolicyManagement-putPolicy-title-429"></h3> <p id="examples-A1PolicyManagement-putPolicy-description-429" class="marked"></p> <script> - var responseA1PolicyManagement429_description = `Too Many Request`; + var responseA1PolicyManagement429_description = `Too Many Requests`; var responseA1PolicyManagement429_description_break = responseA1PolicyManagement429_description.indexOf('\n'); if (responseA1PolicyManagement429_description_break == -1) { $("#examples-A1PolicyManagement-putPolicy-title-429").text("Status: 429 - " + responseA1PolicyManagement429_description); @@ -10796,15 +10742,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Too Many Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Too Many Requests", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10872,15 +10818,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Internal Server Error",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Internal Server Error", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -10948,15 +10894,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Gateway",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Gateway", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11024,15 +10970,15 @@ $(document).ready(function() { <div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Service Unavailable",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Service Unavailable", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11352,15 +11298,15 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Application configuration received",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Application configuration received", + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11428,15 +11374,15 @@ pub fn main() { <div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11512,7 +11458,7 @@ pub fn main() { <div class="tab-content"> <div class="tab-pane active" id="examples-Configuration-putConfiguration-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X PUT \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/configuration" \ -d '' @@ -11743,15 +11689,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -11814,15 +11760,15 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Configuration updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/void"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Configuration updated", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/void" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11890,15 +11836,15 @@ $(document).ready(function() { <div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -11977,7 +11923,7 @@ $(document).ready(function() { <div class="tab-content"> <div class="tab-pane active" id="examples-HealthCheck-getStatus-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X GET \ - -H "Accept: application/json" \ + -H "Accept: application/json,application/problem+json" \ "https://example.com/a1-policy-management/v1/status" </code></pre> </div> @@ -12218,20 +12164,20 @@ pub fn main() { <div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK- Service is living Ok",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/StatusInfo"
- },
- "examples" : {
- "status_info" : {
- "$ref" : "#/components/examples/StatusInfo"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK- Service is living Ok", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/StatusInfo" + }, + "examples" : { + "status_info" : { + "$ref" : "#/components/examples/StatusInfo" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -12269,6 +12215,82 @@ pub fn main() { <input id='responses-HealthCheck-getStatus-200-schema-data' type='hidden' value=''></input> </div> </div> + <h3 id="examples-HealthCheck-getStatus-title-404"></h3> + <p id="examples-HealthCheck-getStatus-description-404" class="marked"></p> + <script> + var responseHealthCheck404_description = `Not Found`; + var responseHealthCheck404_description_break = responseHealthCheck404_description.indexOf('\n'); + if (responseHealthCheck404_description_break == -1) { + $("#examples-HealthCheck-getStatus-title-404").text("Status: 404 - " + responseHealthCheck404_description); + } else { + $("#examples-HealthCheck-getStatus-title-404").text("Status: 404 - " + responseHealthCheck404_description.substring(0, responseHealthCheck404_description_break)); + $("#examples-HealthCheck-getStatus-description-404").html(responseHealthCheck404_description.substring(responseHealthCheck404_description_break)); + } + </script> + + + <ul id="responses-detail-HealthCheck-getStatus-404" class="nav nav-tabs nav-tabs-examples" > + <li class="active"> + <a data-toggle="tab" href="#responses-HealthCheck-getStatus-404-schema">Schema</a> + </li> + + + + + </ul> + + + <div class="tab-content" id="responses-HealthCheck-getStatus-404-wrapper" style='margin-bottom: 10px;'> + <div class="tab-pane active" id="responses-HealthCheck-getStatus-404-schema"> + <div id="responses-HealthCheck-getStatus-schema-404" class="exampleStyle"> + <script> + $(document).ready(function() { + var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } +}; + var schema = findNode('schema',schemaWrapper).schema; + if (!schema) { + schema = schemaWrapper.schema; + } + if (schema == null) { + return; + } + if (schema.$ref != null) { + schema = defsParser.$refs.get(schema.$ref); + if (schema.properties != null) { + Object.keys(schema.properties).forEach( (item) => { + if (schema.properties[item].$ref != null) { + schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref); + } + }); + } + } else if (schema.items != null && schema.items.$ref != null) { + schema.items = defsParser.$refs.get(schema.items.$ref); + } else { + schemaWrapper.definitions = Object.assign({}, defs); + $RefParser.dereference(schemaWrapper).catch(function(err) { + console.log(err); + }); + } + + var view = new JSONSchemaView(schema, 3); + $('#responses-HealthCheck-getStatus-404-schema-data').val(JSON.stringify(schema)); + var result = $('#responses-HealthCheck-getStatus-schema-404'); + result.empty(); + result.append(view.render()); + }); + </script> + </div> + <input id='responses-HealthCheck-getStatus-404-schema-data' type='hidden' value=''></input> + </div> + </div> </article> </div> <hr> @@ -12284,10 +12306,10 @@ pub fn main() { <div class="pull-right"></div> <div class="clearfix"></div> <p></p> - <p class="marked">Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).</p> + <p class="marked">A ricId path parameter must be specified to retrieve associated ric infomation</p> <p></p> <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics/ric</span></code></pre> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/rics/{ricId}</span></code></pre> <p> <h3>Usage and SDK Samples</h3> </p> @@ -12311,7 +12333,7 @@ pub fn main() { <div class="tab-pane active" id="examples-NearRTRICRepository-getRic-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X GET \ -H "Accept: application/json,application/problem+json" \ - "https://example.com/a1-policy-management/v1/rics/ric?managedElementId=managedElementId_example&ricId=ricId_example" + "https://example.com/a1-policy-management/v1/rics/{ricId}" </code></pre> </div> <div class="tab-pane" id="examples-NearRTRICRepository-getRic-0-java"> @@ -12328,12 +12350,11 @@ public class NearRTRICRepositoryApiExample { // Create an instance of the API class NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi(); - String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - RicInfo result = apiInstance.getRic(managedElementId, ricId, accept); + RicInfo result = apiInstance.getRic(ricId, accept); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling NearRTRICRepositoryApi#getRic"); @@ -12349,12 +12370,11 @@ public class NearRTRICRepositoryApiExample { final api_instance = DefaultApi(); -final String managedElementId = new String(); // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. final String ricId = new String(); // String | The identity of a Near-RT RIC to get information for. final String accept = new String(); // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - final result = await api_instance.getRic(managedElementId, ricId, accept); + final result = await api_instance.getRic(ricId, accept); print(result); } catch (e) { print('Exception when calling DefaultApi->getRic: $e\n'); @@ -12369,12 +12389,11 @@ try { public class NearRTRICRepositoryApiExample { public static void main(String[] args) { NearRTRICRepositoryApi apiInstance = new NearRTRICRepositoryApi(); - String managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. String ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. String accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - RicInfo result = apiInstance.getRic(managedElementId, ricId, accept); + RicInfo result = apiInstance.getRic(ricId, accept); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling NearRTRICRepositoryApi#getRic"); @@ -12392,13 +12411,11 @@ public class NearRTRICRepositoryApiExample { // Create an instance of the API class NearRTRICRepositoryApi *apiInstance = [[NearRTRICRepositoryApi alloc] init]; -String *managedElementId = managedElementId_example; // The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null) -String *ricId = ricId_example; // The identity of a Near-RT RIC to get information for. (optional) (default to null) +String *ricId = ricId_example; // The identity of a Near-RT RIC to get information for. (default to null) String *accept = application/json; // Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null) // Returns info for one Near-RT RIC -[apiInstance getRicWith:managedElementId - ricId:ricId +[apiInstance getRicWith:ricId accept:accept completionHandler: ^(RicInfo output, NSError* error) { if (output) { @@ -12416,9 +12433,8 @@ String *accept = application/json; // Specifies the content type that the client // Create an instance of the API class var api = new A1PolicyManagementApi.NearRTRICRepositoryApi() +var ricId = ricId_example; // {String} The identity of a Near-RT RIC to get information for. var opts = { - 'managedElementId': managedElementId_example, // {String} The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. - 'ricId': ricId_example, // {String} The identity of a Near-RT RIC to get information for. 'accept': application/json // {String} Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. }; @@ -12429,7 +12445,7 @@ var callback = function(error, data, response) { console.log('API called successfully. Returned data: ' + data); } }; -api.getRic(opts, callback); +api.getRic(ricId, opts, callback); </code></pre> </div> @@ -12452,13 +12468,12 @@ namespace Example // Create an instance of the API class var apiInstance = new NearRTRICRepositoryApi(); - var managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null) - var ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. (optional) (default to null) + var ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. (default to null) var accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null) try { // Returns info for one Near-RT RIC - RicInfo result = apiInstance.getRic(managedElementId, ricId, accept); + RicInfo result = apiInstance.getRic(ricId, accept); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling NearRTRICRepositoryApi.getRic: " + e.Message ); @@ -12475,12 +12490,11 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Create an instance of the API class $api_instance = new OpenAPITools\Client\Api\NearRTRICRepositoryApi(); -$managedElementId = managedElementId_example; // String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. $ricId = ricId_example; // String | The identity of a Near-RT RIC to get information for. $accept = application/json; // String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. try { - $result = $api_instance->getRic($managedElementId, $ricId, $accept); + $result = $api_instance->getRic($ricId, $accept); print_r($result); } catch (Exception $e) { echo 'Exception when calling NearRTRICRepositoryApi->getRic: ', $e->getMessage(), PHP_EOL; @@ -12495,12 +12509,11 @@ use WWW::OPenAPIClient::NearRTRICRepositoryApi; # Create an instance of the API class my $api_instance = WWW::OPenAPIClient::NearRTRICRepositoryApi->new(); -my $managedElementId = managedElementId_example; # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. my $ricId = ricId_example; # String | The identity of a Near-RT RIC to get information for. my $accept = application/json; # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. eval { - my $result = $api_instance->getRic(managedElementId => $managedElementId, ricId => $ricId, accept => $accept); + my $result = $api_instance->getRic(ricId => $ricId, accept => $accept); print Dumper($result); }; if ($@) { @@ -12517,13 +12530,12 @@ from pprint import pprint # Create an instance of the API class api_instance = openapi_client.NearRTRICRepositoryApi() -managedElementId = managedElementId_example # String | The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. (optional) (default to null) -ricId = ricId_example # String | The identity of a Near-RT RIC to get information for. (optional) (default to null) +ricId = ricId_example # String | The identity of a Near-RT RIC to get information for. (default to null) accept = application/json # String | Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. (optional) (default to null) try: # Returns info for one Near-RT RIC - api_response = api_instance.get_ric(managedElementId=managedElementId, ricId=ricId, accept=accept) + api_response = api_instance.get_ric(ricId, accept=accept) pprint(api_response) except ApiException as e: print("Exception when calling NearRTRICRepositoryApi->getRic: %s\n" % e)</code></pre> @@ -12533,12 +12545,11 @@ except ApiException as e: <pre class="prettyprint"><code class="language-rust">extern crate NearRTRICRepositoryApi; pub fn main() { - let managedElementId = managedElementId_example; // String let ricId = ricId_example; // String let accept = application/json; // String let mut context = NearRTRICRepositoryApi::Context::default(); - let result = client.getRic(managedElementId, ricId, accept, &context).wait(); + let result = client.getRic(ricId, accept, &context).wait(); println!("{:?}", result); } @@ -12553,18 +12564,17 @@ pub fn main() { <h2>Parameters</h2> - - <div class="methodsubtabletitle">Header parameters</div> + <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> - <tr><td style="width:150px;">Accept</td> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> + <tr><td style="width:150px;">ricId*</td> <td> - <div id="d2e199_getRic_accept"> + <div id="d2e199_getRic_ricId"> <div class="json-schema-view"> <div class="primitive"> <span class="type"> @@ -12572,9 +12582,12 @@ pub fn main() { </span> <div class="inner description marked"> -Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. +The identity of a Near-RT RIC to get information for. </div> </div> + <div class="inner required"> + Required + </div> </div> </div> </td> @@ -12582,19 +12595,17 @@ Specifies the content type that the client expects to receive in response to the </table> - - - <div class="methodsubtabletitle">Query parameters</div> + <div class="methodsubtabletitle">Header parameters</div> <table id="methodsubtable"> <tr> <th width="150px">Name</th> <th>Description</th> </tr> - <tr><td style="width:150px;">managedElementId</td> + <tr><td style="width:150px;">Accept</td> <td> - <div id="d2e199_getRic_managedElementId"> + <div id="d2e199_getRic_accept"> <div class="json-schema-view"> <div class="primitive"> <span class="type"> @@ -12602,7 +12613,7 @@ Specifies the content type that the client expects to receive in response to the </span> <div class="inner description marked"> -The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned. +Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. </div> </div> </div> @@ -12610,27 +12621,10 @@ The identity of a Managed Element. If given, the Near-RT RIC managing the ME is </td> </tr> - <tr><td style="width:150px;">ricId</td> -<td> + </table> - <div id="d2e199_getRic_ricId"> - <div class="json-schema-view"> - <div class="primitive"> - <span class="type"> - String - </span> - <div class="inner description marked"> -The identity of a Near-RT RIC to get information for. - </div> - </div> - </div> - </div> -</td> -</tr> - - </table> <h2>Responses</h2> <h3 id="examples-NearRTRICRepository-getRic-title-200"></h3> @@ -12663,20 +12657,20 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Near-RT RIC is found OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/RicInfo"
- },
- "examples" : {
- "ric_info" : {
- "$ref" : "#/components/examples/RicInfo"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Near-RT RIC is found OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RicInfo" + }, + "examples" : { + "ric_info" : { + "$ref" : "#/components/examples/RicInfo" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -12744,15 +12738,15 @@ The identity of a Near-RT RIC to get information for. <div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13150,20 +13144,20 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/RicInfoList"
- },
- "examples" : {
- "ric_info_list" : {
- "$ref" : "#/components/examples/RicInfoList"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/RicInfoList" + }, + "examples" : { + "ric_info_list" : { + "$ref" : "#/components/examples/RicInfoList" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13231,15 +13225,15 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13318,7 +13312,7 @@ The identity of a policy type. If given, all Near-RT RICs supporting the policy <div class="tab-content"> <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-deleteService-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X DELETE \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ "https://example.com/a1-policy-management/v1/services/{serviceId}" </code></pre> </div> @@ -13637,15 +13631,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "No Content - Service unregistered",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "No Content - Service unregistered", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -13713,15 +13707,15 @@ Specifies the content type that the client expects to receive in response to the <div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14119,20 +14113,20 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ServiceStatusList"
- },
- "examples" : {
- "service_status_list" : {
- "$ref" : "#/components/examples/ServiceStatusList"
- }
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK", + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ServiceStatusList" + }, + "examples" : { + "service_status_list" : { + "$ref" : "#/components/examples/ServiceStatusList" + } + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14200,15 +14194,15 @@ The identity of the service <div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14284,7 +14278,7 @@ The identity of the service <div class="tab-content"> <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-keepAliveService-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X PUT \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/services/{serviceId}/keepalive" \ -d '' @@ -14596,15 +14590,15 @@ Specifies the content type that the client expects to receive in response to the <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- }
- }
- },
- "required" : false
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "type" : "string" + } + } + }, + "required" : false }; var schema = findNode('schema',schemaWrapper).schema; @@ -14667,15 +14661,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service supervision timer refreshed, OK",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service supervision timer refreshed, OK", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14743,15 +14737,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Not Found",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Not Found", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -14827,13 +14821,13 @@ $(document).ready(function() { <div class="tab-content"> <div class="tab-pane active" id="examples-ServiceRegistryAndSupervision-putService-0-curl"> <pre class="prettyprint"><code class="language-bsh">curl -X PUT \ - -H "Accept: */*,application/problem+json" \ + -H "Accept: application/json,application/problem+json" \ -H "Content-Type: application/json" \ "https://example.com/a1-policy-management/v1/services" \ - -d '{
- "keepAliveIntervalSeconds" : 0,
- "callbackUrl" : "callbackUrl",
- "serviceId" : "serviceId"
+ -d '{ + "keepAliveIntervalSeconds" : 0, + "callbackUrl" : "callbackUrl", + "serviceId" : "serviceId" }' </code></pre> </div> @@ -15065,15 +15059,15 @@ pub fn main() { <p class="marked"></p> <script> $(document).ready(function() { - var schemaWrapper = {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ServiceRegistrationInfo"
- }
- }
- },
- "required" : true
+ var schemaWrapper = { + "content" : { + "application/json" : { + "schema" : { + "$ref" : "#/components/schemas/ServiceRegistrationInfo" + } + } + }, + "required" : true }; var schema = findNode('schema',schemaWrapper).schema; @@ -15136,15 +15130,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "OK - Service updated",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "OK - Service updated", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -15212,15 +15206,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Created - Service created",
- "content" : {
- "*/*" : {
- "schema" : {
- "type" : "object"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Created - Service created", + "content" : { + "application/json" : { + "schema" : { + "type" : "object" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { @@ -15288,15 +15282,15 @@ $(document).ready(function() { <div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle"> <script> $(document).ready(function() { - var schemaWrapper = {
- "description" : "Bad Request",
- "content" : {
- "application/problem+json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemDetails"
- }
- }
- }
+ var schemaWrapper = { + "description" : "Bad Request", + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + } }; var schema = findNode('schema',schemaWrapper).schema; if (!schema) { diff --git a/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json b/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json index 0fc875fa..f2141968 100644 --- a/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json +++ b/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json @@ -60,32 +60,33 @@ } }, "description" : "OK- Service is living Ok" + }, + "404" : { + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + }, + "description" : "Not Found" } }, "tags" : [ "Health Check" ] } }, - "/rics/ric" : { + "/rics/{ricId}" : { "get" : { - "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).", + "description" : "A ricId path parameter must be specified to retrieve associated ric infomation", "operationId" : "getRic", "parameters" : [ { - "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.", - "explode" : true, - "in" : "query", - "name" : "managedElementId", - "required" : false, - "schema" : { - "type" : "string" - }, - "style" : "form" - }, { "description" : "The identity of a Near-RT RIC to get information for.", "explode" : true, - "in" : "query", + "in" : "path", "name" : "ricId", - "required" : false, + "required" : true, "schema" : { + "nullable" : false, "type" : "string" }, "style" : "form" @@ -312,7 +313,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -447,7 +448,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -510,7 +511,7 @@ } ], "responses" : { "204" : { - "description" : "The A1 policy was deleted" + "description" : "No Content" }, "400" : { "content" : { @@ -595,7 +596,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -729,7 +730,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -906,7 +907,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1036,7 +1037,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1200,7 +1201,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1258,7 +1259,7 @@ } } }, - "description" : "Success case 201 created", + "description" : "Created", "headers" : { "Location" : { "description" : "Contains the URI of the newly created resource", @@ -1268,6 +1269,15 @@ "type" : "string" }, "style" : "simple" + }, + "Content-Type" : { + "description" : "Media Type of the response", + "explode" : false, + "schema" : { + "example" : "application/json", + "type" : "string" + }, + "style" : "simple" } } }, @@ -1384,7 +1394,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1464,7 +1474,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "$ref" : "#/components/schemas/void" } @@ -1524,7 +1534,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1662,7 +1672,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1672,7 +1682,7 @@ }, "201" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1723,7 +1733,7 @@ "responses" : { "204" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1764,17 +1774,6 @@ } ] } }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "value" : { - "lastModified" : "last_modified", - "status" : { - "value" : { - "status" : "status" - } - } - } - }, "StatusInfo" : { "value" : { "status" : "status" @@ -2005,7 +2004,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -2092,6 +2091,7 @@ "type" : "string" }, "serviceId" : { + "default" : "", "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.", "example" : "rApp ID", "type" : "string" @@ -2221,20 +2221,6 @@ }, "type" : "object" }, - "AuthorizationResult" : { - "description" : "Result of authorization", - "example" : { - "result" : true - }, - "properties" : { - "result" : { - "description" : "If true, the access is granted", - "type" : "boolean" - } - }, - "required" : [ "result" ], - "type" : "object" - }, "RicInfo" : { "description" : "Information for a Near-RT RIC", "properties" : { @@ -2286,20 +2272,6 @@ "required" : [ "serviceId" ], "type" : "object" }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "properties" : { - "lastModified" : { - "description" : "timestamp, last modification time", - "type" : "string" - }, - "status" : { - "description" : "the Policy status", - "type" : "object" - } - }, - "type" : "object" - }, "ServiceStatus" : { "properties" : { "callbackUrl" : { @@ -2336,36 +2308,6 @@ }, "type" : "object" }, - "input" : { - "description" : "input", - "properties" : { - "accessType" : { - "description" : "Access type", - "enum" : [ "READ", "WRITE", "DELETE" ], - "type" : "string" - }, - "authToken" : { - "description" : "Authorization token", - "type" : "string" - }, - "policyTypeId" : { - "description" : "Policy type identifier", - "type" : "string" - } - }, - "required" : [ "accessType", "authToken", "policyTypeId" ], - "type" : "object" - }, - "PolicyAuthorization" : { - "description" : "Authorization request for A1 policy requests", - "properties" : { - "input" : { - "$ref" : "#/components/schemas/input" - } - }, - "required" : [ "input" ], - "type" : "object" - }, "NearRtRicId" : { "description" : "Identity of the policy", "type" : "string" @@ -2412,17 +2354,6 @@ "required" : [ "eventType", "ricId" ], "type" : "object" }, - "Link" : { - "properties" : { - "templated" : { - "type" : "boolean" - }, - "href" : { - "type" : "string" - } - }, - "type" : "object" - }, "ProblemDetails" : { "description" : "A problem detail to carry details in an HTTP response according to RFC 7807", "properties" : { diff --git a/docs/offeredapis/swagger/pms-api-v3.json b/docs/offeredapis/swagger/pms-api-v3.json index f923650c..f2141968 100644 --- a/docs/offeredapis/swagger/pms-api-v3.json +++ b/docs/offeredapis/swagger/pms-api-v3.json @@ -60,32 +60,33 @@ } }, "description" : "OK- Service is living Ok" + }, + "404" : { + "content" : { + "application/problem+json" : { + "schema" : { + "$ref" : "#/components/schemas/ProblemDetails" + } + } + }, + "description" : "Not Found" } }, "tags" : [ "Health Check" ] } }, - "/rics/ric" : { + "/rics/{ricId}" : { "get" : { - "description" : "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).", + "description" : "A ricId path parameter must be specified to retrieve associated ric infomation", "operationId" : "getRic", "parameters" : [ { - "description" : "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned.", - "explode" : true, - "in" : "query", - "name" : "managedElementId", - "required" : false, - "schema" : { - "type" : "string" - }, - "style" : "form" - }, { "description" : "The identity of a Near-RT RIC to get information for.", "explode" : true, - "in" : "query", + "in" : "path", "name" : "ricId", - "required" : false, + "required" : true, "schema" : { + "nullable" : false, "type" : "string" }, "style" : "form" @@ -312,7 +313,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -447,7 +448,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -510,7 +511,7 @@ } ], "responses" : { "204" : { - "description" : "The A1 policy was deleted" + "description" : "No Content" }, "400" : { "content" : { @@ -595,7 +596,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -729,7 +730,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -906,7 +907,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1036,7 +1037,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1200,7 +1201,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1258,7 +1259,7 @@ } } }, - "description" : "Success case 201 created", + "description" : "Created", "headers" : { "Location" : { "description" : "Contains the URI of the newly created resource", @@ -1268,6 +1269,15 @@ "type" : "string" }, "style" : "simple" + }, + "Content-Type" : { + "description" : "Media Type of the response", + "explode" : false, + "schema" : { + "example" : "application/json", + "type" : "string" + }, + "style" : "simple" } } }, @@ -1384,7 +1394,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -1464,7 +1474,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "$ref" : "#/components/schemas/void" } @@ -1524,7 +1534,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1662,7 +1672,7 @@ "responses" : { "200" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1672,7 +1682,7 @@ }, "201" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1723,7 +1733,7 @@ "responses" : { "204" : { "content" : { - "*/*" : { + "application/json" : { "schema" : { "type" : "object" } @@ -1764,17 +1774,6 @@ } ] } }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "value" : { - "lastModified" : "last_modified", - "status" : { - "value" : { - "status" : "status" - } - } - } - }, "StatusInfo" : { "value" : { "status" : "status" @@ -2005,7 +2004,7 @@ } } }, - "description" : "Too Many Request" + "description" : "Too Many Requests" }, "500" : { "content" : { @@ -2222,20 +2221,6 @@ }, "type" : "object" }, - "AuthorizationResult" : { - "description" : "Result of authorization", - "example" : { - "result" : true - }, - "properties" : { - "result" : { - "description" : "If true, the access is granted", - "type" : "boolean" - } - }, - "required" : [ "result" ], - "type" : "object" - }, "RicInfo" : { "description" : "Information for a Near-RT RIC", "properties" : { @@ -2287,20 +2272,6 @@ "required" : [ "serviceId" ], "type" : "object" }, - "PolicyStatusInfo" : { - "description" : "Status for one A1-P Policy", - "properties" : { - "lastModified" : { - "description" : "timestamp, last modification time", - "type" : "string" - }, - "status" : { - "description" : "the Policy status", - "type" : "object" - } - }, - "type" : "object" - }, "ServiceStatus" : { "properties" : { "callbackUrl" : { @@ -2337,36 +2308,6 @@ }, "type" : "object" }, - "input" : { - "description" : "input", - "properties" : { - "accessType" : { - "description" : "Access type", - "enum" : [ "READ", "WRITE", "DELETE" ], - "type" : "string" - }, - "authToken" : { - "description" : "Authorization token", - "type" : "string" - }, - "policyTypeId" : { - "description" : "Policy type identifier", - "type" : "string" - } - }, - "required" : [ "accessType", "authToken", "policyTypeId" ], - "type" : "object" - }, - "PolicyAuthorization" : { - "description" : "Authorization request for A1 policy requests", - "properties" : { - "input" : { - "$ref" : "#/components/schemas/input" - } - }, - "required" : [ "input" ], - "type" : "object" - }, "NearRtRicId" : { "description" : "Identity of the policy", "type" : "string" @@ -2413,17 +2354,6 @@ "required" : [ "eventType", "ricId" ], "type" : "object" }, - "Link" : { - "properties" : { - "templated" : { - "type" : "boolean" - }, - "href" : { - "type" : "string" - } - }, - "type" : "object" - }, "ProblemDetails" : { "description" : "A problem detail to carry details in an HTTP response according to RFC 7807", "properties" : { diff --git a/docs/offeredapis/swagger/pms-api-v3.yaml b/docs/offeredapis/swagger/pms-api-v3.yaml index 6d61dfe3..4df9d61a 100644 --- a/docs/offeredapis/swagger/pms-api-v3.yaml +++ b/docs/offeredapis/swagger/pms-api-v3.yaml @@ -84,31 +84,24 @@ paths: status_info: $ref: '#/components/examples/StatusInfo' description: OK- Service is living Ok + "404": + $ref: '#/components/responses/404' description: Returns status and statistics of this service tags: - Health Check - /rics/ric: + /rics/{ricId}: get: - description: Either a Near-RT RIC identity or a Managed Element identity can - be specified.<br>The intention with Managed Element identity is the ID used - in O1 for accessing the traffical element (such as the ID of CU). + description: A ricId path parameter must be specified to retrieve associated ric infomation operationId: getRic parameters: - - description: "The identity of a Managed Element. If given, the Near-RT RIC managing the ME is returned." - explode: true - in: query - name: managedElementId - required: false - schema: - type: string - style: form - description: The identity of a Near-RT RIC to get information for. explode: true - in: query + in: path name: ricId - required: false + required: true schema: type: string + nullable: false style: form - description: Specifies the content type that the client expects to receive in response to the request. Only application/json is allowed. @@ -363,7 +356,7 @@ paths: example: application/json responses: '204': - description: 'The A1 policy was deleted' + description: 'No Content' '400': $ref: '#/components/responses/400' '401': @@ -571,7 +564,7 @@ paths: $ref: '#/components/schemas/PolicyObjectInformation' responses: '201': - description: 'Success case 201 created' + description: 'Created' content: application/json: schema: @@ -582,6 +575,12 @@ paths: required: true schema: type: string + Content-Type: + description: 'Media Type of the response' + schema: + type: string + example: application/json + '400': $ref: '#/components/responses/400' '401': @@ -640,7 +639,7 @@ paths: responses: "200": content: - '*/*': + 'application/json': schema: $ref: '#/components/schemas/void' description: OK - Configuration updated @@ -681,7 +680,7 @@ paths: responses: "200": content: - '*/*': + 'application/json': schema: type: object description: "OK - Service supervision timer refreshed, OK" @@ -742,13 +741,13 @@ paths: responses: "200": content: - '*/*': + 'application/json': schema: type: object description: OK - Service updated "201": content: - '*/*': + 'application/json': schema: type: object description: Created - Service created @@ -800,7 +799,7 @@ paths: responses: "204": content: - '*/*': + 'application/json': schema: type: object description: No Content - Service unregistered @@ -823,13 +822,6 @@ components: serviceId: serviceId keepAliveIntervalSeconds: 0 timeSinceLastActivitySeconds: 6 - PolicyStatusInfo: - description: Status for one A1-P Policy - value: - lastModified: last_modified - status: - value: - status: status StatusInfo: value: status: status @@ -1074,17 +1066,6 @@ components: description: status text type: string type: object - AuthorizationResult: - description: Result of authorization - example: - result: true - properties: - result: - description: "If true, the access is granted" - type: boolean - required: - - result - type: object RicInfo: description: Information for a Near-RT RIC properties: @@ -1134,16 +1115,6 @@ components: required: - serviceId type: object - PolicyStatusInfo: - description: Status for one A1-P Policy - properties: - lastModified: - description: "timestamp, last modification time" - type: string - status: - description: the Policy status - type: object - type: object ServiceStatus: properties: callbackUrl: @@ -1170,35 +1141,6 @@ components: $ref: '#/components/schemas/RicInfo' type: array type: object - input: - description: input - properties: - accessType: - description: Access type - enum: - - READ - - WRITE - - DELETE - type: string - authToken: - description: Authorization token - type: string - policyTypeId: - description: Policy type identifier - type: string - required: - - accessType - - authToken - - policyTypeId - type: object - PolicyAuthorization: - description: Authorization request for A1 policy requests - properties: - input: - $ref: '#/components/schemas/input' - required: - - input - type: object NearRtRicId: description: Identity of the policy type: string @@ -1241,13 +1183,6 @@ components: - eventType - ricId type: object - Link: - properties: - templated: - type: boolean - href: - type: string - type: object ProblemDetails: description: >- A problem detail to carry details in an HTTP response according to RFC @@ -1333,7 +1268,7 @@ components: schema: $ref: '#/components/schemas/ProblemDetails' '429': - description: Too Many Request + description: Too Many Requests content: application/problem+json: schema: |