fix: fix problem in swagger file due to pr merge and regenerate oapi-codegen files & add dev url#1383
Merged
Eraxyso merged 4 commits intofix/openapifrom Jan 31, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## fix/openapi #1383 +/- ##
===============================================
+ Coverage 62.12% 66.08% +3.96%
===============================================
Files 25 25
Lines 4161 3468 -693
===============================================
- Hits 2585 2292 -293
+ Misses 1231 831 -400
Partials 345 345 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes issues in the swagger file that occurred due to a PR merge and regenerates the oapi-codegen files with the updated version.
- Updated oapi-codegen version from v2.4.1 to v2.5.0 in generated Go files
- Removed duplicate/incorrect schema definitions from swagger.yaml
- Regenerated the embedded swagger specification in Go code
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| openapi/types.go | Updated code generation comment to reflect v2.5.0 |
| openapi/spec.go | Updated code generation comment and regenerated embedded swagger spec |
| openapi/server.go | Updated code generation comment to reflect v2.5.0 |
| docs/swagger/swagger.yaml | Removed duplicate EditResponse schema and incorrect allOf block in ResponsesWithInfo |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
da1ac74 to
e9edf3e
Compare
…openapi-dev-url fix: add development server URL to swagger configuration
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.