Skip to content
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

Merged
merged 19 commits into from
Feb 10, 2025
Merged

206 fix open api docs #211

merged 19 commits into from
Feb 10, 2025

Conversation

pavliuc75
Copy link
Contributor

No description provided.

@pavliuc75 pavliuc75 marked this pull request as ready for review January 30, 2025 16:14
@pavliuc75
Copy link
Contributor Author

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.

@pavliuc75 pavliuc75 requested a review from yuanchen233 January 30, 2025 16:20
pavliuc75 and others added 6 commits February 7, 2025 10:29
# 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
@yuanchen233 yuanchen233 merged commit 81e5599 into develop Feb 10, 2025
1 check passed
@yuanchen233 yuanchen233 deleted the 206-fix-open-api-docs branch February 10, 2025 10:23
yuanchen233 pushed a commit that referenced this pull request Feb 10, 2025
* 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
@yuanchen233 yuanchen233 linked an issue Feb 10, 2025 that may be closed by this pull request
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.

Fix OpenApi documentation
2 participants