Skip to content

Conversation

@zmotso
Copy link
Member

@zmotso zmotso commented May 28, 2025

Pull Request

Description

  • Replace provider-specific endpoints with generic /api/v1/repositories and /api/v1/repository endpoints in the OpenAPI spec
  • Move all parameters to query params instead of path params for a simpler, unified API
  • Remove provider-specific handlers (GitHub, GitLab, Bitbucket) and use a single RepositoryHandler

Fixes #15

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Manually

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have squashed my commits

- Replace provider-specific endpoints with generic
/api/v1/repositories and /api/v1/repository endpoints in the OpenAPI spec
- Move all parameters to query params instead of path params for a simpler, unified API
- Remove provider-specific handlers (GitHub, GitLab, Bitbucket) and use
a single RepositoryHandler
@zmotso zmotso self-assigned this May 28, 2025
@zmotso zmotso added the enhancement New feature or request label May 28, 2025
@SergK SergK merged commit 6ef18c8 into main May 28, 2025
1 check passed
@SergK SergK deleted the query-params branch May 28, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify Repository Endpoints and Add Multi-Provider Support

3 participants