Skip to content

docs: sync swagger.yaml with implemented API endpoints#43

Merged
viferga merged 1 commit intometacall:masterfrom
Priyanshu-u07:fix/swagger-openapi-sync
Feb 25, 2026
Merged

docs: sync swagger.yaml with implemented API endpoints#43
viferga merged 1 commit intometacall:masterfrom
Priyanshu-u07:fix/swagger-openapi-sync

Conversation

@Priyanshu-u07
Copy link
Contributor

The swagger.yaml was out of sync with the actual API. Some endpoints that exist in protocol.ts were missing from the spec, and one old endpoint was still documented even though it's been replaced.

Fixes #42

Changes:

Added missing endpoints:

  • GET /api/readiness
  • GET /api/billing/list-subscriptions-deploys
  • POST /api/repository/add
  • POST /api/repository/branchlist
  • POST /api/repository/filelist
  • POST /api/deploy/logs
  • GET/POST /{prefix}/{suffix}/{version}/call/{func} - function invocation

Removed:

  • POST /api/deploy/add replaced by /api/repository/add

Additional Fix:

  • Fixed a broken schema reference in AddRepo. It was using old Swagger 2.0 syntax that doesn't work in OpenAPI 3.0. Moved MetaCallJSONto the correct location under components.schemas
  • Removed an old definitions block at the bottom of the file that was leftover from Swagger 2.0 and was failing validation.

Verification

  • swagger-cli validate swagger.yaml passes
  • Checked everything on the Swagger UI
fixes

@Priyanshu-u07 Priyanshu-u07 changed the title sync swagger.yaml with implemented API endpoints docs: sync swagger.yaml with implemented API endpoints Feb 21, 2026
@viferga viferga merged commit fb6a4a6 into metacall:master Feb 25, 2026
1 check passed
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