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

fix(swagger): remove old model annotations #385

Merged
merged 5 commits into from
Jul 26, 2024
Merged

fix(swagger): remove old model annotations #385

merged 5 commits into from
Jul 26, 2024

Conversation

wass3r
Copy link
Collaborator

@wass3r wass3r commented Jul 14, 2024

the modified model annotations have moved to go-vela/server/api/types where a duplicate of these annotations can be found. this change is needed for accurate swagger doc generation. see
go-vela/server#1159 .

i've replaced the swagger documentation with godoc annotation that marks these structs as deprecated, so we should see warnings anywhere these are used yet.

the modified model annotations have moved to go-vela/server/api/types
where a duplicate of these annotations can be found. this change is
needed for accurate swagger doc generation. see
go-vela/server#1159
Copy link

codecov bot commented Jul 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.08%. Comparing base (e61aced) to head (4f4e00c).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #385   +/-   ##
=======================================
  Coverage   96.08%   96.08%           
=======================================
  Files          69       69           
  Lines        5365     5365           
=======================================
  Hits         5155     5155           
  Misses        136      136           
  Partials       74       74           
Files Coverage Δ
library/build.go 99.08% <ø> (ø)
library/build_queue.go 100.00% <ø> (ø)
library/executor.go 100.00% <ø> (ø)
library/repo.go 96.80% <ø> (ø)
library/schedule.go 100.00% <ø> (ø)
library/user.go 100.00% <ø> (ø)
library/worker.go 100.00% <ø> (ø)

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@wass3rw3rk wass3rw3rk merged commit 75a4808 into main Jul 26, 2024
10 of 11 checks passed
@wass3rw3rk wass3rw3rk deleted the fix/swagger branch July 26, 2024 16:12
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.

5 participants