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
refactor: remove swagger route and docs annotations (DEV-1335) #2203
Merged
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
bf6c163
remove swaggerAkkaHttp dependency
mpro7 6668496
remove SwaggerApiDocsRoute and its usage
mpro7 93e0133
remove Swagger related documentation
mpro7 3ff4703
remove other docs annotations
mpro7 89896df
docs folder cleanup
mpro7 26e0092
fix failing docs test
mpro7 367938e
to make codacy happy
mpro7 114125a
one more time
mpro7 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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,8 +1,5 @@ | ||
# ignore the following dependencies: | ||
|
||
# jodd -> hard to update and only used in DateUtilV1 | ||
# swagger-akka-http -> should be removed in separate PR | ||
updates.ignore = [ | ||
{ groupId = "org.jodd", artifactId="jodd", version = "3.2.7" }, | ||
{ groupId = "com.github.swagger-akka-http", artifactId="swagger-akka-http", version = "1.6.0" } | ||
{ groupId = "org.jodd", artifactId="jodd", version = "3.2.7" } | ||
] |
This file contains 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 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 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
28 changes: 0 additions & 28 deletions
28
webapi/src/main/scala/org/knora/webapi/annotation/ApiMayChange.scala
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
webapi/src/main/scala/org/knora/webapi/annotation/ProjectUnique.scala
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
webapi/src/main/scala/org/knora/webapi/annotation/ServerUnique.scala
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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
60 changes: 0 additions & 60 deletions
60
webapi/src/main/scala/org/knora/webapi/routing/SwaggerApiDocsRoute.scala
This file was deleted.
Oops, something went wrong.
This file contains 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.
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.
This whole structure is not up-to-date. Could you go over the whole
Readme.md
file if you touch it anyway?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.
Although it's out of the scope of this PR I cleaned it up. There should be another task defined to clean the whole API documentation though.
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.
And I removed too much :)
Do we actually need this "test"?
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.
Yes, we need it. It's to make sure that the docs compile.