-
Notifications
You must be signed in to change notification settings - Fork 279
refactor todo-java template and fix bugs. #1122
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
Merged
weikanglim
merged 19 commits into
Azure:main
from
wangmingliang-ms:wangmi/java-todo-template
Nov 28, 2022
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d77b721
fix openapi.yaml: typos, default values, description
wangmingliang-ms b3f08ba
generate separate API interfaces with setting `--additional-propertie…
wangmingliang-ms aa6ed7a
fix equals/hashCode of model classes and simplify TodoItem and TodoLi…
wangmingliang-ms c9b3739
format TodoState
wangmingliang-ms ee5595e
spring can not convert string "todo" to enum `TodoState.TODO` without…
wangmingliang-ms 995011c
separate TodoLists/TodoItems Controllers and fix bugs and simplify code.
wangmingliang-ms 3a89f89
rename package `web` to `controller`
wangmingliang-ms 6d08a41
add some comments and refine openapi.yaml
wangmingliang-ms 97056a6
fix cspell errors.
wangmingliang-ms dd9c679
remove dependency on lombok.
wangmingliang-ms b8235b2
move annotations to getters.
wangmingliang-ms 7647439
add `useTags` setting to generate separate `ListsApi` and `ItemsApi`
wangmingliang-ms eeaec7f
format sample code with `spring-javaformat`
wangmingliang-ms ce21ce4
format OpenAPI generated code with `spring-javaformat` to avoid huge …
wangmingliang-ms c6fdca1
fix cspell error.
wangmingliang-ms 35a96b4
Use prettier-java for formatting
weikanglim b60c57e
Reformat existing
weikanglim 6997ddd
Reformat codegen
weikanglim 9966e02
add cspell
weikanglim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ eastus | |
| envconfig | ||
| ezfunc | ||
| fasterxml | ||
| hubspot | ||
| immer | ||
| inprogress | ||
| INPROGRESS | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
templates/todo/api/java/.openapi-generator/openapi.yaml-default.sha256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 1e0347e24b739d303f3af0493d1e730e4ac47a27fdac1e8a151defcc745496f0 | ||
| baa1ff1c1daf16544c5985f4e1240a6d5611af0bb2d5f4bf5b631de8d53a9e70 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "devDependencies": { | ||
| "prettier-plugin-java": "^1.6.2" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...tes/todo/api/java/src/main/java/com/microsoft/azure/simpletodo/SimpleTodoApplication.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
templates/todo/api/java/src/main/java/com/microsoft/azure/simpletodo/api/ApiUtil.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.