Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCK-9099: allow output types fields as entity children #20

Merged
merged 3 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions properties_pane/defaultData.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
},
"collection": {
"collectionName": "newOperation",
"entityType": "request",
"operationType": "Query",
"isActivated": true,
"childType": "input"
"childType": "object"
},
"nestedCollection": {
"collectionName": "Response",
Expand Down
31 changes: 2 additions & 29 deletions properties_pane/entity_level/entityLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,7 @@ making sure that you maintain a proper JSON format.
{
"propertyName": "Operation name",
"propertyKeyword": "collectionName",
"propertyType": "text",
"dependency": {
"key": "entityType",
"value": "request"
}
"propertyType": "text"
},
{
"propertyName": "Response name",
Expand All @@ -153,11 +149,7 @@ making sure that you maintain a proper JSON format.
"Query",
"Mutation",
"Subscription"
],
"dependency": {
"key": "entityType",
"value": "request"
}
]
},
{
"propertyKeyword": "additionalProperties",
Expand Down Expand Up @@ -187,25 +179,6 @@ making sure that you maintain a proper JSON format.
"template": "textarea",
"markdown": false
},
{
"propertyName": "schema",
"propertyKeyword": "pathItemSchema",
"propertyType": "fieldList",
"template": "orderedList",
"dependency": {
"type": "and",
"values": [
{
"key": "collectionName",
"value": "$ref"
},
{
"key": "entityType",
"value": "request"
}
]
}
},
{
"propertyName": "Comments",
"propertyKeyword": "comments",
Expand Down
10 changes: 0 additions & 10 deletions types/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,5 @@
"scalar"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "response"
}
]
}
}
10 changes: 0 additions & 10 deletions types/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,5 @@
"scalar"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "request"
}
]
}
}
10 changes: 0 additions & 10 deletions types/type.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,5 @@
"parameter (cookie)"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "request"
}
]
}
}
10 changes: 0 additions & 10 deletions types/union.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,5 @@
"object"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "request"
}
]
}
}