Skip to content

Commit

Permalink
disable child collections (responses) (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitalii Bedletskyi <[email protected]>
  • Loading branch information
taras-dubyk and VitaliiBedletskyi authored Dec 19, 2024
1 parent e9fef89 commit 0bfffdd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 78 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"versions": []
},
"features": {
"nestedCollections": {
"level": 1
},
"disableMultipleTypes": true,
"enableReverseEngineering": {
"jsonDocument": {
Expand Down Expand Up @@ -66,7 +63,6 @@
},
"disableJsonPreview": false,
"enableErdToggle": true,
"enableStackedNestedCollections": true,
"externalDefinitionsFromTargetSchema": true,
"apiTarget": true,
"FEScriptCommentsSupported": true,
Expand Down
8 changes: 1 addition & 7 deletions properties_pane/defaultData.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,7 @@
"isActivated": true,
"childType": "object"
},
"nestedCollection": {
"collectionName": "Response",
"entityType": "response",
"snippet": "responseStructure",
"isActivated": true,
"childType": "object"
},
"nestedCollection": {},
"field": {
"subtype": {
"valueDependencies": [
Expand Down
9 changes: 0 additions & 9 deletions properties_pane/entity_level/entityLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,6 @@ making sure that you maintain a proper JSON format.
"propertyKeyword": "collectionName",
"propertyType": "text"
},
{
"propertyName": "Response name",
"propertyKeyword": "collectionName",
"propertyType": "text",
"dependency": {
"key": "entityType",
"value": "response"
}
},
{
"propertyName": "Technical name",
"propertyKeyword": "code",
Expand Down
58 changes: 0 additions & 58 deletions types/type.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,64 +71,6 @@
"childValueType": [
"directive"
]
},



"media": {
"childValueType": [
"media"
]
},
"header": {
"childValueType": [
"header"
]
},
"example": {
"childValueType": [
"example"
]
},
"response": {
"childValueType": [
"response"
]
},
"link": {
"childValueType": [
"link"
]
},
"callback": {
"childValueType": [
"callback"
]
},
"securityScheme": {
"childValueType": [
"securityScheme"
]
},
"schema": {
"childValueType": [
"string",
"number",
"integer",
"boolean",
"array",
"object",
"null",
"reference"
]
},
"anyParameter": {
"childValueType": [
"parameter (path)",
"parameter (query)",
"parameter (header)",
"parameter (cookie)"
]
}
}
}

0 comments on commit 0bfffdd

Please sign in to comment.