Skip to content

Conversation

@raphael-goetz
Copy link
Member

@raphael-goetz raphael-goetz commented Apr 29, 2025

Prototype for the Rest FlowType
Resolves #38

}
],
"definition": {
"editable": false,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove the editable config, because its not needed any more

{
"contains_key": {
"key": "headers",
"type": "OBJECT"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be more specific with key (TEXT): value (TEXT). ContainsType rule can be used for that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created the HTTP_HEADER_MAP & HTTP_HEADER_ENTRY for that

@raphael-goetz raphael-goetz requested a review from nicosammito May 5, 2025 17:49
"rules": [
{
"item_of_collection": {
"items": [ "GET", "POST", "PUT", "DELETE", "PATCH", "CONNECT", "TRACE", "HEAD", "OPTIONS"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be updated #37 (comment)

}
}
],
"parent_type_identifier": "TYPE"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you never defined the parent_type, so either define this type or remove the parent_type_identifier

}
}
],
"parent_type_identifier": "TYPE"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you never defined the parent_type, so either define this type or remove the parent_type_identifier

{
"contains_key": {
"key": "headers",
"type": "OBJECT"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be also of type HTTP_HEADER_MAP

@raphael-goetz raphael-goetz merged commit f38e12b into main May 6, 2025
1 check passed
@raphael-goetz raphael-goetz deleted the 35-rest-flow-type branch May 6, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Rest Flow Type

2 participants