Skip to content

misc: swagger api spec #6753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

misc: swagger api spec #6753

wants to merge 8 commits into from

Conversation

kamal-devtron
Copy link
Contributor

@kamal-devtron kamal-devtron commented Jul 23, 2025

Description

Fixes #

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


Summary by Bito

This pull request updates the GitOps validation API and Swagger API specification by refining security schemes, endpoint descriptions, and path structures. It refactors endpoints to remove legacy prefixes, adds new endpoints for cluster and environment management, and introduces summary fields for clearer documentation, improving consistency and maintainability for better developer comprehension.

Copy link

bito-code-review bot commented Jul 23, 2025

Code Review Agent Run #863d22

Actionable Suggestions - 0
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

  • specs/gitops-validation.yaml - 1
    • Invalid placeholder server URL · Line 6-6
  • specs/swagger/openapi.yaml - 4
Review Details
  • Files reviewed - 2 · Commit Range: 12e2ff9..fb4aeb1
    • specs/gitops-validation.yaml
    • specs/swagger/openapi.yaml
  • Files skipped - 1
    • specs/version.yml - Reason: Filter setting
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Default Agent You can customize the agent settings here or contact your Bito workspace admin at [email protected].

Documentation & Help

AI Code Review powered by Bito Logo

Copy link

bito-code-review bot commented Jul 23, 2025

Changelist by Bito

This pull request implements the following key changes.

Key Change Files Impacted
Feature Improvement - API Endpoints Specification Update

apiToken_api-spec.yaml - Updated paths and added summaries for API Token endpoints with refined security requirements.

gitops-validation.yaml - Modified GitOps validation endpoints by updating server URLs, enhancing endpoint summaries, and reinforcing security schemes.

Documentation - Swagger Documentation Enhancement

openapi.yaml - Enhanced Swagger documentation with updated display names, additional endpoint definitions, and improved response schema details.

@kamal-devtron kamal-devtron changed the title misc: gitops validation api spec misc: swagger api spec Jul 23, 2025
Copy link

Copy link

bito-code-review bot commented Jul 23, 2025

Code Review Agent Run #913d54

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: fb4aeb1..66dda2f
    • specs/apiToken_api-spec.yaml
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Default Agent You can customize the agent settings here or contact your Bito workspace admin at [email protected].

Documentation & Help

AI Code Review powered by Bito Logo

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.

1 participant