Skip to content

feat: oapi-codegen scaffolding#2

Merged
mattevans merged 6 commits intofeat/openapi-spec-additionsfrom
feat/oapi-codegen
Oct 8, 2025
Merged

feat: oapi-codegen scaffolding#2
mattevans merged 6 commits intofeat/openapi-spec-additionsfrom
feat/oapi-codegen

Conversation

@mattevans
Copy link
Copy Markdown
Member

@mattevans mattevans commented Oct 8, 2025

Depends on ethpandaops/clickhouse-proto-gen#20 and #1

Will generate handlers using oapi-codegen, off our cbt protos, utilising the native stdhttp pkg. See: https://github.com/oapi-codegen/oapi-codegen#impl-stdhttp

- add oapi-codegen.yaml config for Go server stubs
- extend Makefile with generate-server target and deps
- update .gitignore to exclude generated handlers
- add oapi-codegen & runtime to go.mod/sum
- document usage and server interface in README
@mattevans mattevans self-assigned this Oct 8, 2025
…degen

- add .descriptors.pb to .gitignore
- extend .golangci.yml to ignore generated files
- add generate-descriptors make target and integrate into generate-server
- create generate-implementation tool for auto-generating server handlers
- add filter builder and endpoint code generators
- fix schema name capitalization in openapi-filter-flatten
- update go.mod dependencies for xatu-cbt and protobuf
feat: add protobuf descriptor gen and full server implementation gen
@mattevans mattevans merged commit 7e130dc into feat/openapi-spec-additions Oct 8, 2025
@mattevans mattevans deleted the feat/oapi-codegen branch October 8, 2025 22:46
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