-
Notifications
You must be signed in to change notification settings - Fork 2
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
206 fix open api docs #211
Conversation
…fix-open-api-docs # Conflicts: # src/main/kotlin/dk/cachet/carp/webservices/common/configuration/swagger/OpenApi30Config.kt
…fix-open-api-docs # Conflicts: # src/main/kotlin/dk/cachet/carp/webservices/common/configuration/swagger/OpenApi30Config.kt
the final version is the one using json files. It has the advantage that the controller itself remains pretty clean (without many annotations there). The downside is that we need to manually update those json files in case something changes. there is also a commit with annotations only 68e44bb. The downside is that the controller classes contain all the documentation for the rpc calls. But, we don't have to maintain the json files. All json files for non-rpc endpoints have been deleted as it is pretty straightforward what they do anyway. |
# Conflicts: # src/main/kotlin/dk/cachet/carp/webservices/file/controller/FileController.kt # src/main/resources/openapi/consentDocument/create.json # src/main/resources/openapi/file/create.json
* updated controllers that are using rpc calls + removed some files * version with rpc docs directly in controller * refactored version with docs directly in controller * formatting to version with docs directly in controller * version with json
No description provided.