From 17a1b45df71b331f71b59f95df48c511f390ece8 Mon Sep 17 00:00:00 2001 From: Aidan Cunniffe Date: Mon, 6 Jul 2020 18:30:45 -0400 Subject: [PATCH] update id generators --- .../a known field is missing.managed.json | 86 ++-- ...d is provided the wrong shape.managed.json | 86 ++-- ...as an array with any contents.managed.json | 112 +++--- ...is provided as an empty array.managed.json | 112 +++--- ...d in a required nested object.managed.json | 112 +++--- ... in an optional nested object.managed.json | 112 +++--- ...rovided to an optional object.managed.json | 112 +++--- ...y field has no items, no diff.managed.json | 106 ++--- ...ired array field is an object.managed.json | 106 ++--- ...rings provided with an object.managed.json | 106 ++--- ...rovided to an optional object.managed.json | 112 +++--- ...ield is provided as an object.managed.json | 86 ++-- .../an extra field is provided.managed.json | 86 ++-- ...ld is null, suggests nullable.managed.json | 106 ++--- ...ired object field is ommitted.managed.json | 106 ++--- ...with a missing required field.managed.json | 106 ++--- ...eld is provided with an array.managed.json | 106 ++--- ...provided with concrete values.managed.json | 32 +- ...wn is provided with no values.managed.json | 32 +- ...s provided an empty sub array.managed.json | 106 ++--- ...vided an sub array of numbers.managed.json | 106 ++--- ...em is provided with no values.managed.json | 106 ++--- ...ne matching and one primitive.managed.json | 106 ++--- ...ed with one matching, no diff.managed.json | 106 ++--- ... does not match expected type.managed.json | 86 ++-- ... does not match expected type.managed.json | 86 ++-- ...ff expected for basic objects.managed.json | 86 ++-- ...f expected for nested objects.managed.json | 112 +++--- ... in an optional nested object.managed.json | 22 +- ...ired array field is an object.managed.json | 88 ++--- ...rings provided with an object.managed.json | 370 +++++++++++++++--- ...ield is provided as an object.managed.json | 80 ++-- ... does not match expected type.managed.json | 66 ++-- ... does not match expected type.managed.json | 234 +++++++++-- ...array is provided with object.managed.json | 64 +-- ...omitted in an optional object.managed.json | 112 +++--- ...array is provided with object.managed.json | 32 +- .../scala/com/useoptic/dsa/OpticIds.scala | 22 +- .../requests/RequestsStateBuilderSpec.scala | 2 +- .../useoptic/contexts/rfc/ScmStateSpec.scala | 2 +- .../contexts/shapes/ShapesEndToEndSpec.scala | 2 +- .../com/useoptic/diff/JsonFileFixture.scala | 2 +- .../diff/helpers/DiffHelpersSpec.scala | 4 +- .../diff/interactions/DiffVisitorSpec.scala | 2 +- .../useoptic/diff/shapes/ResolverSpec.scala | 4 +- .../end_to_end/DiffUseCasesSpec.scala | 10 +- .../end_to_end/fixtures/ShapeExamples.scala | 4 +- .../snapshot_task/BuildShapeTask.scala | 2 +- .../snapshot_task/CommandsToEvents.scala | 2 +- .../snapshot_task/EndEndDiffTask.scala | 2 +- .../com/useoptic/ux/DiffPreviewerSpec.scala | 2 +- 51 files changed, 2151 insertions(+), 1701 deletions(-) diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is missing.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is missing.managed.json index a81f650796..42e0f63cbd 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is missing.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is missing.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_5", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_5", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -174,13 +174,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -193,7 +193,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_8", + "fieldId" : "field_1", + "shapeId" : "shape_7", "name" : "cities", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5" + "fieldId" : "field_1", + "shapeId" : "shape_4" } }, "eventContext" : { @@ -250,7 +250,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -269,13 +269,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_2", + "shapeId" : "shape_7", "name" : "firstName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_6" + "fieldId" : "field_2", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "lastName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -328,10 +328,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, "consumingParameterId" : "$listItem" @@ -347,10 +347,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_8", + "shapeId" : "shape_7", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is provided the wrong shape.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is provided the wrong shape.managed.json index 54fa5b5211..8ee0f69d21 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is provided the wrong shape.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a known field is provided the wrong shape.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_5", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_5", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -174,13 +174,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -193,7 +193,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_8", + "fieldId" : "field_1", + "shapeId" : "shape_7", "name" : "cities", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5" + "fieldId" : "field_1", + "shapeId" : "shape_4" } }, "eventContext" : { @@ -250,7 +250,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -269,13 +269,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_2", + "shapeId" : "shape_7", "name" : "firstName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_6" + "fieldId" : "field_2", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "lastName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -328,10 +328,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, "consumingParameterId" : "$listItem" @@ -347,10 +347,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_8", + "shapeId" : "shape_7", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an array with any contents.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an array with any contents.managed.json index 73a81b7e89..7119163244 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an array with any contents.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an array with any contents.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an empty array.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an empty array.managed.json index d4d0622578..d4d6a94f1b 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an empty array.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided as an empty array.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in a required nested object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in a required nested object.managed.json index 6d48149968..cfa24b5523 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in a required nested object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in a required nested object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in an optional nested object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in an optional nested object.managed.json index 37dba8f32c..6b2274c53d 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in an optional nested object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a new field is provided in an optional nested object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a primitive type is provided to an optional object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a primitive type is provided to an optional object.managed.json index ba65cba574..e6ef2ddbe3 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a primitive type is provided to an optional object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a primitive type is provided to an optional object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field has no items, no diff.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field has no items, no diff.managed.json index 2ae65786d1..c19690cd5d 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field has no items, no diff.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field has no items, no diff.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_7", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_7", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -174,7 +174,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -193,13 +193,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_4", + "fieldId" : "field_0", + "shapeId" : "shape_3", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_4", + "fieldId" : "field_1", + "shapeId" : "shape_3", "name" : "last", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -250,13 +250,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_10", + "fieldId" : "field_2", + "shapeId" : "shape_9", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -269,7 +269,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_10", + "fieldId" : "field_3", + "shapeId" : "shape_9", "name" : "rivals", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -326,7 +326,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -345,7 +345,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -364,13 +364,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_9", + "fieldId" : "field_4", + "shapeId" : "shape_8", "name" : "rank", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8" + "fieldId" : "field_4", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -383,13 +383,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_10", + "fieldId" : "field_5", + "shapeId" : "shape_9", "name" : "stats", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9" + "fieldId" : "field_5", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -404,10 +404,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, "consumingParameterId" : "$listItem" @@ -423,10 +423,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field is an object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field is an object.managed.json index 8823cfedc2..ec9af0cb1a 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field is an object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field is an object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_7", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_7", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -174,7 +174,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -193,13 +193,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_4", + "fieldId" : "field_0", + "shapeId" : "shape_3", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_4", + "fieldId" : "field_1", + "shapeId" : "shape_3", "name" : "last", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -250,13 +250,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_10", + "fieldId" : "field_2", + "shapeId" : "shape_9", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -269,7 +269,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_10", + "fieldId" : "field_3", + "shapeId" : "shape_9", "name" : "rivals", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -326,7 +326,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -345,7 +345,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -364,13 +364,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_9", + "fieldId" : "field_4", + "shapeId" : "shape_8", "name" : "rank", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8" + "fieldId" : "field_4", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -383,13 +383,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_10", + "fieldId" : "field_5", + "shapeId" : "shape_9", "name" : "stats", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9" + "fieldId" : "field_5", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -404,10 +404,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, "consumingParameterId" : "$listItem" @@ -423,10 +423,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field of strings provided with an object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field of strings provided with an object.managed.json index 639ac1a1b2..db21bb9dbc 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field of strings provided with an object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/a required array field of strings provided with an object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_7", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_7", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -174,7 +174,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -193,13 +193,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_4", + "fieldId" : "field_0", + "shapeId" : "shape_3", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_4", + "fieldId" : "field_1", + "shapeId" : "shape_3", "name" : "last", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -250,13 +250,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_10", + "fieldId" : "field_2", + "shapeId" : "shape_9", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -269,7 +269,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_10", + "fieldId" : "field_3", + "shapeId" : "shape_9", "name" : "rivals", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -326,7 +326,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -345,7 +345,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -364,13 +364,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_9", + "fieldId" : "field_4", + "shapeId" : "shape_8", "name" : "rank", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8" + "fieldId" : "field_4", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -383,13 +383,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_10", + "fieldId" : "field_5", + "shapeId" : "shape_9", "name" : "stats", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9" + "fieldId" : "field_5", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -404,10 +404,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, "consumingParameterId" : "$listItem" @@ -423,10 +423,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an array type is provided to an optional object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an array type is provided to an optional object.managed.json index 79912a58af..13ae565a42 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an array type is provided to an optional object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an array type is provided to an optional object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided as an object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided as an object.managed.json index b79363d5bd..8e16d6a9e0 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided as an object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided as an object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_5", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_5", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -174,13 +174,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -193,7 +193,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_8", + "fieldId" : "field_1", + "shapeId" : "shape_7", "name" : "cities", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5" + "fieldId" : "field_1", + "shapeId" : "shape_4" } }, "eventContext" : { @@ -250,7 +250,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -269,13 +269,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_2", + "shapeId" : "shape_7", "name" : "firstName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_6" + "fieldId" : "field_2", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "lastName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -328,10 +328,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, "consumingParameterId" : "$listItem" @@ -347,10 +347,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_8", + "shapeId" : "shape_7", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided.managed.json index 246c0166c8..8b36b94ebd 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an extra field is provided.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_5", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_5", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -174,13 +174,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -193,7 +193,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_8", + "fieldId" : "field_1", + "shapeId" : "shape_7", "name" : "cities", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5" + "fieldId" : "field_1", + "shapeId" : "shape_4" } }, "eventContext" : { @@ -250,7 +250,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -269,13 +269,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_2", + "shapeId" : "shape_7", "name" : "firstName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_6" + "fieldId" : "field_2", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "lastName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -328,10 +328,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, "consumingParameterId" : "$listItem" @@ -347,10 +347,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_8", + "shapeId" : "shape_7", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is null, suggests nullable.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is null, suggests nullable.managed.json index 2af7ebd938..14f0291926 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is null, suggests nullable.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is null, suggests nullable.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_7", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_7", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -174,7 +174,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -193,13 +193,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_4", + "fieldId" : "field_0", + "shapeId" : "shape_3", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_4", + "fieldId" : "field_1", + "shapeId" : "shape_3", "name" : "last", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -250,13 +250,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_10", + "fieldId" : "field_2", + "shapeId" : "shape_9", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -269,7 +269,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_10", + "fieldId" : "field_3", + "shapeId" : "shape_9", "name" : "rivals", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -326,7 +326,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -345,7 +345,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -364,13 +364,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_9", + "fieldId" : "field_4", + "shapeId" : "shape_8", "name" : "rank", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8" + "fieldId" : "field_4", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -383,13 +383,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_10", + "fieldId" : "field_5", + "shapeId" : "shape_9", "name" : "stats", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9" + "fieldId" : "field_5", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -404,10 +404,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, "consumingParameterId" : "$listItem" @@ -423,10 +423,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is ommitted.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is ommitted.managed.json index bb83509cfc..c3af045c2f 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is ommitted.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is ommitted.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_7", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_7", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -174,7 +174,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -193,13 +193,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_4", + "fieldId" : "field_0", + "shapeId" : "shape_3", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_4", + "fieldId" : "field_1", + "shapeId" : "shape_3", "name" : "last", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -250,13 +250,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_10", + "fieldId" : "field_2", + "shapeId" : "shape_9", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -269,7 +269,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_10", + "fieldId" : "field_3", + "shapeId" : "shape_9", "name" : "rivals", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -326,7 +326,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -345,7 +345,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -364,13 +364,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_9", + "fieldId" : "field_4", + "shapeId" : "shape_8", "name" : "rank", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8" + "fieldId" : "field_4", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -383,13 +383,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_10", + "fieldId" : "field_5", + "shapeId" : "shape_9", "name" : "stats", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9" + "fieldId" : "field_5", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -404,10 +404,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, "consumingParameterId" : "$listItem" @@ -423,10 +423,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with a missing required field.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with a missing required field.managed.json index d163dd3f8b..eb6d84eafa 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with a missing required field.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with a missing required field.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_7", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_7", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -174,7 +174,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -193,13 +193,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_4", + "fieldId" : "field_0", + "shapeId" : "shape_3", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_4", + "fieldId" : "field_1", + "shapeId" : "shape_3", "name" : "last", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -250,13 +250,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_10", + "fieldId" : "field_2", + "shapeId" : "shape_9", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -269,7 +269,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_10", + "fieldId" : "field_3", + "shapeId" : "shape_9", "name" : "rivals", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -326,7 +326,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -345,7 +345,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -364,13 +364,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_9", + "fieldId" : "field_4", + "shapeId" : "shape_8", "name" : "rank", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8" + "fieldId" : "field_4", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -383,13 +383,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_10", + "fieldId" : "field_5", + "shapeId" : "shape_9", "name" : "stats", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9" + "fieldId" : "field_5", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -404,10 +404,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, "consumingParameterId" : "$listItem" @@ -423,10 +423,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with an array.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with an array.managed.json index 3462259ff4..55deabc8cf 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with an array.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/an required object field is provided with an array.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_7", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_7", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -174,7 +174,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -193,13 +193,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_4", + "fieldId" : "field_0", + "shapeId" : "shape_3", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_4", + "fieldId" : "field_1", + "shapeId" : "shape_3", "name" : "last", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -250,13 +250,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_10", + "fieldId" : "field_2", + "shapeId" : "shape_9", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -269,7 +269,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_10", + "fieldId" : "field_3", + "shapeId" : "shape_9", "name" : "rivals", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -326,7 +326,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -345,7 +345,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -364,13 +364,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_9", + "fieldId" : "field_4", + "shapeId" : "shape_8", "name" : "rank", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8" + "fieldId" : "field_4", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -383,13 +383,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_10", + "fieldId" : "field_5", + "shapeId" : "shape_9", "name" : "stats", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9" + "fieldId" : "field_5", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -404,10 +404,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, "consumingParameterId" : "$listItem" @@ -423,10 +423,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with concrete values.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with concrete values.managed.json index be4fabd47b..cb3a7f8d2a 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with concrete values.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with concrete values.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "events", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_1", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_1", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$unknown", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -131,10 +131,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_2" + "shapeId" : "shape_1" } }, "consumingParameterId" : "$listItem" @@ -150,10 +150,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_3", + "shapeId" : "shape_2", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with no values.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with no values.managed.json index 7bf96e17d4..8aec038e0c 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with no values.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array unknown is provided with no values.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "events", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_1", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_1", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$unknown", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -131,10 +131,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_2" + "shapeId" : "shape_1" } }, "consumingParameterId" : "$listItem" @@ -150,10 +150,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_3", + "shapeId" : "shape_2", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an empty sub array.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an empty sub array.managed.json index b3b59395ae..1bd23198ef 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an empty sub array.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an empty sub array.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "people", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_9", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_9", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_18", + "shapeId" : "shape_17", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -129,7 +129,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -148,7 +148,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$oneOf", "parameters" : { "DynamicParameterList" : { @@ -167,13 +167,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_18", + "fieldId" : "field_3", + "shapeId" : "shape_17", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_12" + "fieldId" : "field_3", + "shapeId" : "shape_11" } }, "eventContext" : { @@ -186,7 +186,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_14", + "shapeId" : "shape_13", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -205,7 +205,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -224,7 +224,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_16", + "shapeId" : "shape_15", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -243,13 +243,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_18", + "fieldId" : "field_4", + "shapeId" : "shape_17", "name" : "colors", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_16" + "fieldId" : "field_4", + "shapeId" : "shape_15" } }, "eventContext" : { @@ -262,7 +262,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_17", + "shapeId" : "shape_16", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -281,13 +281,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_18", + "fieldId" : "field_5", + "shapeId" : "shape_17", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_17" + "fieldId" : "field_5", + "shapeId" : "shape_16" } }, "eventContext" : { @@ -300,7 +300,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -319,18 +319,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_7", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_0", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -345,13 +345,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_11" + "shapeId" : "shape_10" } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -364,18 +364,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_8", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_1", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -390,13 +390,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_10" + "shapeId" : "shape_9" } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -411,10 +411,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_14" + "shapeId" : "shape_13" } }, "consumingParameterId" : "$listItem" @@ -432,10 +432,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_5", + "fieldId" : "field_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_15" + "shapeId" : "shape_14" } }, "consumingParameterId" : "$optionalInner" @@ -453,10 +453,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_18" + "shapeId" : "shape_17" } }, "consumingParameterId" : "$listItem" @@ -472,10 +472,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_19", + "shapeId" : "shape_18", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an sub array of numbers.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an sub array of numbers.managed.json index 19824751a5..abef02b8ba 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an sub array of numbers.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided an sub array of numbers.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "people", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_9", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_9", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_18", + "shapeId" : "shape_17", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -129,7 +129,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -148,7 +148,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$oneOf", "parameters" : { "DynamicParameterList" : { @@ -167,13 +167,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_18", + "fieldId" : "field_3", + "shapeId" : "shape_17", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_12" + "fieldId" : "field_3", + "shapeId" : "shape_11" } }, "eventContext" : { @@ -186,7 +186,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_14", + "shapeId" : "shape_13", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -205,7 +205,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -224,7 +224,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_16", + "shapeId" : "shape_15", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -243,13 +243,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_18", + "fieldId" : "field_4", + "shapeId" : "shape_17", "name" : "colors", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_16" + "fieldId" : "field_4", + "shapeId" : "shape_15" } }, "eventContext" : { @@ -262,7 +262,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_17", + "shapeId" : "shape_16", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -281,13 +281,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_18", + "fieldId" : "field_5", + "shapeId" : "shape_17", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_17" + "fieldId" : "field_5", + "shapeId" : "shape_16" } }, "eventContext" : { @@ -300,7 +300,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -319,18 +319,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_7", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_0", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -345,13 +345,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_11" + "shapeId" : "shape_10" } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -364,18 +364,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_8", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_1", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -390,13 +390,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_10" + "shapeId" : "shape_9" } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -411,10 +411,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_14" + "shapeId" : "shape_13" } }, "consumingParameterId" : "$listItem" @@ -432,10 +432,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_5", + "fieldId" : "field_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_15" + "shapeId" : "shape_14" } }, "consumingParameterId" : "$optionalInner" @@ -453,10 +453,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_18" + "shapeId" : "shape_17" } }, "consumingParameterId" : "$listItem" @@ -472,10 +472,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_19", + "shapeId" : "shape_18", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with no values.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with no values.managed.json index 6a74700db6..350b0aa8f4 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with no values.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with no values.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "people", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_9", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_9", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_18", + "shapeId" : "shape_17", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -129,7 +129,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -148,7 +148,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$oneOf", "parameters" : { "DynamicParameterList" : { @@ -167,13 +167,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_18", + "fieldId" : "field_3", + "shapeId" : "shape_17", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_12" + "fieldId" : "field_3", + "shapeId" : "shape_11" } }, "eventContext" : { @@ -186,7 +186,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_14", + "shapeId" : "shape_13", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -205,7 +205,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -224,7 +224,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_16", + "shapeId" : "shape_15", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -243,13 +243,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_18", + "fieldId" : "field_4", + "shapeId" : "shape_17", "name" : "colors", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_16" + "fieldId" : "field_4", + "shapeId" : "shape_15" } }, "eventContext" : { @@ -262,7 +262,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_17", + "shapeId" : "shape_16", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -281,13 +281,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_18", + "fieldId" : "field_5", + "shapeId" : "shape_17", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_17" + "fieldId" : "field_5", + "shapeId" : "shape_16" } }, "eventContext" : { @@ -300,7 +300,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -319,18 +319,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_7", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_0", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -345,13 +345,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_11" + "shapeId" : "shape_10" } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -364,18 +364,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_8", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_1", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -390,13 +390,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_10" + "shapeId" : "shape_9" } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -411,10 +411,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_14" + "shapeId" : "shape_13" } }, "consumingParameterId" : "$listItem" @@ -432,10 +432,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_5", + "fieldId" : "field_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_15" + "shapeId" : "shape_14" } }, "consumingParameterId" : "$optionalInner" @@ -453,10 +453,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_18" + "shapeId" : "shape_17" } }, "consumingParameterId" : "$listItem" @@ -472,10 +472,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_19", + "shapeId" : "shape_18", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching and one primitive.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching and one primitive.managed.json index b4551d9204..297f09f35d 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching and one primitive.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching and one primitive.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "people", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_9", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_9", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_18", + "shapeId" : "shape_17", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -129,7 +129,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -148,7 +148,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$oneOf", "parameters" : { "DynamicParameterList" : { @@ -167,13 +167,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_18", + "fieldId" : "field_3", + "shapeId" : "shape_17", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_12" + "fieldId" : "field_3", + "shapeId" : "shape_11" } }, "eventContext" : { @@ -186,7 +186,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_14", + "shapeId" : "shape_13", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -205,7 +205,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -224,7 +224,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_16", + "shapeId" : "shape_15", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -243,13 +243,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_18", + "fieldId" : "field_4", + "shapeId" : "shape_17", "name" : "colors", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_16" + "fieldId" : "field_4", + "shapeId" : "shape_15" } }, "eventContext" : { @@ -262,7 +262,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_17", + "shapeId" : "shape_16", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -281,13 +281,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_18", + "fieldId" : "field_5", + "shapeId" : "shape_17", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_17" + "fieldId" : "field_5", + "shapeId" : "shape_16" } }, "eventContext" : { @@ -300,7 +300,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -319,18 +319,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_7", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_0", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -345,13 +345,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_11" + "shapeId" : "shape_10" } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -364,18 +364,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_8", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_1", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -390,13 +390,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_10" + "shapeId" : "shape_9" } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -411,10 +411,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_14" + "shapeId" : "shape_13" } }, "consumingParameterId" : "$listItem" @@ -432,10 +432,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_5", + "fieldId" : "field_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_15" + "shapeId" : "shape_14" } }, "consumingParameterId" : "$optionalInner" @@ -453,10 +453,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_18" + "shapeId" : "shape_17" } }, "consumingParameterId" : "$listItem" @@ -472,10 +472,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_19", + "shapeId" : "shape_18", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching, no diff.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching, no diff.managed.json index 63b5dafec8..23c31a55be 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching, no diff.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/array with object listitem is provided with one matching, no diff.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "people", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_9", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_9", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_20", + "shapeId" : "shape_19", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_18", + "shapeId" : "shape_17", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -129,7 +129,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -148,7 +148,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$oneOf", "parameters" : { "DynamicParameterList" : { @@ -167,13 +167,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_18", + "fieldId" : "field_3", + "shapeId" : "shape_17", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_12" + "fieldId" : "field_3", + "shapeId" : "shape_11" } }, "eventContext" : { @@ -186,7 +186,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_14", + "shapeId" : "shape_13", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -205,7 +205,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -224,7 +224,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_16", + "shapeId" : "shape_15", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -243,13 +243,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_18", + "fieldId" : "field_4", + "shapeId" : "shape_17", "name" : "colors", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_16" + "fieldId" : "field_4", + "shapeId" : "shape_15" } }, "eventContext" : { @@ -262,7 +262,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_17", + "shapeId" : "shape_16", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -281,13 +281,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_18", + "fieldId" : "field_5", + "shapeId" : "shape_17", "name" : "name", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_17" + "fieldId" : "field_5", + "shapeId" : "shape_16" } }, "eventContext" : { @@ -300,7 +300,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -319,18 +319,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_7", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_0", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -345,13 +345,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_11" + "shapeId" : "shape_10" } }, - "consumingParameterId" : "parameter_7" + "consumingParameterId" : "shape-parameter_0" } }, "eventContext" : { @@ -364,18 +364,18 @@ }, { "ShapeParameterAdded" : { - "shapeParameterId" : "parameter_8", - "shapeId" : "shape_12", + "shapeParameterId" : "shape-parameter_1", + "shapeId" : "shape_11", "name" : "", "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "providerDescriptor" : { "NoProvider" : { } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -390,13 +390,13 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_10" + "shapeId" : "shape_9" } }, - "consumingParameterId" : "parameter_8" + "consumingParameterId" : "shape-parameter_1" } }, "eventContext" : { @@ -411,10 +411,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_15", + "shapeId" : "shape_14", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_14" + "shapeId" : "shape_13" } }, "consumingParameterId" : "$listItem" @@ -432,10 +432,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_5", + "fieldId" : "field_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_15" + "shapeId" : "shape_14" } }, "consumingParameterId" : "$optionalInner" @@ -453,10 +453,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_19", + "shapeId" : "shape_18", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_18" + "shapeId" : "shape_17" } }, "consumingParameterId" : "$listItem" @@ -472,10 +472,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_19", + "shapeId" : "shape_18", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and 1 item does not match expected type.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and 1 item does not match expected type.managed.json index 9fc844c8cf..98348b8393 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and 1 item does not match expected type.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and 1 item does not match expected type.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_5", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_5", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -174,13 +174,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -193,7 +193,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_8", + "fieldId" : "field_1", + "shapeId" : "shape_7", "name" : "cities", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5" + "fieldId" : "field_1", + "shapeId" : "shape_4" } }, "eventContext" : { @@ -250,7 +250,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -269,13 +269,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_2", + "shapeId" : "shape_7", "name" : "firstName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_6" + "fieldId" : "field_2", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "lastName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -328,10 +328,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, "consumingParameterId" : "$listItem" @@ -347,10 +347,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_8", + "shapeId" : "shape_7", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and > 1 items does not match expected type.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and > 1 items does not match expected type.managed.json index 773f645659..e058c3a545 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and > 1 items does not match expected type.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/field is array of strings, and > 1 items does not match expected type.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_5", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_5", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -174,13 +174,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -193,7 +193,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_8", + "fieldId" : "field_1", + "shapeId" : "shape_7", "name" : "cities", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5" + "fieldId" : "field_1", + "shapeId" : "shape_4" } }, "eventContext" : { @@ -250,7 +250,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -269,13 +269,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_2", + "shapeId" : "shape_7", "name" : "firstName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_6" + "fieldId" : "field_2", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "lastName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -328,10 +328,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, "consumingParameterId" : "$listItem" @@ -347,10 +347,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_8", + "shapeId" : "shape_7", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for basic objects.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for basic objects.managed.json index 13117af478..fd90ed3f7f 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for basic objects.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for basic objects.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "users", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":userId", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "PathComponentAdded" : { - "pathId" : "path_3", - "parentPathId" : "path_2", + "pathId" : "path_2", + "parentPathId" : "path_1", "name" : "profile", "eventContext" : { "clientId" : "ccc", @@ -60,8 +60,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_5", - "pathId" : "path_3", + "parameterId" : "request-parameter_0", + "pathId" : "path_2", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -75,7 +75,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -94,9 +94,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_5", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { @@ -109,8 +109,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_3", + "requestId" : "request_0", + "pathId" : "path_2", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -122,8 +122,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_3", + "responseId" : "response_0", + "pathId" : "path_2", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -136,7 +136,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -155,7 +155,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -174,13 +174,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "age", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -193,7 +193,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -212,7 +212,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -231,13 +231,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_8", + "fieldId" : "field_1", + "shapeId" : "shape_7", "name" : "cities", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5" + "fieldId" : "field_1", + "shapeId" : "shape_4" } }, "eventContext" : { @@ -250,7 +250,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -269,13 +269,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_2", + "shapeId" : "shape_7", "name" : "firstName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_6" + "fieldId" : "field_2", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -288,7 +288,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -307,13 +307,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "lastName", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_7" + "fieldId" : "field_3", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -328,10 +328,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, "consumingParameterId" : "$listItem" @@ -347,10 +347,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_8", + "shapeId" : "shape_7", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for nested objects.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for nested objects.managed.json index 2adf46ef7d..43e0ccd601 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for nested objects.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/no diff expected for nested objects.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a new field is provided in an optional nested object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a new field is provided in an optional nested object.managed.json index 47cd8dff1c..b20c0600e7 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a new field is provided in an optional nested object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a new field is provided in an optional nested object.managed.json @@ -15,7 +15,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -45,24 +45,24 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_10", + "rootShapeId" : "shape_9", "path" : [ { "ObjectFieldTrail" : { - "fieldId" : "parameter_7", - "fieldShapeId" : "shape_9" + "fieldId" : "field_6", + "fieldShapeId" : "shape_8" } }, { "ObjectFieldTrail" : { - "fieldId" : "parameter_6", - "fieldShapeId" : "shape_8" + "fieldId" : "field_5", + "fieldShapeId" : "shape_7" } }, { "ObjectFieldTrail" : { - "fieldId" : "parameter_4", - "fieldShapeId" : "shape_6" + "fieldId" : "field_3", + "fieldShapeId" : "shape_5" } } ] @@ -75,10 +75,10 @@ "suggestions" : [ ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_10),List(List(JsonObjectKey(location))),List(),List(),Set())), (List(JsonObjectKey(location)),ExampleObject(List(JsonObjectKey(location)),Some(shape_9),List(List(JsonObjectKey(location), JsonObjectKey(principality))),List(),List(),Set())), (List(JsonObjectKey(location), JsonObjectKey(principality)),ExampleObject(List(JsonObjectKey(location), JsonObjectKey(principality)),Some(shape_8),List(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)), List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)), List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population))),List(),List(),Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),$string,Some(shape_2),\"San Fransisco\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),ExampleObject(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),Some(shape_5),List(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)), List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long))),List(),List(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format))),Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),$string,None,\"DMS\",Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_7,shape_9), ObjectFieldTrail(parameter_6,shape_8), ObjectFieldTrail(parameter_4,shape_6))))))), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),$string,Some(shape_3),\"37.7749° N\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),$string,Some(shape_4),\"122.4194° W\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),$number,Some(shape_7),830000,Set())))", - "Vector((List(JsonObjectKey(location)),KnownExampleField(List(JsonObjectKey(location)),location,parameter_7,shape_9,{\n \"principality\" : {\n \"city\" : \"San Fransisco\",\n \"population\" : 830000,\n \"coordinates\" : {\n \"format\" : \"DMS\",\n \"lat\" : \"37.7749° N\",\n \"long\" : \"122.4194° W\"\n }\n }\n},Set())), (List(JsonObjectKey(location), JsonObjectKey(principality)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality)),principality,parameter_6,shape_8,{\n \"city\" : \"San Fransisco\",\n \"population\" : 830000,\n \"coordinates\" : {\n \"format\" : \"DMS\",\n \"lat\" : \"37.7749° N\",\n \"long\" : \"122.4194° W\"\n }\n},Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),city,parameter_1,shape_2,\"San Fransisco\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),coordinates,parameter_4,shape_6,{\n \"format\" : \"DMS\",\n \"lat\" : \"37.7749° N\",\n \"long\" : \"122.4194° W\"\n},Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),UnexpectedExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),format,\"DMS\",Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_7,shape_9), ObjectFieldTrail(parameter_6,shape_8), ObjectFieldTrail(parameter_4,shape_6))))))), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),lat,parameter_2,shape_3,\"37.7749° N\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),long,parameter_3,shape_4,\"122.4194° W\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),population,parameter_5,shape_7,830000,Set())))", + "Vector((List(),ExampleObject(List(),Some(shape_9),List(List(JsonObjectKey(location))),List(),List(),Set())), (List(JsonObjectKey(location)),ExampleObject(List(JsonObjectKey(location)),Some(shape_8),List(List(JsonObjectKey(location), JsonObjectKey(principality))),List(),List(),Set())), (List(JsonObjectKey(location), JsonObjectKey(principality)),ExampleObject(List(JsonObjectKey(location), JsonObjectKey(principality)),Some(shape_7),List(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)), List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)), List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population))),List(),List(),Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),$string,Some(shape_1),\"San Fransisco\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),ExampleObject(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),Some(shape_4),List(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)), List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long))),List(),List(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format))),Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),$string,None,\"DMS\",Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_6,shape_8), ObjectFieldTrail(field_5,shape_7), ObjectFieldTrail(field_3,shape_5))))))), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),$string,Some(shape_2),\"37.7749° N\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),$string,Some(shape_3),\"122.4194° W\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),ExamplePrimitive(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),$number,Some(shape_6),830000,Set())))", + "Vector((List(JsonObjectKey(location)),KnownExampleField(List(JsonObjectKey(location)),location,field_6,shape_8,{\n \"principality\" : {\n \"city\" : \"San Fransisco\",\n \"population\" : 830000,\n \"coordinates\" : {\n \"format\" : \"DMS\",\n \"lat\" : \"37.7749° N\",\n \"long\" : \"122.4194° W\"\n }\n }\n},Set())), (List(JsonObjectKey(location), JsonObjectKey(principality)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality)),principality,field_5,shape_7,{\n \"city\" : \"San Fransisco\",\n \"population\" : 830000,\n \"coordinates\" : {\n \"format\" : \"DMS\",\n \"lat\" : \"37.7749° N\",\n \"long\" : \"122.4194° W\"\n }\n},Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(city)),city,field_0,shape_1,\"San Fransisco\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates)),coordinates,field_3,shape_5,{\n \"format\" : \"DMS\",\n \"lat\" : \"37.7749° N\",\n \"long\" : \"122.4194° W\"\n},Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),UnexpectedExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),format,\"DMS\",Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_6,shape_8), ObjectFieldTrail(field_5,shape_7), ObjectFieldTrail(field_3,shape_5))))))), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(lat)),lat,field_1,shape_2,\"37.7749° N\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(long)),long,field_2,shape_3,\"122.4194° W\",Set())), (List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),KnownExampleField(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(population)),population,field_4,shape_6,830000,Set())))", "Vector()", - "Vector((shape_10,SpecObject(shape_10,List(SpecField(location,parameter_7,shape_9,Set())),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecPrimitive(shape_4,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_5,SpecObject(shape_5,List(SpecField(lat,parameter_2,shape_3,Set()), SpecField(long,parameter_3,shape_4,Set())),Set())), (shape_6,WrappedType(shape_6,$optional,RenderName(List(NameComponent(,modifier, (optional),Some(shape_5),None))),shape_5,Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_7,shape_9), ObjectFieldTrail(parameter_6,shape_8), ObjectFieldTrail(parameter_4,shape_6))))))), (shape_7,SpecPrimitive(shape_7,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(city,parameter_1,shape_2,Set()), SpecField(coordinates,parameter_4,shape_6,Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_7,shape_9), ObjectFieldTrail(parameter_6,shape_8), ObjectFieldTrail(parameter_4,shape_6)))))), SpecField(population,parameter_5,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(principality,parameter_6,shape_8,Set())),Set())))" + "Vector((shape_1,SpecPrimitive(shape_1,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecObject(shape_4,List(SpecField(lat,field_1,shape_2,Set()), SpecField(long,field_2,shape_3,Set())),Set())), (shape_5,WrappedType(shape_5,$optional,RenderName(List(NameComponent(,modifier, (optional),Some(shape_4),None))),shape_4,Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_6,shape_8), ObjectFieldTrail(field_5,shape_7), ObjectFieldTrail(field_3,shape_5))))))), (shape_6,SpecPrimitive(shape_6,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_7,SpecObject(shape_7,List(SpecField(city,field_0,shape_1,Set()), SpecField(coordinates,field_3,shape_5,Set(UnspecifiedShape(List(JsonObjectKey(location), JsonObjectKey(principality), JsonObjectKey(coordinates), JsonObjectKey(format)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_6,shape_8), ObjectFieldTrail(field_5,shape_7), ObjectFieldTrail(field_3,shape_5)))))), SpecField(population,field_4,shape_6,Set())),Set())), (shape_8,SpecObject(shape_8,List(SpecField(principality,field_5,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(location,field_6,shape_8,Set())),Set())))" ] } ] diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field is an object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field is an object.managed.json index 4320a7998e..d18c30a107 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field is an object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field is an object.managed.json @@ -15,7 +15,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -30,12 +30,12 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_10", + "rootShapeId" : "shape_9", "path" : [ { "ObjectFieldTrail" : { - "fieldId" : "parameter_4", - "fieldShapeId" : "shape_7" + "fieldId" : "field_3", + "fieldShapeId" : "shape_6" } } ] @@ -51,49 +51,49 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_5002", "baseShapeId" : "$object", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_2", + "shapeId" : "shape_5001", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_3", + "fieldId" : "field_5000", + "shapeId" : "shape_5002", "name" : "nemesis", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_2" + "fieldId" : "field_5000", + "shapeId" : "shape_5001" } } } }, { "AddShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "baseShapeId" : "$oneOf", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_1", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5000", + "shapeId" : "shape_5000", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_2", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5001", + "shapeId" : "shape_5000", "name" : "" } }, @@ -101,13 +101,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_3" + "shapeId" : "shape_5002" } }, - "consumingParameterId" : "parameter_2" + "consumingParameterId" : "shape-parameter_5001" } } } @@ -116,13 +116,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_7" + "shapeId" : "shape_6" } }, - "consumingParameterId" : "parameter_1" + "consumingParameterId" : "shape-parameter_5000" } } } @@ -131,8 +131,8 @@ "SetFieldShape" : { "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_1" + "fieldId" : "field_3", + "shapeId" : "shape_5000" } } } @@ -144,27 +144,27 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_5004", "baseShapeId" : "$object", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_4", + "shapeId" : "shape_5003", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_5", + "fieldId" : "field_5001", + "shapeId" : "shape_5004", "name" : "nemesis", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_4" + "fieldId" : "field_5001", + "shapeId" : "shape_5003" } } } @@ -173,8 +173,8 @@ "SetFieldShape" : { "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_5" + "fieldId" : "field_3", + "shapeId" : "shape_5004" } } } @@ -183,10 +183,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_10),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_4),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_2),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_3),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleObject(List(JsonObjectKey(rivals)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonObjectKey(nemesis))),Set())), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),$string,None,\"Brad\",Set())), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_9),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_8),1,Set())))", - "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,parameter_3,shape_4,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,parameter_1,shape_2,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,parameter_2,shape_3,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,parameter_4,shape_7,{\n \"nemesis\" : \"Brad\"\n},Set(UnmatchedShape(List(JsonObjectKey(rivals)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7))))))), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),nemesis,\"Brad\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,parameter_6,shape_9,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,parameter_5,shape_8,1,Set())))", + "Vector((List(),ExampleObject(List(),Some(shape_9),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_3),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_1),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_2),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleObject(List(JsonObjectKey(rivals)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonObjectKey(nemesis))),Set())), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),$string,None,\"Brad\",Set())), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_8),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_7),1,Set())))", + "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,field_2,shape_3,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,field_0,shape_1,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,field_1,shape_2,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,field_3,shape_6,{\n \"nemesis\" : \"Brad\"\n},Set(UnmatchedShape(List(JsonObjectKey(rivals)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6))))))), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),nemesis,\"Brad\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,field_5,shape_8,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,field_4,shape_7,1,Set())))", "Vector()", - "Vector((shape_10,SpecObject(shape_10,List(SpecField(name,parameter_3,shape_4,Set()), SpecField(rivals,parameter_4,shape_7,Set(UnmatchedShape(List(JsonObjectKey(rivals)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7)))))), SpecField(stats,parameter_6,shape_9,Set())),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecObject(shape_4,List(SpecField(first,parameter_1,shape_2,Set()), SpecField(last,parameter_2,shape_3,Set())),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecArray(shape_7,shape_6,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_6),Some(shape_6)))),Set())), (shape_8,SpecPrimitive(shape_8,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_9,SpecObject(shape_9,List(SpecField(rank,parameter_5,shape_8,Set())),Set())))" + "Vector((shape_1,SpecPrimitive(shape_1,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecObject(shape_3,List(SpecField(first,field_0,shape_1,Set()), SpecField(last,field_1,shape_2,Set())),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecArray(shape_6,shape_5,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_5),Some(shape_5)))),Set())), (shape_7,SpecPrimitive(shape_7,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(rank,field_4,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(name,field_2,shape_3,Set()), SpecField(rivals,field_3,shape_6,Set(UnmatchedShape(List(JsonObjectKey(rivals)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6)))))), SpecField(stats,field_5,shape_8,Set())),Set())))" ] }, { @@ -204,7 +204,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -224,12 +224,12 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_10", + "rootShapeId" : "shape_9", "path" : [ { "ObjectFieldTrail" : { - "fieldId" : "parameter_4", - "fieldShapeId" : "shape_7" + "fieldId" : "field_3", + "fieldShapeId" : "shape_6" } } ] @@ -245,7 +245,7 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5005", "baseShapeId" : "$string", "name" : "" } @@ -254,10 +254,10 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5005" } }, "consumingParameterId" : "$listItem" @@ -269,10 +269,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_10),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_4),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_2),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_3),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleObject(List(JsonObjectKey(rivals)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonObjectKey(nemesis))),Set())), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),$string,None,\"Brad\",Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7))))))), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_9),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_8),1,Set())))", - "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,parameter_3,shape_4,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,parameter_1,shape_2,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,parameter_2,shape_3,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,parameter_4,shape_7,{\n \"nemesis\" : \"Brad\"\n},Set())), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),nemesis,\"Brad\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,parameter_6,shape_9,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,parameter_5,shape_8,1,Set())))", + "Vector((List(),ExampleObject(List(),Some(shape_9),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_3),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_1),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_2),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleObject(List(JsonObjectKey(rivals)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonObjectKey(nemesis))),Set())), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),$string,None,\"Brad\",Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6))))))), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_8),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_7),1,Set())))", + "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,field_2,shape_3,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,field_0,shape_1,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,field_1,shape_2,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,field_3,shape_6,{\n \"nemesis\" : \"Brad\"\n},Set())), (List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),nemesis,\"Brad\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,field_5,shape_8,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,field_4,shape_7,1,Set())))", "Vector()", - "Vector((shape_10,SpecObject(shape_10,List(SpecField(name,parameter_3,shape_4,Set()), SpecField(rivals,parameter_4,shape_7,Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7)))))), SpecField(stats,parameter_6,shape_9,Set())),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecObject(shape_4,List(SpecField(first,parameter_1,shape_2,Set()), SpecField(last,parameter_2,shape_3,Set())),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecArray(shape_7,shape_6,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_6),Some(shape_6)))),Set())), (shape_8,SpecPrimitive(shape_8,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_9,SpecObject(shape_9,List(SpecField(rank,parameter_5,shape_8,Set())),Set())))" + "Vector((shape_1,SpecPrimitive(shape_1,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecObject(shape_3,List(SpecField(first,field_0,shape_1,Set()), SpecField(last,field_1,shape_2,Set())),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecArray(shape_6,shape_5,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_5),Some(shape_5)))),Set())), (shape_7,SpecPrimitive(shape_7,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(rank,field_4,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(name,field_2,shape_3,Set()), SpecField(rivals,field_3,shape_6,Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonObjectKey(nemesis)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6)))))), SpecField(stats,field_5,shape_8,Set())),Set())))" ] } ] diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field of strings provided with an object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field of strings provided with an object.managed.json index 7f3438f740..2d590c343f 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field of strings provided with an object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/a required array field of strings provided with an object.managed.json @@ -15,7 +15,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -35,18 +35,18 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_10", + "rootShapeId" : "shape_9", "path" : [ { "ObjectFieldTrail" : { - "fieldId" : "parameter_4", - "fieldShapeId" : "shape_7" + "fieldId" : "field_3", + "fieldShapeId" : "shape_6" } }, { "ListItemTrail" : { - "listShapeId" : "shape_7", - "itemShapeId" : "shape_6" + "listShapeId" : "shape_6", + "itemShapeId" : "shape_5" } } ] @@ -62,49 +62,49 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_5002", "baseShapeId" : "$object", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_2", + "shapeId" : "shape_5001", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_3", + "fieldId" : "field_5000", + "shapeId" : "shape_5002", "name" : "food", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_2" + "fieldId" : "field_5000", + "shapeId" : "shape_5001" } } } }, { "AddShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "baseShapeId" : "$oneOf", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_1", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5000", + "shapeId" : "shape_5000", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_2", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5001", + "shapeId" : "shape_5000", "name" : "" } }, @@ -112,13 +112,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_3" + "shapeId" : "shape_5002" } }, - "consumingParameterId" : "parameter_2" + "consumingParameterId" : "shape-parameter_5001" } } } @@ -127,13 +127,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5" } }, - "consumingParameterId" : "parameter_1" + "consumingParameterId" : "shape-parameter_5000" } } } @@ -142,10 +142,10 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_1" + "shapeId" : "shape_5000" } }, "consumingParameterId" : "$listItem" @@ -160,41 +160,251 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_5004", + "baseShapeId" : "$object", + "name" : "" + } + }, + { + "AddShape" : { + "shapeId" : "shape_5003", + "baseShapeId" : "$string", + "name" : "" + } + }, + { + "AddField" : { + "fieldId" : "field_5001", + "shapeId" : "shape_5004", + "name" : "food", + "shapeDescriptor" : { + "FieldShapeFromShape" : { + "fieldId" : "field_5001", + "shapeId" : "shape_5003" + } + } + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_6", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5004" + } + }, + "consumingParameterId" : "$listItem" + } + } + } + } + ] + } + ], + "preview" : [ + "Vector((List(),ExampleObject(List(),Some(shape_9),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_3),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_1),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_2),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleArray(List(JsonObjectKey(rivals)),Some(shape_6),Some(shape_5),Vector(List(JsonObjectKey(rivals), JsonArrayItem(0)), List(JsonObjectKey(rivals), JsonArrayItem(1))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(0)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),$string,None,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(1)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),$string,None,\"cookies\",Set())), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_8),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_7),1,Set())))", + "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,field_2,shape_3,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,field_0,shape_1,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,field_1,shape_2,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,field_3,shape_6,[\n {\n \"food\" : \"rice\"\n },\n {\n \"food\" : \"cookies\"\n }\n],Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),food,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),food,\"cookies\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,field_5,shape_8,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,field_4,shape_7,1,Set())))", + "Vector((List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(0)),0,{\n \"food\" : \"rice\"\n},Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(0)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(1)),1,{\n \"food\" : \"cookies\"\n},Set())))", + "Vector((shape_1,SpecPrimitive(shape_1,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecObject(shape_3,List(SpecField(first,field_0,shape_1,Set()), SpecField(last,field_1,shape_2,Set())),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(0)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_6,SpecArray(shape_6,shape_5,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_5),Some(shape_5)))),Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(0)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_7,SpecPrimitive(shape_7,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(rank,field_4,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(name,field_2,shape_3,Set()), SpecField(rivals,field_3,shape_6,Set()), SpecField(stats,field_5,shape_8,Set())),Set())))" + ] + }, + { + "diff" : { + "UnmatchedResponseBodyShape" : { + "interactionTrail" : { + "path" : [ + { + "ResponseBody" : { + "contentType" : "application/json", + "statusCode" : 200 + } + } + ] + }, + "requestsTrail" : { + "SpecResponseBody" : { + "responseId" : "response_0" + } + }, + "shapeDiffResult" : { + "UnmatchedShape" : { + "jsonTrail" : { + "path" : [ + { + "JsonObjectKey" : { + "key" : "rivals" + } + }, + { + "JsonArrayItem" : { + "index" : 1 + } + } + ] + }, + "shapeTrail" : { + "rootShapeId" : "shape_9", + "path" : [ + { + "ObjectFieldTrail" : { + "fieldId" : "field_3", + "fieldShapeId" : "shape_6" + } + }, + { + "ListItemTrail" : { + "listShapeId" : "shape_6", + "itemShapeId" : "shape_5" + } + } + ] + } + } + } + } + }, + "title" : "shape at index 1 in the 200 Response body was not a string", + "suggestions" : [ + { + "title" : "Allow shape at index 1 to be either a string or Object", + "commandsJson" : [ + { + "AddShape" : { + "shapeId" : "shape_5007", "baseShapeId" : "$object", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_4", + "shapeId" : "shape_5006", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_5", + "fieldId" : "field_5002", + "shapeId" : "shape_5007", "name" : "food", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_4" + "fieldId" : "field_5002", + "shapeId" : "shape_5006" } } } }, + { + "AddShape" : { + "shapeId" : "shape_5005", + "baseShapeId" : "$oneOf", + "name" : "" + } + }, + { + "AddShapeParameter" : { + "shapeParameterId" : "shape-parameter_5002", + "shapeId" : "shape_5005", + "name" : "" + } + }, + { + "AddShapeParameter" : { + "shapeParameterId" : "shape-parameter_5003", + "shapeId" : "shape_5005", + "name" : "" + } + }, { "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_7", + "shapeId" : "shape_5005", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5007" + } + }, + "consumingParameterId" : "shape-parameter_5003" + } + } + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_5005", "providerDescriptor" : { "ShapeProvider" : { "shapeId" : "shape_5" } }, + "consumingParameterId" : "shape-parameter_5002" + } + } + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_6", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5005" + } + }, + "consumingParameterId" : "$listItem" + } + } + } + } + ] + }, + { + "title" : "Change shape to Object", + "commandsJson" : [ + { + "AddShape" : { + "shapeId" : "shape_5009", + "baseShapeId" : "$object", + "name" : "" + } + }, + { + "AddShape" : { + "shapeId" : "shape_5008", + "baseShapeId" : "$string", + "name" : "" + } + }, + { + "AddField" : { + "fieldId" : "field_5003", + "shapeId" : "shape_5009", + "name" : "food", + "shapeDescriptor" : { + "FieldShapeFromShape" : { + "fieldId" : "field_5003", + "shapeId" : "shape_5008" + } + } + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_6", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5009" + } + }, "consumingParameterId" : "$listItem" } } @@ -204,10 +414,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_10),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_4),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_2),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_3),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleArray(List(JsonObjectKey(rivals)),Some(shape_7),Some(shape_6),Vector(List(JsonObjectKey(rivals), JsonArrayItem(0)), List(JsonObjectKey(rivals), JsonArrayItem(1))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(0)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),$string,None,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(1)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),$string,None,\"cookies\",Set())), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_9),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_8),1,Set())))", - "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,parameter_3,shape_4,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,parameter_1,shape_2,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,parameter_2,shape_3,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,parameter_4,shape_7,[\n {\n \"food\" : \"rice\"\n },\n {\n \"food\" : \"cookies\"\n }\n],Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),food,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),food,\"cookies\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,parameter_6,shape_9,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,parameter_5,shape_8,1,Set())))", - "Vector((List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(0)),0,{\n \"food\" : \"rice\"\n},Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(0)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7), ListItemTrail(shape_7,shape_6))))))), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(1)),1,{\n \"food\" : \"cookies\"\n},Set())))", - "Vector((shape_10,SpecObject(shape_10,List(SpecField(name,parameter_3,shape_4,Set()), SpecField(rivals,parameter_4,shape_7,Set()), SpecField(stats,parameter_6,shape_9,Set())),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecObject(shape_4,List(SpecField(first,parameter_1,shape_2,Set()), SpecField(last,parameter_2,shape_3,Set())),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(0)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7), ListItemTrail(shape_7,shape_6))))))), (shape_7,SpecArray(shape_7,shape_6,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_6),Some(shape_6)))),Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(0)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7), ListItemTrail(shape_7,shape_6))))))), (shape_8,SpecPrimitive(shape_8,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_9,SpecObject(shape_9,List(SpecField(rank,parameter_5,shape_8,Set())),Set())))" + "Vector((List(),ExampleObject(List(),Some(shape_9),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_3),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_1),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_2),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleArray(List(JsonObjectKey(rivals)),Some(shape_6),Some(shape_5),Vector(List(JsonObjectKey(rivals), JsonArrayItem(0)), List(JsonObjectKey(rivals), JsonArrayItem(1))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(0)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),$string,None,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(1)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),$string,None,\"cookies\",Set())), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_8),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_7),1,Set())))", + "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,field_2,shape_3,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,field_0,shape_1,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,field_1,shape_2,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,field_3,shape_6,[\n {\n \"food\" : \"rice\"\n },\n {\n \"food\" : \"cookies\"\n }\n],Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),food,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),food,\"cookies\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,field_5,shape_8,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,field_4,shape_7,1,Set())))", + "Vector((List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(0)),0,{\n \"food\" : \"rice\"\n},Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(1)),1,{\n \"food\" : \"cookies\"\n},Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(1)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))))", + "Vector((shape_1,SpecPrimitive(shape_1,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecObject(shape_3,List(SpecField(first,field_0,shape_1,Set()), SpecField(last,field_1,shape_2,Set())),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(1)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_6,SpecArray(shape_6,shape_5,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_5),Some(shape_5)))),Set(UnmatchedShape(List(JsonObjectKey(rivals), JsonArrayItem(1)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_7,SpecPrimitive(shape_7,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(rank,field_4,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(name,field_2,shape_3,Set()), SpecField(rivals,field_3,shape_6,Set()), SpecField(stats,field_5,shape_8,Set())),Set())))" ] }, { @@ -225,7 +435,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -250,18 +460,88 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_10", + "rootShapeId" : "shape_9", + "path" : [ + { + "ObjectFieldTrail" : { + "fieldId" : "field_3", + "fieldShapeId" : "shape_6" + } + }, + { + "ListItemTrail" : { + "listShapeId" : "shape_6", + "itemShapeId" : "shape_5" + } + } + ] + } + } + } + } + }, + "title" : "'food' observed in the 200 Response body", + "suggestions" : [ + ], + "preview" : [ + "Vector((List(),ExampleObject(List(),Some(shape_9),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_3),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_1),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_2),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleArray(List(JsonObjectKey(rivals)),Some(shape_6),Some(shape_5),Vector(List(JsonObjectKey(rivals), JsonArrayItem(0)), List(JsonObjectKey(rivals), JsonArrayItem(1))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(0)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),$string,None,\"rice\",Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(1)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),$string,None,\"cookies\",Set())), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_8),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_7),1,Set())))", + "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,field_2,shape_3,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,field_0,shape_1,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,field_1,shape_2,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,field_3,shape_6,[\n {\n \"food\" : \"rice\"\n },\n {\n \"food\" : \"cookies\"\n }\n],Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),food,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),food,\"cookies\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,field_5,shape_8,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,field_4,shape_7,1,Set())))", + "Vector((List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(0)),0,{\n \"food\" : \"rice\"\n},Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(1)),1,{\n \"food\" : \"cookies\"\n},Set())))", + "Vector((shape_1,SpecPrimitive(shape_1,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecObject(shape_3,List(SpecField(first,field_0,shape_1,Set()), SpecField(last,field_1,shape_2,Set())),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_6,SpecArray(shape_6,shape_5,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_5),Some(shape_5)))),Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_7,SpecPrimitive(shape_7,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(rank,field_4,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(name,field_2,shape_3,Set()), SpecField(rivals,field_3,shape_6,Set()), SpecField(stats,field_5,shape_8,Set())),Set())))" + ] + }, + { + "diff" : { + "UnmatchedResponseBodyShape" : { + "interactionTrail" : { + "path" : [ + { + "ResponseBody" : { + "contentType" : "application/json", + "statusCode" : 200 + } + } + ] + }, + "requestsTrail" : { + "SpecResponseBody" : { + "responseId" : "response_0" + } + }, + "shapeDiffResult" : { + "UnspecifiedShape" : { + "jsonTrail" : { + "path" : [ + { + "JsonObjectKey" : { + "key" : "rivals" + } + }, + { + "JsonArrayItem" : { + "index" : 1 + } + }, + { + "JsonObjectKey" : { + "key" : "food" + } + } + ] + }, + "shapeTrail" : { + "rootShapeId" : "shape_9", "path" : [ { "ObjectFieldTrail" : { - "fieldId" : "parameter_4", - "fieldShapeId" : "shape_7" + "fieldId" : "field_3", + "fieldShapeId" : "shape_6" } }, { "ListItemTrail" : { - "listShapeId" : "shape_7", - "itemShapeId" : "shape_6" + "listShapeId" : "shape_6", + "itemShapeId" : "shape_5" } } ] @@ -274,10 +554,10 @@ "suggestions" : [ ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_10),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_4),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_2),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_3),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleArray(List(JsonObjectKey(rivals)),Some(shape_7),Some(shape_6),Vector(List(JsonObjectKey(rivals), JsonArrayItem(0)), List(JsonObjectKey(rivals), JsonArrayItem(1))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(0)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),$string,None,\"rice\",Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7), ListItemTrail(shape_7,shape_6))))))), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(1)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),$string,None,\"cookies\",Set())), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_9),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_8),1,Set())))", - "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,parameter_3,shape_4,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,parameter_1,shape_2,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,parameter_2,shape_3,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,parameter_4,shape_7,[\n {\n \"food\" : \"rice\"\n },\n {\n \"food\" : \"cookies\"\n }\n],Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),food,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),food,\"cookies\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,parameter_6,shape_9,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,parameter_5,shape_8,1,Set())))", + "Vector((List(),ExampleObject(List(),Some(shape_9),List(List(JsonObjectKey(name)), List(JsonObjectKey(rivals)), List(JsonObjectKey(stats))),List(),List(),Set())), (List(JsonObjectKey(name)),ExampleObject(List(JsonObjectKey(name)),Some(shape_3),List(List(JsonObjectKey(name), JsonObjectKey(first)), List(JsonObjectKey(name), JsonObjectKey(last))),List(),List(),Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(first)),$string,Some(shape_1),\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),ExamplePrimitive(List(JsonObjectKey(name), JsonObjectKey(last)),$string,Some(shape_2),\"C\",Set())), (List(JsonObjectKey(rivals)),ExampleArray(List(JsonObjectKey(rivals)),Some(shape_6),Some(shape_5),Vector(List(JsonObjectKey(rivals), JsonArrayItem(0)), List(JsonObjectKey(rivals), JsonArrayItem(1))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(0)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),$string,None,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleObject(List(JsonObjectKey(rivals), JsonArrayItem(1)),None,List(),List(),List(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food))),Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ExamplePrimitive(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),$string,None,\"cookies\",Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (List(JsonObjectKey(stats)),ExampleObject(List(JsonObjectKey(stats)),Some(shape_8),List(List(JsonObjectKey(stats), JsonObjectKey(rank))),List(),List(),Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),ExamplePrimitive(List(JsonObjectKey(stats), JsonObjectKey(rank)),$number,Some(shape_7),1,Set())))", + "Vector((List(JsonObjectKey(name)),KnownExampleField(List(JsonObjectKey(name)),name,field_2,shape_3,{\n \"first\" : \"Bob\",\n \"last\" : \"C\"\n},Set())), (List(JsonObjectKey(name), JsonObjectKey(first)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(first)),first,field_0,shape_1,\"Bob\",Set())), (List(JsonObjectKey(name), JsonObjectKey(last)),KnownExampleField(List(JsonObjectKey(name), JsonObjectKey(last)),last,field_1,shape_2,\"C\",Set())), (List(JsonObjectKey(rivals)),KnownExampleField(List(JsonObjectKey(rivals)),rivals,field_3,shape_6,[\n {\n \"food\" : \"rice\"\n },\n {\n \"food\" : \"cookies\"\n }\n],Set())), (List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),food,\"rice\",Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),UnexpectedExampleField(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),food,\"cookies\",Set())), (List(JsonObjectKey(stats)),KnownExampleField(List(JsonObjectKey(stats)),stats,field_5,shape_8,{\n \"rank\" : 1\n},Set())), (List(JsonObjectKey(stats), JsonObjectKey(rank)),KnownExampleField(List(JsonObjectKey(stats), JsonObjectKey(rank)),rank,field_4,shape_7,1,Set())))", "Vector((List(JsonObjectKey(rivals), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(0)),0,{\n \"food\" : \"rice\"\n},Set())), (List(JsonObjectKey(rivals), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(rivals), JsonArrayItem(1)),1,{\n \"food\" : \"cookies\"\n},Set())))", - "Vector((shape_10,SpecObject(shape_10,List(SpecField(name,parameter_3,shape_4,Set()), SpecField(rivals,parameter_4,shape_7,Set()), SpecField(stats,parameter_6,shape_9,Set())),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecObject(shape_4,List(SpecField(first,parameter_1,shape_2,Set()), SpecField(last,parameter_2,shape_3,Set())),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7), ListItemTrail(shape_7,shape_6))))))), (shape_7,SpecArray(shape_7,shape_6,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_6),Some(shape_6)))),Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(0), JsonObjectKey(food)),ShapeTrail(shape_10,List(ObjectFieldTrail(parameter_4,shape_7), ListItemTrail(shape_7,shape_6))))))), (shape_8,SpecPrimitive(shape_8,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_9,SpecObject(shape_9,List(SpecField(rank,parameter_5,shape_8,Set())),Set())))" + "Vector((shape_1,SpecPrimitive(shape_1,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_2,SpecPrimitive(shape_2,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_3,SpecObject(shape_3,List(SpecField(first,field_0,shape_1,Set()), SpecField(last,field_1,shape_2,Set())),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_6,SpecArray(shape_6,shape_5,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_5),Some(shape_5)))),Set(UnspecifiedShape(List(JsonObjectKey(rivals), JsonArrayItem(1), JsonObjectKey(food)),ShapeTrail(shape_9,List(ObjectFieldTrail(field_3,shape_6), ListItemTrail(shape_6,shape_5))))))), (shape_7,SpecPrimitive(shape_7,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(rank,field_4,shape_7,Set())),Set())), (shape_9,SpecObject(shape_9,List(SpecField(name,field_2,shape_3,Set()), SpecField(rivals,field_3,shape_6,Set()), SpecField(stats,field_5,shape_8,Set())),Set())))" ] } ] diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/an extra field is provided as an object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/an extra field is provided as an object.managed.json index 1b6e2e66db..e4ddb6798e 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/an extra field is provided as an object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/an extra field is provided as an object.managed.json @@ -15,7 +15,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -30,7 +30,7 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_8", + "rootShapeId" : "shape_7", "path" : [ ] } @@ -45,60 +45,60 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_5002", "baseShapeId" : "$object", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_3", + "fieldId" : "field_5000", + "shapeId" : "shape_5002", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_1" + "fieldId" : "field_5000", + "shapeId" : "shape_5000" } } } }, { "AddShape" : { - "shapeId" : "shape_2", + "shapeId" : "shape_5001", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3", + "fieldId" : "field_5001", + "shapeId" : "shape_5002", "name" : "second", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_2" + "fieldId" : "field_5001", + "shapeId" : "shape_5001" } } } }, { "AddField" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_8", + "fieldId" : "field_5002", + "shapeId" : "shape_7", "name" : "favoriteColor", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_3" + "fieldId" : "field_5002", + "shapeId" : "shape_5002" } } } @@ -107,10 +107,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_8),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(List(JsonObjectKey(favoriteColor))),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_2),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_5),Some(shape_4),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_4),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$string,Some(shape_4),\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_4),\"Durham\",Set())), (List(JsonObjectKey(favoriteColor)),ExampleObject(List(JsonObjectKey(favoriteColor)),None,List(),List(),List(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)), List(JsonObjectKey(favoriteColor), JsonObjectKey(second))),Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),$string,None,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),$string,None,\"red\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_6),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_7),\"C\",Set())))", - "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,parameter_1,shape_2,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,parameter_2,shape_5,[\n \"San Fransisco\",\n \"New York\",\n \"Durham\"\n],Set())), (List(JsonObjectKey(favoriteColor)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor)),favoriteColor,{\n \"first\" : \"orange\",\n \"second\" : \"red\"\n},Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor)),ShapeTrail(shape_8,List()))))), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),first,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),second,\"red\",Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,parameter_3,shape_6,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,parameter_4,shape_7,\"C\",Set())))", + "Vector((List(),ExampleObject(List(),Some(shape_7),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(List(JsonObjectKey(favoriteColor))),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_1),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_4),Some(shape_3),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_3),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$string,Some(shape_3),\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_3),\"Durham\",Set())), (List(JsonObjectKey(favoriteColor)),ExampleObject(List(JsonObjectKey(favoriteColor)),None,List(),List(),List(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)), List(JsonObjectKey(favoriteColor), JsonObjectKey(second))),Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),$string,None,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),$string,None,\"red\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_5),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_6),\"C\",Set())))", + "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,field_0,shape_1,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,field_1,shape_4,[\n \"San Fransisco\",\n \"New York\",\n \"Durham\"\n],Set())), (List(JsonObjectKey(favoriteColor)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor)),favoriteColor,{\n \"first\" : \"orange\",\n \"second\" : \"red\"\n},Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor)),ShapeTrail(shape_7,List()))))), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),first,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),second,\"red\",Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,field_2,shape_5,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,field_3,shape_6,\"C\",Set())))", "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Durham\",Set())))", - "Vector((shape_2,SpecPrimitive(shape_2,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_4,SpecPrimitive(shape_4,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_5,SpecArray(shape_5,shape_4,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_4),Some(shape_4)))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecPrimitive(shape_7,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(age,parameter_1,shape_2,Set()), SpecField(cities,parameter_2,shape_5,Set()), SpecField(firstName,parameter_3,shape_6,Set()), SpecField(lastName,parameter_4,shape_7,Set())),Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor)),ShapeTrail(shape_8,List()))))))" + "Vector((shape_1,SpecPrimitive(shape_1,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecArray(shape_4,shape_3,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_3),Some(shape_3)))),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecObject(shape_7,List(SpecField(age,field_0,shape_1,Set()), SpecField(cities,field_1,shape_4,Set()), SpecField(firstName,field_2,shape_5,Set()), SpecField(lastName,field_3,shape_6,Set())),Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor)),ShapeTrail(shape_7,List()))))))" ] }, { @@ -128,7 +128,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -148,7 +148,7 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_8", + "rootShapeId" : "shape_7", "path" : [ ] } @@ -163,20 +163,20 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_4", + "shapeId" : "shape_5003", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_5003", + "shapeId" : "shape_7", "name" : "first", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_4" + "fieldId" : "field_5003", + "shapeId" : "shape_5003" } } } @@ -185,10 +185,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_8),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(List(JsonObjectKey(favoriteColor))),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_2),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_5),Some(shape_4),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_4),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$string,Some(shape_4),\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_4),\"Durham\",Set())), (List(JsonObjectKey(favoriteColor)),ExampleObject(List(JsonObjectKey(favoriteColor)),None,List(),List(),List(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)), List(JsonObjectKey(favoriteColor), JsonObjectKey(second))),Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),$string,None,\"orange\",Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ShapeTrail(shape_8,List()))))), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),$string,None,\"red\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_6),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_7),\"C\",Set())))", - "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,parameter_1,shape_2,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,parameter_2,shape_5,[\n \"San Fransisco\",\n \"New York\",\n \"Durham\"\n],Set())), (List(JsonObjectKey(favoriteColor)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor)),favoriteColor,{\n \"first\" : \"orange\",\n \"second\" : \"red\"\n},Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),first,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),second,\"red\",Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,parameter_3,shape_6,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,parameter_4,shape_7,\"C\",Set())))", + "Vector((List(),ExampleObject(List(),Some(shape_7),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(List(JsonObjectKey(favoriteColor))),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_1),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_4),Some(shape_3),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_3),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$string,Some(shape_3),\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_3),\"Durham\",Set())), (List(JsonObjectKey(favoriteColor)),ExampleObject(List(JsonObjectKey(favoriteColor)),None,List(),List(),List(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)), List(JsonObjectKey(favoriteColor), JsonObjectKey(second))),Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),$string,None,\"orange\",Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ShapeTrail(shape_7,List()))))), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),$string,None,\"red\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_5),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_6),\"C\",Set())))", + "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,field_0,shape_1,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,field_1,shape_4,[\n \"San Fransisco\",\n \"New York\",\n \"Durham\"\n],Set())), (List(JsonObjectKey(favoriteColor)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor)),favoriteColor,{\n \"first\" : \"orange\",\n \"second\" : \"red\"\n},Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),first,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),second,\"red\",Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,field_2,shape_5,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,field_3,shape_6,\"C\",Set())))", "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Durham\",Set())))", - "Vector((shape_2,SpecPrimitive(shape_2,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_4,SpecPrimitive(shape_4,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_5,SpecArray(shape_5,shape_4,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_4),Some(shape_4)))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecPrimitive(shape_7,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(age,parameter_1,shape_2,Set()), SpecField(cities,parameter_2,shape_5,Set()), SpecField(firstName,parameter_3,shape_6,Set()), SpecField(lastName,parameter_4,shape_7,Set())),Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ShapeTrail(shape_8,List()))))))" + "Vector((shape_1,SpecPrimitive(shape_1,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecArray(shape_4,shape_3,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_3),Some(shape_3)))),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecObject(shape_7,List(SpecField(age,field_0,shape_1,Set()), SpecField(cities,field_1,shape_4,Set()), SpecField(firstName,field_2,shape_5,Set()), SpecField(lastName,field_3,shape_6,Set())),Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ShapeTrail(shape_7,List()))))))" ] }, { @@ -206,7 +206,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -226,7 +226,7 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_8", + "rootShapeId" : "shape_7", "path" : [ ] } @@ -241,20 +241,20 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_5004", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_5004", + "shapeId" : "shape_7", "name" : "second", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_5" + "fieldId" : "field_5004", + "shapeId" : "shape_5004" } } } @@ -263,10 +263,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_8),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(List(JsonObjectKey(favoriteColor))),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_2),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_5),Some(shape_4),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_4),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$string,Some(shape_4),\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_4),\"Durham\",Set())), (List(JsonObjectKey(favoriteColor)),ExampleObject(List(JsonObjectKey(favoriteColor)),None,List(),List(),List(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)), List(JsonObjectKey(favoriteColor), JsonObjectKey(second))),Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),$string,None,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),$string,None,\"red\",Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ShapeTrail(shape_8,List()))))), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_6),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_7),\"C\",Set())))", - "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,parameter_1,shape_2,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,parameter_2,shape_5,[\n \"San Fransisco\",\n \"New York\",\n \"Durham\"\n],Set())), (List(JsonObjectKey(favoriteColor)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor)),favoriteColor,{\n \"first\" : \"orange\",\n \"second\" : \"red\"\n},Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),first,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),second,\"red\",Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,parameter_3,shape_6,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,parameter_4,shape_7,\"C\",Set())))", + "Vector((List(),ExampleObject(List(),Some(shape_7),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(List(JsonObjectKey(favoriteColor))),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_1),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_4),Some(shape_3),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_3),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$string,Some(shape_3),\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_3),\"Durham\",Set())), (List(JsonObjectKey(favoriteColor)),ExampleObject(List(JsonObjectKey(favoriteColor)),None,List(),List(),List(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)), List(JsonObjectKey(favoriteColor), JsonObjectKey(second))),Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),$string,None,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ExamplePrimitive(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),$string,None,\"red\",Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ShapeTrail(shape_7,List()))))), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_5),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_6),\"C\",Set())))", + "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,field_0,shape_1,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,field_1,shape_4,[\n \"San Fransisco\",\n \"New York\",\n \"Durham\"\n],Set())), (List(JsonObjectKey(favoriteColor)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor)),favoriteColor,{\n \"first\" : \"orange\",\n \"second\" : \"red\"\n},Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(first)),first,\"orange\",Set())), (List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),UnexpectedExampleField(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),second,\"red\",Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,field_2,shape_5,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,field_3,shape_6,\"C\",Set())))", "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,\"New York\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Durham\",Set())))", - "Vector((shape_2,SpecPrimitive(shape_2,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_4,SpecPrimitive(shape_4,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_5,SpecArray(shape_5,shape_4,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_4),Some(shape_4)))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecPrimitive(shape_7,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(age,parameter_1,shape_2,Set()), SpecField(cities,parameter_2,shape_5,Set()), SpecField(firstName,parameter_3,shape_6,Set()), SpecField(lastName,parameter_4,shape_7,Set())),Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ShapeTrail(shape_8,List()))))))" + "Vector((shape_1,SpecPrimitive(shape_1,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_4,SpecArray(shape_4,shape_3,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_3),Some(shape_3)))),Set())), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecObject(shape_7,List(SpecField(age,field_0,shape_1,Set()), SpecField(cities,field_1,shape_4,Set()), SpecField(firstName,field_2,shape_5,Set()), SpecField(lastName,field_3,shape_6,Set())),Set(UnspecifiedShape(List(JsonObjectKey(favoriteColor), JsonObjectKey(second)),ShapeTrail(shape_7,List()))))))" ] } ] diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and 1 item does not match expected type.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and 1 item does not match expected type.managed.json index 01454e6f0f..48175a84b7 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and 1 item does not match expected type.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and 1 item does not match expected type.managed.json @@ -15,7 +15,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -29,24 +29,24 @@ }, { "JsonArrayItem" : { - "index" : 0 + "index" : 1 } } ] }, "shapeTrail" : { - "rootShapeId" : "shape_8", + "rootShapeId" : "shape_7", "path" : [ { "ObjectFieldTrail" : { - "fieldId" : "parameter_2", - "fieldShapeId" : "shape_5" + "fieldId" : "field_1", + "fieldShapeId" : "shape_4" } }, { "ListItemTrail" : { - "listShapeId" : "shape_5", - "itemShapeId" : "shape_4" + "listShapeId" : "shape_4", + "itemShapeId" : "shape_3" } } ] @@ -55,36 +55,36 @@ } } }, - "title" : "shape at index 0 in the 200 Response body was not a string", + "title" : "shape at index 1 in the 200 Response body was not a string", "suggestions" : [ { - "title" : "Allow shape at index 0 to be either a string or String", + "title" : "Allow shape at index 1 to be either a string or Number", "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_2", - "baseShapeId" : "$string", + "shapeId" : "shape_5001", + "baseShapeId" : "$number", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "baseShapeId" : "$oneOf", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_1", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5000", + "shapeId" : "shape_5000", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_2", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5001", + "shapeId" : "shape_5000", "name" : "" } }, @@ -92,13 +92,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_2" + "shapeId" : "shape_5001" } }, - "consumingParameterId" : "parameter_2" + "consumingParameterId" : "shape-parameter_5001" } } } @@ -107,13 +107,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, - "consumingParameterId" : "parameter_1" + "consumingParameterId" : "shape-parameter_5000" } } } @@ -122,10 +122,10 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_1" + "shapeId" : "shape_5000" } }, "consumingParameterId" : "$listItem" @@ -136,12 +136,12 @@ ] }, { - "title" : "Change shape to String", + "title" : "Change shape to Number", "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_3", - "baseShapeId" : "$string", + "shapeId" : "shape_5002", + "baseShapeId" : "$number", "name" : "" } }, @@ -149,10 +149,10 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_3" + "shapeId" : "shape_5002" } }, "consumingParameterId" : "$listItem" @@ -164,10 +164,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_8),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_2),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_5),Some(shape_4),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_4),\"San Fransisco\",Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$number,None,17584,Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_4),\"Boston\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_6),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_7),\"C\",Set())))", - "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,parameter_1,shape_2,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,parameter_2,shape_5,[\n \"San Fransisco\",\n 17584,\n \"Boston\"\n],Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,parameter_3,shape_6,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,parameter_4,shape_7,\"C\",Set())))", - "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,17584,Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Boston\",Set())))", - "Vector((shape_2,SpecPrimitive(shape_2,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_4,SpecPrimitive(shape_4,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (shape_5,SpecArray(shape_5,shape_4,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_4),Some(shape_4)))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecPrimitive(shape_7,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(age,parameter_1,shape_2,Set()), SpecField(cities,parameter_2,shape_5,Set()), SpecField(firstName,parameter_3,shape_6,Set()), SpecField(lastName,parameter_4,shape_7,Set())),Set())))" + "Vector((List(),ExampleObject(List(),Some(shape_7),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_1),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_4),Some(shape_3),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_3),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$number,None,17584,Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_3),\"Boston\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_5),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_6),\"C\",Set())))", + "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,field_0,shape_1,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,field_1,shape_4,[\n \"San Fransisco\",\n 17584,\n \"Boston\"\n],Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,field_2,shape_5,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,field_3,shape_6,\"C\",Set())))", + "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,17584,Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Boston\",Set())))", + "Vector((shape_1,SpecPrimitive(shape_1,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (shape_4,SpecArray(shape_4,shape_3,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_3),Some(shape_3)))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecObject(shape_7,List(SpecField(age,field_0,shape_1,Set()), SpecField(cities,field_1,shape_4,Set()), SpecField(firstName,field_2,shape_5,Set()), SpecField(lastName,field_3,shape_6,Set())),Set())))" ] } ] diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and > 1 items does not match expected type.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and > 1 items does not match expected type.managed.json index ce76c6fdde..d3198860f0 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and > 1 items does not match expected type.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/field is array of strings, and > 1 items does not match expected type.managed.json @@ -15,7 +15,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -29,24 +29,24 @@ }, { "JsonArrayItem" : { - "index" : 0 + "index" : 1 } } ] }, "shapeTrail" : { - "rootShapeId" : "shape_8", + "rootShapeId" : "shape_7", "path" : [ { "ObjectFieldTrail" : { - "fieldId" : "parameter_2", - "fieldShapeId" : "shape_5" + "fieldId" : "field_1", + "fieldShapeId" : "shape_4" } }, { "ListItemTrail" : { - "listShapeId" : "shape_5", - "itemShapeId" : "shape_4" + "listShapeId" : "shape_4", + "itemShapeId" : "shape_3" } } ] @@ -55,36 +55,36 @@ } } }, - "title" : "shape at index 0 in the 200 Response body was not a string", + "title" : "shape at index 1 in the 200 Response body was not a string", "suggestions" : [ { - "title" : "Allow shape at index 0 to be either a string or String", + "title" : "Allow shape at index 1 to be either a string or Number", "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_2", - "baseShapeId" : "$string", + "shapeId" : "shape_5001", + "baseShapeId" : "$number", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "baseShapeId" : "$oneOf", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_1", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5000", + "shapeId" : "shape_5000", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_2", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5001", + "shapeId" : "shape_5000", "name" : "" } }, @@ -92,13 +92,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_2" + "shapeId" : "shape_5001" } }, - "consumingParameterId" : "parameter_2" + "consumingParameterId" : "shape-parameter_5001" } } } @@ -107,13 +107,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_4" + "shapeId" : "shape_3" } }, - "consumingParameterId" : "parameter_1" + "consumingParameterId" : "shape-parameter_5000" } } } @@ -122,10 +122,10 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_1" + "shapeId" : "shape_5000" } }, "consumingParameterId" : "$listItem" @@ -136,12 +136,12 @@ ] }, { - "title" : "Change shape to String", + "title" : "Change shape to Number", "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_3", - "baseShapeId" : "$string", + "shapeId" : "shape_5002", + "baseShapeId" : "$number", "name" : "" } }, @@ -149,12 +149,182 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5002" + } + }, + "consumingParameterId" : "$listItem" + } + } + } + } + ] + } + ], + "preview" : [ + "Vector((List(),ExampleObject(List(),Some(shape_7),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_1),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_4),Some(shape_3),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2)), List(JsonObjectKey(cities), JsonArrayItem(3)), List(JsonObjectKey(cities), JsonArrayItem(4))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_3),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$number,None,17584,Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_3),\"Boston\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(3)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(3)),$number,None,16573,Set())), (List(JsonObjectKey(cities), JsonArrayItem(4)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(4)),$string,Some(shape_3),\"Chicago\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_5),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_6),\"C\",Set())))", + "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,field_0,shape_1,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,field_1,shape_4,[\n \"San Fransisco\",\n 17584,\n \"Boston\",\n 16573,\n \"Chicago\"\n],Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,field_2,shape_5,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,field_3,shape_6,\"C\",Set())))", + "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,17584,Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Boston\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(3)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(3)),3,16573,Set())), (List(JsonObjectKey(cities), JsonArrayItem(4)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(4)),4,\"Chicago\",Set())))", + "Vector((shape_1,SpecPrimitive(shape_1,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (shape_4,SpecArray(shape_4,shape_3,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_3),Some(shape_3)))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(1)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecObject(shape_7,List(SpecField(age,field_0,shape_1,Set()), SpecField(cities,field_1,shape_4,Set()), SpecField(firstName,field_2,shape_5,Set()), SpecField(lastName,field_3,shape_6,Set())),Set())))" + ] + }, + { + "diff" : { + "UnmatchedResponseBodyShape" : { + "interactionTrail" : { + "path" : [ + { + "ResponseBody" : { + "contentType" : "application/json", + "statusCode" : 200 + } + } + ] + }, + "requestsTrail" : { + "SpecResponseBody" : { + "responseId" : "response_0" + } + }, + "shapeDiffResult" : { + "UnmatchedShape" : { + "jsonTrail" : { + "path" : [ + { + "JsonObjectKey" : { + "key" : "cities" + } + }, + { + "JsonArrayItem" : { + "index" : 3 + } + } + ] + }, + "shapeTrail" : { + "rootShapeId" : "shape_7", + "path" : [ + { + "ObjectFieldTrail" : { + "fieldId" : "field_1", + "fieldShapeId" : "shape_4" + } + }, + { + "ListItemTrail" : { + "listShapeId" : "shape_4", + "itemShapeId" : "shape_3" + } + } + ] + } + } + } + } + }, + "title" : "shape at index 3 in the 200 Response body was not a string", + "suggestions" : [ + { + "title" : "Allow shape at index 3 to be either a string or Number", + "commandsJson" : [ + { + "AddShape" : { + "shapeId" : "shape_5004", + "baseShapeId" : "$number", + "name" : "" + } + }, + { + "AddShape" : { + "shapeId" : "shape_5003", + "baseShapeId" : "$oneOf", + "name" : "" + } + }, + { + "AddShapeParameter" : { + "shapeParameterId" : "shape-parameter_5002", + "shapeId" : "shape_5003", + "name" : "" + } + }, + { + "AddShapeParameter" : { + "shapeParameterId" : "shape-parameter_5003", + "shapeId" : "shape_5003", + "name" : "" + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_5003", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5004" + } + }, + "consumingParameterId" : "shape-parameter_5003" + } + } + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_5003", "providerDescriptor" : { "ShapeProvider" : { "shapeId" : "shape_3" } }, + "consumingParameterId" : "shape-parameter_5002" + } + } + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_4", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5003" + } + }, + "consumingParameterId" : "$listItem" + } + } + } + } + ] + }, + { + "title" : "Change shape to Number", + "commandsJson" : [ + { + "AddShape" : { + "shapeId" : "shape_5005", + "baseShapeId" : "$number", + "name" : "" + } + }, + { + "SetParameterShape" : { + "shapeDescriptor" : { + "ProviderInShape" : { + "shapeId" : "shape_4", + "providerDescriptor" : { + "ShapeProvider" : { + "shapeId" : "shape_5005" + } + }, "consumingParameterId" : "$listItem" } } @@ -164,10 +334,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),Some(shape_8),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_2),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_5),Some(shape_4),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2)), List(JsonObjectKey(cities), JsonArrayItem(3)), List(JsonObjectKey(cities), JsonArrayItem(4))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_4),\"San Fransisco\",Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$number,None,17584,Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_4),\"Boston\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(3)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(3)),$number,None,16573,Set())), (List(JsonObjectKey(cities), JsonArrayItem(4)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(4)),$string,Some(shape_4),\"Chicago\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_6),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_7),\"C\",Set())))", - "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,parameter_1,shape_2,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,parameter_2,shape_5,[\n \"San Fransisco\",\n 17584,\n \"Boston\",\n 16573,\n \"Chicago\"\n],Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,parameter_3,shape_6,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,parameter_4,shape_7,\"C\",Set())))", - "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,17584,Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Boston\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(3)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(3)),3,16573,Set())), (List(JsonObjectKey(cities), JsonArrayItem(4)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(4)),4,\"Chicago\",Set())))", - "Vector((shape_2,SpecPrimitive(shape_2,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_4,SpecPrimitive(shape_4,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (shape_5,SpecArray(shape_5,shape_4,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_4),Some(shape_4)))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(0)),ShapeTrail(shape_8,List(ObjectFieldTrail(parameter_2,shape_5), ListItemTrail(shape_5,shape_4))))))), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecPrimitive(shape_7,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_8,SpecObject(shape_8,List(SpecField(age,parameter_1,shape_2,Set()), SpecField(cities,parameter_2,shape_5,Set()), SpecField(firstName,parameter_3,shape_6,Set()), SpecField(lastName,parameter_4,shape_7,Set())),Set())))" + "Vector((List(),ExampleObject(List(),Some(shape_7),List(List(JsonObjectKey(age)), List(JsonObjectKey(cities)), List(JsonObjectKey(firstName)), List(JsonObjectKey(lastName))),List(),List(),Set())), (List(JsonObjectKey(age)),ExamplePrimitive(List(JsonObjectKey(age)),$number,Some(shape_1),26,Set())), (List(JsonObjectKey(cities)),ExampleArray(List(JsonObjectKey(cities)),Some(shape_4),Some(shape_3),Vector(List(JsonObjectKey(cities), JsonArrayItem(0)), List(JsonObjectKey(cities), JsonArrayItem(1)), List(JsonObjectKey(cities), JsonArrayItem(2)), List(JsonObjectKey(cities), JsonArrayItem(3)), List(JsonObjectKey(cities), JsonArrayItem(4))),Set())), (List(JsonObjectKey(cities), JsonArrayItem(0)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(0)),$string,Some(shape_3),\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(1)),$number,None,17584,Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(2)),$string,Some(shape_3),\"Boston\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(3)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(3)),$number,None,16573,Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(3)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (List(JsonObjectKey(cities), JsonArrayItem(4)),ExamplePrimitive(List(JsonObjectKey(cities), JsonArrayItem(4)),$string,Some(shape_3),\"Chicago\",Set())), (List(JsonObjectKey(firstName)),ExamplePrimitive(List(JsonObjectKey(firstName)),$string,Some(shape_5),\"Aidan\",Set())), (List(JsonObjectKey(lastName)),ExamplePrimitive(List(JsonObjectKey(lastName)),$string,Some(shape_6),\"C\",Set())))", + "Vector((List(JsonObjectKey(age)),KnownExampleField(List(JsonObjectKey(age)),age,field_0,shape_1,26,Set())), (List(JsonObjectKey(cities)),KnownExampleField(List(JsonObjectKey(cities)),cities,field_1,shape_4,[\n \"San Fransisco\",\n 17584,\n \"Boston\",\n 16573,\n \"Chicago\"\n],Set())), (List(JsonObjectKey(firstName)),KnownExampleField(List(JsonObjectKey(firstName)),firstName,field_2,shape_5,\"Aidan\",Set())), (List(JsonObjectKey(lastName)),KnownExampleField(List(JsonObjectKey(lastName)),lastName,field_3,shape_6,\"C\",Set())))", + "Vector((List(JsonObjectKey(cities), JsonArrayItem(0)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(0)),0,\"San Fransisco\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(1)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(1)),1,17584,Set())), (List(JsonObjectKey(cities), JsonArrayItem(2)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(2)),2,\"Boston\",Set())), (List(JsonObjectKey(cities), JsonArrayItem(3)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(3)),3,16573,Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(3)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (List(JsonObjectKey(cities), JsonArrayItem(4)),ExampleItem(List(JsonObjectKey(cities), JsonArrayItem(4)),4,\"Chicago\",Set())))", + "Vector((shape_1,SpecPrimitive(shape_1,$number,RenderName(List(NameComponent(Number,NumberColor,,None,None))),Set())), (shape_3,SpecPrimitive(shape_3,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(3)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (shape_4,SpecArray(shape_4,shape_3,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_3),Some(shape_3)))),Set(UnmatchedShape(List(JsonObjectKey(cities), JsonArrayItem(3)),ShapeTrail(shape_7,List(ObjectFieldTrail(field_1,shape_4), ListItemTrail(shape_4,shape_3))))))), (shape_5,SpecPrimitive(shape_5,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_6,SpecPrimitive(shape_6,$string,RenderName(List(NameComponent(String,StringColor,,None,None))),Set())), (shape_7,SpecObject(shape_7,List(SpecField(age,field_0,shape_1,Set()), SpecField(cities,field_1,shape_4,Set()), SpecField(firstName,field_2,shape_5,Set()), SpecField(lastName,field_3,shape_6,Set())),Set())))" ] } ] diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/root array is provided with object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/root array is provided with object.managed.json index 8f2efafdeb..905bff4e8c 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/root array is provided with object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/outputs/pending/root array is provided with object.managed.json @@ -15,7 +15,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -25,7 +25,7 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_3", + "rootShapeId" : "shape_2", "path" : [ ] } @@ -40,49 +40,49 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_5002", "baseShapeId" : "$object", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_2", + "shapeId" : "shape_5001", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_3", + "fieldId" : "field_5000", + "shapeId" : "shape_5002", "name" : "foo", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_2" + "fieldId" : "field_5000", + "shapeId" : "shape_5001" } } } }, { "AddShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "baseShapeId" : "$oneOf", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_1", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5000", + "shapeId" : "shape_5000", "name" : "" } }, { "AddShapeParameter" : { - "shapeParameterId" : "parameter_2", - "shapeId" : "shape_1", + "shapeParameterId" : "shape-parameter_5001", + "shapeId" : "shape_5000", "name" : "" } }, @@ -90,13 +90,13 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_1", + "shapeId" : "shape_5000", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_3" + "shapeId" : "shape_5002" } }, - "consumingParameterId" : "parameter_2" + "consumingParameterId" : "shape-parameter_5001" } } } @@ -108,35 +108,35 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_5", + "shapeId" : "shape_5004", "baseShapeId" : "$object", "name" : "" } }, { "AddShape" : { - "shapeId" : "shape_4", + "shapeId" : "shape_5003", "baseShapeId" : "$string", "name" : "" } }, { "AddField" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_5", + "fieldId" : "field_5001", + "shapeId" : "shape_5004", "name" : "foo", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_4" + "fieldId" : "field_5001", + "shapeId" : "shape_5003" } } } }, { "SetBaseShape" : { - "shapeId" : "shape_3", - "baseShapeId" : "shape_5" + "shapeId" : "shape_2", + "baseShapeId" : "shape_5004" } } ] @@ -146,7 +146,7 @@ "Vector((List(),ExampleObject(List(),None,List(),List(),List(List(JsonObjectKey(foo))),Set())), (List(JsonObjectKey(foo)),ExamplePrimitive(List(JsonObjectKey(foo)),$string,None,\"bar\",Set())))", "Vector((List(JsonObjectKey(foo)),UnexpectedExampleField(List(JsonObjectKey(foo)),foo,\"bar\",Set())))", "Vector()", - "Vector((shape_2,SpecPrimitive(shape_2,$unknown,RenderName(List()),Set())), (shape_3,SpecArray(shape_3,shape_2,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_2),Some(shape_2)))),Set())))" + "Vector((shape_1,SpecPrimitive(shape_1,$unknown,RenderName(List()),Set())), (shape_2,SpecArray(shape_2,shape_1,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_1),Some(shape_1)))),Set())))" ] }, { @@ -164,7 +164,7 @@ }, "requestsTrail" : { "SpecResponseBody" : { - "responseId" : "response_1" + "responseId" : "response_0" } }, "shapeDiffResult" : { @@ -179,7 +179,7 @@ ] }, "shapeTrail" : { - "rootShapeId" : "shape_3", + "rootShapeId" : "shape_2", "path" : [ ] } @@ -194,7 +194,7 @@ "commandsJson" : [ { "AddShape" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5005", "baseShapeId" : "$string", "name" : "" } @@ -203,10 +203,10 @@ "SetParameterShape" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_6" + "shapeId" : "shape_5005" } }, "consumingParameterId" : "$listItem" @@ -218,10 +218,10 @@ } ], "preview" : [ - "Vector((List(),ExampleObject(List(),None,List(),List(),List(List(JsonObjectKey(foo))),Set())), (List(JsonObjectKey(foo)),ExamplePrimitive(List(JsonObjectKey(foo)),$string,None,\"bar\",Set(UnspecifiedShape(List(JsonObjectKey(foo)),ShapeTrail(shape_3,List()))))))", + "Vector((List(),ExampleObject(List(),None,List(),List(),List(List(JsonObjectKey(foo))),Set())), (List(JsonObjectKey(foo)),ExamplePrimitive(List(JsonObjectKey(foo)),$string,None,\"bar\",Set(UnspecifiedShape(List(JsonObjectKey(foo)),ShapeTrail(shape_2,List()))))))", "Vector((List(JsonObjectKey(foo)),UnexpectedExampleField(List(JsonObjectKey(foo)),foo,\"bar\",Set())))", "Vector()", - "Vector((shape_2,SpecPrimitive(shape_2,$unknown,RenderName(List()),Set())), (shape_3,SpecArray(shape_3,shape_2,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_2),Some(shape_2)))),Set())))" + "Vector((shape_1,SpecPrimitive(shape_1,$unknown,RenderName(List()),Set())), (shape_2,SpecArray(shape_2,shape_1,RenderName(List(NameComponent(List of ,ListColor,,Some(shape_1),Some(shape_1)))),Set())))" ] } ] diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/required fields are omitted in an optional object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/required fields are omitted in an optional object.managed.json index 8227819e63..2794e26207 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/required fields are omitted in an optional object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/required fields are omitted in an optional object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "locations", "eventContext" : { @@ -15,15 +15,15 @@ }, { "PathParameterAdded" : { - "pathId" : "path_2", - "parentPathId" : "path_1", + "pathId" : "path_1", + "parentPathId" : "path_0", "name" : ":city", "eventContext" : null } }, { "ShapeAdded" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -37,9 +37,9 @@ }, { "PathParameterShapeSet" : { - "pathId" : "path_2", + "pathId" : "path_1", "shapeDescriptor" : { - "shapeId" : "shape_11", + "shapeId" : "shape_10", "isRemoved" : false }, "eventContext" : null @@ -47,8 +47,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_8", - "pathId" : "path_2", + "parameterId" : "request-parameter_0", + "pathId" : "path_1", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -62,7 +62,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -81,9 +81,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_8", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_12", + "shapeId" : "shape_11", "isRemoved" : false }, "eventContext" : { @@ -96,8 +96,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_2", + "requestId" : "request_0", + "pathId" : "path_1", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -109,8 +109,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_2", + "responseId" : "response_0", + "pathId" : "path_1", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -123,7 +123,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_10", + "shapeId" : "shape_9", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -142,7 +142,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_9", + "shapeId" : "shape_8", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -161,7 +161,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_8", + "shapeId" : "shape_7", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -180,7 +180,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -199,13 +199,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_8", + "fieldId" : "field_0", + "shapeId" : "shape_7", "name" : "city", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_1", - "shapeId" : "shape_2" + "fieldId" : "field_0", + "shapeId" : "shape_1" } }, "eventContext" : { @@ -218,7 +218,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_5", + "shapeId" : "shape_4", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -237,7 +237,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -256,13 +256,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_5", + "fieldId" : "field_1", + "shapeId" : "shape_4", "name" : "lat", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_2", - "shapeId" : "shape_3" + "fieldId" : "field_1", + "shapeId" : "shape_2" } }, "eventContext" : { @@ -275,7 +275,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$string", "parameters" : { "DynamicParameterList" : { @@ -294,13 +294,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_5", + "fieldId" : "field_2", + "shapeId" : "shape_4", "name" : "long", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_3", - "shapeId" : "shape_4" + "fieldId" : "field_2", + "shapeId" : "shape_3" } }, "eventContext" : { @@ -313,7 +313,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_6", + "shapeId" : "shape_5", "baseShapeId" : "$optional", "parameters" : { "DynamicParameterList" : { @@ -332,13 +332,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_8", + "fieldId" : "field_3", + "shapeId" : "shape_7", "name" : "coordinates", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_4", - "shapeId" : "shape_6" + "fieldId" : "field_3", + "shapeId" : "shape_5" } }, "eventContext" : { @@ -351,7 +351,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_7", + "shapeId" : "shape_6", "baseShapeId" : "$number", "parameters" : { "DynamicParameterList" : { @@ -370,13 +370,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_8", + "fieldId" : "field_4", + "shapeId" : "shape_7", "name" : "population", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_5", - "shapeId" : "shape_7" + "fieldId" : "field_4", + "shapeId" : "shape_6" } }, "eventContext" : { @@ -389,13 +389,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_9", + "fieldId" : "field_5", + "shapeId" : "shape_8", "name" : "principality", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_6", - "shapeId" : "shape_8" + "fieldId" : "field_5", + "shapeId" : "shape_7" } }, "eventContext" : { @@ -408,13 +408,13 @@ }, { "FieldAdded" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_10", + "fieldId" : "field_6", + "shapeId" : "shape_9", "name" : "location", "shapeDescriptor" : { "FieldShapeFromShape" : { - "fieldId" : "parameter_7", - "shapeId" : "shape_9" + "fieldId" : "field_6", + "shapeId" : "shape_8" } }, "eventContext" : { @@ -429,10 +429,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInField" : { - "fieldId" : "parameter_4", + "fieldId" : "field_3", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_5" + "shapeId" : "shape_4" } }, "consumingParameterId" : "$optionalInner" @@ -448,10 +448,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_10", + "shapeId" : "shape_9", "isRemoved" : false }, "eventContext" : { diff --git a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/root array is provided with object.managed.json b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/root array is provided with object.managed.json index e1221953ae..1c564e213f 100644 --- a/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/root array is provided with object.managed.json +++ b/core/domain-snapshots/events-interactions-diff-interpretation-ui-render/root array is provided with object.managed.json @@ -2,7 +2,7 @@ "events" : [ { "PathComponentAdded" : { - "pathId" : "path_1", + "pathId" : "path_0", "parentPathId" : "root", "name" : "events", "eventContext" : { @@ -15,8 +15,8 @@ }, { "RequestParameterAddedByPathAndMethod" : { - "parameterId" : "parameter_1", - "pathId" : "path_1", + "parameterId" : "request-parameter_0", + "pathId" : "path_0", "httpMethod" : "GET", "parameterLocation" : "query", "name" : "queryString", @@ -30,7 +30,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "baseShapeId" : "$object", "parameters" : { "DynamicParameterList" : { @@ -49,9 +49,9 @@ }, { "RequestParameterShapeSet" : { - "parameterId" : "parameter_1", + "parameterId" : "request-parameter_0", "parameterDescriptor" : { - "shapeId" : "shape_4", + "shapeId" : "shape_3", "isRemoved" : false }, "eventContext" : { @@ -64,8 +64,8 @@ }, { "RequestAdded" : { - "requestId" : "request_1", - "pathId" : "path_1", + "requestId" : "request_0", + "pathId" : "path_0", "httpMethod" : "GET", "eventContext" : { "clientId" : "ccc", @@ -77,8 +77,8 @@ }, { "ResponseAddedByPathAndMethod" : { - "responseId" : "response_1", - "pathId" : "path_1", + "responseId" : "response_0", + "pathId" : "path_0", "httpMethod" : "GET", "httpStatusCode" : 200, "eventContext" : { @@ -91,7 +91,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_2", + "shapeId" : "shape_1", "baseShapeId" : "$unknown", "parameters" : { "DynamicParameterList" : { @@ -110,7 +110,7 @@ }, { "ShapeAdded" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "baseShapeId" : "$list", "parameters" : { "DynamicParameterList" : { @@ -131,10 +131,10 @@ "ShapeParameterShapeSet" : { "shapeDescriptor" : { "ProviderInShape" : { - "shapeId" : "shape_3", + "shapeId" : "shape_2", "providerDescriptor" : { "ShapeProvider" : { - "shapeId" : "shape_2" + "shapeId" : "shape_1" } }, "consumingParameterId" : "$listItem" @@ -150,10 +150,10 @@ }, { "ResponseBodySet" : { - "responseId" : "response_1", + "responseId" : "response_0", "bodyDescriptor" : { "httpContentType" : "application/json", - "shapeId" : "shape_3", + "shapeId" : "shape_2", "isRemoved" : false }, "eventContext" : { diff --git a/core/optic/shared/src/main/scala/com/useoptic/dsa/OpticIds.scala b/core/optic/shared/src/main/scala/com/useoptic/dsa/OpticIds.scala index 72320e7434..c027b3d2d2 100644 --- a/core/optic/shared/src/main/scala/com/useoptic/dsa/OpticIds.scala +++ b/core/optic/shared/src/main/scala/com/useoptic/dsa/OpticIds.scala @@ -9,8 +9,8 @@ trait OpticIds[T] { def nextId(): T } -class SequentialIdGenerator(prefix: String = "", delimiter: String = "") extends OpticIds[String] { - val source = Stream.from(1, 1).iterator +class SequentialIdGenerator(prefix: String = "", delimiter: String = "", startingNumber: Int=1) extends OpticIds[String] { + val source = Stream.from(startingNumber, 1).iterator override def nextId(): String = { val currentValue = source.next() @@ -38,26 +38,26 @@ abstract class OpticDomainIds { object OpticIds { - def newDeterministicIdGenerator = new OpticDomainIds { - private val _shape = new SequentialIdGenerator("shape", "_") + def newDeterministicIdGenerator(startingNumber: Int = 0) = new OpticDomainIds { + private val _shape = new SequentialIdGenerator("shape", "_", startingNumber) override def newShapeId: ShapeId = _shape.nextId() - private val _path = new SequentialIdGenerator("path", "_") + private val _path = new SequentialIdGenerator("path", "_", startingNumber) override def newPathId: PathComponentId = _path.nextId() - private val _request = new SequentialIdGenerator("request", "_") + private val _request = new SequentialIdGenerator("request", "_", startingNumber) override def newRequestId: RequestId = _request.nextId() - private val _response = new SequentialIdGenerator("response", "_") + private val _response = new SequentialIdGenerator("response", "_", startingNumber) override def newResponseId: ResponseId = _response.nextId() - private val _shapeParameter = new SequentialIdGenerator("shape-parameter", "_") + private val _shapeParameter = new SequentialIdGenerator("shape-parameter", "_", startingNumber) override def newShapeParameterId: ShapeParameterId = _shapeParameter.nextId() - private val _requestParameter = new SequentialIdGenerator("request-parameter", "_") + private val _requestParameter = new SequentialIdGenerator("request-parameter", "_", startingNumber) override def newRequestParameterId: RequestParameterId = _requestParameter.nextId() - private val _field = new SequentialIdGenerator("field", "_") + private val _field = new SequentialIdGenerator("field", "_", startingNumber) override def newFieldId: FieldId = _field.nextId() } @@ -86,7 +86,7 @@ object OpticIds { def generator: OpticDomainIds = { if (System.getenv("SCALA_ENV") == "test") { - newDeterministicIdGenerator + newDeterministicIdGenerator() } else { newRandomIdGenerator } diff --git a/core/optic/shared/src/test/scala/com/useoptic/contexts/requests/RequestsStateBuilderSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/contexts/requests/RequestsStateBuilderSpec.scala index 1b4f31a0a5..16a75ef12b 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/contexts/requests/RequestsStateBuilderSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/contexts/requests/RequestsStateBuilderSpec.scala @@ -7,7 +7,7 @@ import org.scalatest.FunSpec class RequestsStateBuilderSpec extends FunSpec { def fixture = new { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() val service = new RequestsService(new ShapesService) val aggregateId1 = "a1" diff --git a/core/optic/shared/src/test/scala/com/useoptic/contexts/rfc/ScmStateSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/contexts/rfc/ScmStateSpec.scala index 40dc50f048..71ee0c4d82 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/contexts/rfc/ScmStateSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/contexts/rfc/ScmStateSpec.scala @@ -12,7 +12,7 @@ class ScmStateSpec extends FunSpec with JsonFileFixture { val f = fixture("todo-with-git") val eventStore = RfcServiceJSFacade.makeEventStore() eventStore.append("test", f) - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() val rfcService = new RfcService(eventStore) val scmState = rfcService.currentState("test").scmState assert(scmState.branchCommitMap("master").size == 3) diff --git a/core/optic/shared/src/test/scala/com/useoptic/contexts/shapes/ShapesEndToEndSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/contexts/shapes/ShapesEndToEndSpec.scala index 3720df5857..1334c55ec1 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/contexts/shapes/ShapesEndToEndSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/contexts/shapes/ShapesEndToEndSpec.scala @@ -11,7 +11,7 @@ import org.scalatest.FunSpec class ShapesEndToEndSpec extends FunSpec { def fixture(commands: Seq[RfcCommand]): (Vector[RfcEvent], ShapesState) = { println("Steps:") - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() commands.foreach(println) println("Running...") diff --git a/core/optic/shared/src/test/scala/com/useoptic/diff/JsonFileFixture.scala b/core/optic/shared/src/test/scala/com/useoptic/diff/JsonFileFixture.scala index dab689baaf..04294e5736 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/diff/JsonFileFixture.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/diff/JsonFileFixture.scala @@ -73,7 +73,7 @@ trait JsonFileFixture { val eventStore = RfcServiceJSFacade.makeEventStore() val rfcId = "testRfcId" eventStore.append(rfcId, events) - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() val rfcService = new RfcService(eventStore) val rfcState = rfcService.currentState(rfcId) Universe(rfcService, rfcId, eventStore, interactions) diff --git a/core/optic/shared/src/test/scala/com/useoptic/diff/helpers/DiffHelpersSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/diff/helpers/DiffHelpersSpec.scala index 69d1e66b5c..cc84d4c6f7 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/diff/helpers/DiffHelpersSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/diff/helpers/DiffHelpersSpec.scala @@ -24,7 +24,7 @@ class SpecHelpers { def simpleGet(responseBody: Json): Seq[RfcCommand] = { val requestId = requestIdGenerator.nextId() val responseId = responseIdGenerator.nextId() - val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(responseBody).get))(OpticIds.newDeterministicIdGenerator) + val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(responseBody).get))(OpticIds.newDeterministicIdGenerator()) builtShape._2.flatten ++ Seq( RequestsCommands.AddRequest(requestId, "root", "GET"), RequestsCommands.AddResponse(responseId, requestId, 200), @@ -35,7 +35,7 @@ class SpecHelpers { def simplePost(requestBody: Json): Seq[RfcCommand] = { val requestId = requestIdGenerator.nextId() val responseId = responseIdGenerator.nextId() - val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(requestBody).get))(OpticIds.newDeterministicIdGenerator) + val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(requestBody).get))(OpticIds.newDeterministicIdGenerator()) builtShape._2.flatten ++ Seq( RequestsCommands.AddRequest(requestId, "root", "POST"), RequestsCommands.SetRequestBodyShape(requestId, ShapedBodyDescriptor("application/json", builtShape._1, isRemoved = false)), diff --git a/core/optic/shared/src/test/scala/com/useoptic/diff/interactions/DiffVisitorSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/diff/interactions/DiffVisitorSpec.scala index 263c1f8a64..b66526bf9c 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/diff/interactions/DiffVisitorSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/diff/interactions/DiffVisitorSpec.scala @@ -40,7 +40,7 @@ class DiffVisitorSpec extends FunSpec { val requestId = "req1" val responseId = "res1" val requestContentType = "ccc" - val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json"""{"f":[123]}""").get))(OpticIds.newDeterministicIdGenerator) + val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json"""{"f":[123]}""").get))(OpticIds.newDeterministicIdGenerator()) val initialCommands = builtShape._2.flatten ++ Seq( AddRequest(requestId, Commands.rootPathId, "POST"), SetRequestBodyShape(requestId, ShapedBodyDescriptor(requestContentType, builtShape._1, isRemoved = false)), diff --git a/core/optic/shared/src/test/scala/com/useoptic/diff/shapes/ResolverSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/diff/shapes/ResolverSpec.scala index fc88d88d1e..9b06528040 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/diff/shapes/ResolverSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/diff/shapes/ResolverSpec.scala @@ -16,7 +16,7 @@ import io.circe.literal._ class ResolverSpec extends FunSpec { describe("resolving trails") { describe("given a spec with a request body that is an object") { - val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json"""{"f":[123]}""").get))(OpticIds.newDeterministicIdGenerator) + val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json"""{"f":[123]}""").get))(OpticIds.newDeterministicIdGenerator()) val rfcState = TestHelpers.fromCommands(builtShape._2.flatten) val resolvers = new DefaultShapesResolvers(rfcState) @@ -36,7 +36,7 @@ class ResolverSpec extends FunSpec { } } describe("given a spec with a request body that is an array") { - val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json"""[{"id": 1}]""").get))(OpticIds.newDeterministicIdGenerator) + val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json"""[{"id": 1}]""").get))(OpticIds.newDeterministicIdGenerator()) val rfcState = TestHelpers.fromCommands(builtShape._2.flatten) val resolvers = new DefaultShapesResolvers(rfcState) it("should resolve the root as a list") { diff --git a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/DiffUseCasesSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/DiffUseCasesSpec.scala index 8856ad9d5f..ba0cc966f3 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/DiffUseCasesSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/DiffUseCasesSpec.scala @@ -16,7 +16,7 @@ class DiffUseCasesSpec extends EndEndDiffTask { responseBody = json"""{ "firstName": "Aidan", "lastName": "C", "age": 26, "cities": ["San Fransisco", "New York", "Durham"]}""") val baselineEvents = { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() new TestDataHelper("root-shape-is-object-with-keys").learnBaselineEvents( path = Vector("users", ":userId", "profile"), interactions = Vector(personInteraction)) @@ -87,7 +87,7 @@ class DiffUseCasesSpec extends EndEndDiffTask { responseBody = json"""{ "location": { "principality": { "city": "San Fransisco", "population": 830000, "coordinates": {"lat": "37.7749° N", "long": "122.4194° W"} } } }""") val baselineCityEvents = { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() new TestDataHelper("root-shape-is-object").learnBaselineEvents( path = Vector("locations", ":city"), interactions = Vector(firstCityInteraction, secondCityInteraction)) @@ -154,7 +154,7 @@ class DiffUseCasesSpec extends EndEndDiffTask { responseBody = json"""{"name":{"first":"Bob","last":"C"},"rivals":["user1","user2","user3"],"stats":{"rank":1}}""") val baselinePWSEvents = { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() new TestDataHelper("root-shape-is-object-with-keys").learnBaselineEvents( path = Vector("users", ":userId", "profile"), interactions = Vector(personWithStats)) @@ -212,7 +212,7 @@ class DiffUseCasesSpec extends EndEndDiffTask { responseBody = json"""[]""") val baselineArrayEvents = { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() new TestDataHelper("root-shape-is-array").learnBaselineEvents( path = Vector("events"), interactions = Vector(emptyArray)) @@ -245,7 +245,7 @@ class DiffUseCasesSpec extends EndEndDiffTask { responseBody = json"""[{"name": "joe", "age": "thirty", "colors": ["red", "green", "yellow"]}, {"name": "joe", "age": 45}]""") val baselineObjectArrayEvents = { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() new TestDataHelper("root-shape-is-array").learnBaselineEvents( path = Vector("people"), interactions = Vector(objectArray)) diff --git a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/fixtures/ShapeExamples.scala b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/fixtures/ShapeExamples.scala index 78dd4feef1..c50290e768 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/fixtures/ShapeExamples.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/fixtures/ShapeExamples.scala @@ -16,12 +16,12 @@ object ShapeExamples { private def buildBasicShapeFrom(json: Json): (ShapeEntity, RfcState) = { - val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json).get))(OpticIds.newDeterministicIdGenerator) + val builtShape = DistributionAwareShapeBuilder.toCommands(Vector(JsonLikeFrom.json(json).get))(OpticIds.newDeterministicIdGenerator()) val rfcId: String = "rfc-1" val eventStore = RfcServiceJSFacade.makeEventStore() - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() val rfcService: RfcService = new RfcService(eventStore) rfcService.handleCommands(rfcId, RfcCommandContext("ccc", "sss", "bbb"), builtShape._2.flatten: _*) (rfcService.currentState(rfcId).shapesState.shapes(builtShape._1), rfcService.currentState(rfcId)) diff --git a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/BuildShapeTask.scala b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/BuildShapeTask.scala index d5436a2524..3c532cb9fa 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/BuildShapeTask.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/BuildShapeTask.scala @@ -34,7 +34,7 @@ class BuildShapeTask } override def transform(input: BuildShapeTask.Input): BuildShapeTask.Output = { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() val shape = DistributionAwareShapeBuilder.aggregateTrailsAndValues(input.inputJsons.flatMap(JsonLikeFrom.json)).getRoot.toShape implicit val commands = new MutableCommandStream diff --git a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/CommandsToEvents.scala b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/CommandsToEvents.scala index 39449185cb..614063dcf3 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/CommandsToEvents.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/CommandsToEvents.scala @@ -22,7 +22,7 @@ class CommandsToEventsSnapshotTask override def transform(input: Vector[RfcCommand]): Vector[RfcEvent] = { val rfcId: String = "rfc-1" val eventStore = RfcServiceJSFacade.makeEventStore() - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() val rfcService: RfcService = new RfcService(eventStore) rfcService.handleCommands(rfcId, RfcCommandContext("ccc", "sss", "bbb"), input: _*) diff --git a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/EndEndDiffTask.scala b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/EndEndDiffTask.scala index d2f8f4f4ad..2e5945991b 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/EndEndDiffTask.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/end_to_end/snapshot_task/EndEndDiffTask.scala @@ -50,7 +50,7 @@ class EndEndDiffTask } override def transform(input: EndEndDiffTask.Input): EndEndDiffTask.DiffOutput = { - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator(5000) val eventStore = RfcServiceJSFacade.makeEventStore() val rfcId = "testRfcId" eventStore.append(rfcId, input.events) diff --git a/core/optic/shared/src/test/scala/com/useoptic/ux/DiffPreviewerSpec.scala b/core/optic/shared/src/test/scala/com/useoptic/ux/DiffPreviewerSpec.scala index 341499e89a..6eae90ab09 100644 --- a/core/optic/shared/src/test/scala/com/useoptic/ux/DiffPreviewerSpec.scala +++ b/core/optic/shared/src/test/scala/com/useoptic/ux/DiffPreviewerSpec.scala @@ -23,7 +23,7 @@ class DiffPreviewerSpec extends FunSpec with JsonFileFixture { val rfcId: String = "rfc-1" val eventStore = RfcServiceJSFacade.makeEventStore() eventStore.append(rfcId, events) - implicit val ids = OpticIds.newDeterministicIdGenerator + implicit val ids = OpticIds.newDeterministicIdGenerator() val rfcService: RfcService = new RfcService(eventStore) rfcService.currentState(rfcId) }