From 8d9622af863aff54649fc4ed7b628a29a8b54f75 Mon Sep 17 00:00:00 2001 From: Jen Spinney Date: Mon, 18 Dec 2017 15:43:40 +0100 Subject: [PATCH] Fix schema section in service_plan.create event docs * Old documentation for the returned event was incorrect in how the schemas are represented in the event. Fixed and included some simple example schemas. [#153557902] --- .../v2/events/list_service_plan_create_events.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/v2/events/list_service_plan_create_events.html b/docs/v2/events/list_service_plan_create_events.html index 7f41bbdb654..039de7255cb 100644 --- a/docs/v2/events/list_service_plan_create_events.html +++ b/docs/v2/events/list_service_plan_create_events.html @@ -512,17 +512,11 @@

Body

"extra": null, "unique_id": "guid", "public": true, - "active": true, "bindable": true, - "schemas": { - "service_instance": { - "create": {}, - "update": {} - }, - "service_binding": { - "create": {} - } - } + "active": true, + "create_instance_schema": "{\"$schema\":\"http://json-schema.org/draft-04/schema#\",\"additionalProperties\":false,\"type\":\"object\",\"properties\":{\"lang\":{\"type\":\"string\",\"default\":\"de-DE\"}}}", + "update_instance_schema": null, + "create_binding_schema": "{\"$schema\":\"http://json-schema.org/draft-04/schema#\",\"type\":\"object\",\"properties\":{\"account\":{\"type\":\"string\"}},\"required\":[\"account\"]}" }, "space_guid": "", "organization_guid": ""