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.
This pull request introduces several updates to the API documentation, Go server dependencies, and mobile app features, with a focus on improving OpenAPI integration and adding an API health check screen to the mobile app. Below is a categorized summary of the most important changes:
API Documentation Updates:
api/README.mdto clarify workflows for regenerating OpenAPI 3.0.3 documentation and added details about the Swagger 2.0-to-OpenAPI conversion process. [1] [2]Go Server Dependency Updates:
api/go.mod, includinggithub.com/swaggo/swagandgithub.com/go-openapipackages, to their latest versions for compatibility and improved functionality. [1] [2]api/main.gofor better readability and consistency with updated dependencies.Mobile App Enhancements:
ApiHealthScreen) to the mobile app, which queries the/healthendpoint and displays the API status. Changes include updates toapi-client/api.ts,components/example/api-health-screen.tsx, and navigation setup files. [1] [2] [3] [4] [5] [6] [7]mobile-app/env.tsto define theAPI_BASE_URLfor the Go server and Prism mock server.Mock Server Configuration:
mobile-app/package.jsonfrom3001to8080for consistency with the Go server's API base URL.