Skip to content

feat: add project endpoints to OpenAPI spec#394

Open
apoorvdarshan wants to merge 1 commit intoopcotech:mainfrom
apoorvdarshan:feat/297-add-project-endpoints
Open

feat: add project endpoints to OpenAPI spec#394
apoorvdarshan wants to merge 1 commit intoopcotech:mainfrom
apoorvdarshan:feat/297-add-project-endpoints

Conversation

@apoorvdarshan
Copy link

@apoorvdarshan apoorvdarshan commented Feb 17, 2026

Summary

  • Add Project CRUD endpoints (GET/POST /v1/namespaces/{id}/projects, GET/PATCH/DELETE /v1/projects/{id}) to the OpenAPI specification with full Project schema, ProjectCreate/ProjectPatch request bodies, and project/project.read/namespace/namespace.read OAuth scopes
  • Regenerate server code (internal/transport/http/api/server.go) and frontend client (web/src/lib/client/*.gen.ts)
  • Add skeleton ProjectController with panic("not implemented") stubs wired into the HTTP server

Closes #297

Test plan

  • oapi-codegen completes without errors
  • go build ./... compiles successfully (all StrictServerInterface methods satisfied)
  • Frontend client generation completes without errors

Add Project CRUD endpoints, schema, request bodies, and OAuth scopes
to the OpenAPI specification. Regenerate server and frontend client
code, and add skeleton ProjectController wired into the HTTP server.
@boring-cyborg
Copy link

boring-cyborg bot commented Feb 17, 2026

Thanks for opening this pull request! 🥳
Please check out our contributing guide.
If you have any questions, please ask in the #development channel in our
Slack or
Discord.
Happy coding! 🚀

@vercel
Copy link

vercel bot commented Feb 17, 2026

@apoorvdarshan is attempting to deploy a commit to the Opcotech Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend the Open API description with the project endpoints and regenerate the HTTP server from it

1 participant

Comments