Skip to content

Removed @APIResponse annotations in ProductRestService.java#30

Merged
maybeec merged 3 commits into
devonfw-sample:masterfrom
mustafaokyay:master
Nov 30, 2021
Merged

Removed @APIResponse annotations in ProductRestService.java#30
maybeec merged 3 commits into
devonfw-sample:masterfrom
mustafaokyay:master

Conversation

@mustafaokyay
Copy link
Copy Markdown
Contributor

@mustafaokyay mustafaokyay commented Nov 1, 2021

The annotations in the REST service (@apiresponse) are removed as it adds redundancy and is an anti-pattern

@GuentherJulian
Copy link
Copy Markdown
Contributor

In the file DemoApplication.java there are still some annotations

@mustafaokyay mustafaokyay requested review from EduardKrieger and GuentherJulian and removed request for EduardKrieger and GuentherJulian November 15, 2021 09:42
@mustafaokyay mustafaokyay requested a review from maybeec November 22, 2021 10:23
@maybeec maybeec merged commit 2a3b793 into devonfw-sample:master Nov 30, 2021
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.

Remove @APIResponse annotations and add ServicedocGen plugin to support OpenAPI generation

4 participants