-
Notifications
You must be signed in to change notification settings - Fork 105
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
Entity web api generation #607
Entity web api generation #607
Conversation
…plugin into entity-web-api-generation
3f89410
to
f636b1e
Compare
…plugin into entity-web-api-generation
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.
Great addition, could you please check my minor suggestion below?
Thank you.
@@ -19,7 +19,7 @@ | |||
public static final String WEB_API_METHOD_NAME = "execute"; | |||
private static final String DIRECTORY = "Command"; | |||
private static final String WEB_API_INTERFACE_NAME_PATTERN = "Delete%entityName%ByIdInterface"; | |||
private static final String WEB_API_URL_PATTERN = "%entityName%/delete-by-id"; | |||
private static final String WEB_API_URL_PATTERN = "%entityName%/delete-by-id/:entityId"; |
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.
Let's keep it simpler like /V1/employee/:entityId
, since we specify the DELETE
method, there is no reason have additional info in route.
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.
Thank you! I'll fix that in a moment!
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.
@eduard13, I have done 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.
Works great 👍
Description (*)
What was done:
Contribution checklist (*)