Skip to content

Generate API server from OpenAPI spec using ogen#5

Merged
evanebb merged 10 commits intomainfrom
ogen-server
Apr 6, 2025
Merged

Generate API server from OpenAPI spec using ogen#5
evanebb merged 10 commits intomainfrom
ogen-server

Conversation

@evanebb
Copy link
Owner

@evanebb evanebb commented Apr 6, 2025

  • Allows easier integration of OpenTelemetry, since ogen supports it natively
  • Better split between presentation and domain layer, no more JSON tags in the latter one :)

@codecov-commenter
Copy link

codecov-commenter commented Apr 6, 2025

Codecov Report

Attention: Patch coverage is 2.32945% with 587 lines in your changes missing coverage. Please review.

Project coverage is 19.82%. Comparing base (f57715a) to head (1a001d7).

Files with missing lines Patch % Lines
server/handlers/team.go 0.00% 174 Missing ⚠️
server/handlers/user.go 0.00% 110 Missing ⚠️
server/handlers/repository.go 0.00% 109 Missing ⚠️
server/handlers/token.go 0.00% 87 Missing ⚠️
server/handlers/security.go 0.00% 50 Missing ⚠️
server/handlers/handlers.go 0.00% 39 Missing ⚠️
server/routes.go 0.00% 6 Missing ⚠️
server/handlers/util.go 0.00% 5 Missing ⚠️
server/handlers/errors.go 0.00% 4 Missing ⚠️
store/postgres/team.go 75.00% 0 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   18.83%   19.82%   +0.99%     
==========================================
  Files          53       53              
  Lines        3202     3021     -181     
==========================================
- Hits          603      599       -4     
+ Misses       2568     2391     -177     
  Partials       31       31              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@evanebb evanebb merged commit 7043a6f into main Apr 6, 2025
5 checks passed
@evanebb evanebb deleted the ogen-server branch April 6, 2025 22:13
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.

2 participants