-
Notifications
You must be signed in to change notification settings - Fork 0
Rest FlowType Prototype #36
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
Conversation
definitions/rest.md
Outdated
| } | ||
| ], | ||
| "definition": { | ||
| "editable": false, |
There was a problem hiding this comment.
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
definitions/rest.md
Outdated
| { | ||
| "contains_key": { | ||
| "key": "headers", | ||
| "type": "OBJECT" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
definitions/rest.md
Outdated
| "rules": [ | ||
| { | ||
| "item_of_collection": { | ||
| "items": [ "GET", "POST", "PUT", "DELETE", "PATCH", "CONNECT", "TRACE", "HEAD", "OPTIONS"] |
There was a problem hiding this comment.
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)
definitions/rest.md
Outdated
| } | ||
| } | ||
| ], | ||
| "parent_type_identifier": "TYPE" |
There was a problem hiding this comment.
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
definitions/rest.md
Outdated
| } | ||
| } | ||
| ], | ||
| "parent_type_identifier": "TYPE" |
There was a problem hiding this comment.
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
definitions/rest.md
Outdated
| { | ||
| "contains_key": { | ||
| "key": "headers", | ||
| "type": "OBJECT" |
There was a problem hiding this comment.
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
Prototype for the Rest FlowType
Resolves #38