Skip to content
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

docs: Add Comment Blocks for Multi-Agent API Endpoints #18

Merged
merged 8 commits into from
Jan 8, 2025

Conversation

Fr4nc3
Copy link
Collaborator

@Fr4nc3 Fr4nc3 commented Dec 30, 2024

Purpose

This PR adds detailed Swagger-style comment blocks for all key endpoints in the Multi-Agent API. These changes enhance the API's documentation by specifying parameters, request/response schemas, and descriptions for each endpoint, making the API more accessible and easier to use for developers and integrators.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code:
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
  • Test the code:
    1. Deploy the API to a local or test environment.
    2. Open the Swagger UI documentation interface (typically /docs or /swagger).
    3. Verify that the updated comment blocks render correctly with all intended parameters and response details.

What to Check

Verify that the following are valid:

  • Each endpoint displays its Swagger documentation properly in the UI.
  • The added comment blocks align with the actual request and response schemas for the following endpoints:
    • /input_task
    • /human_feedback
    • /human_clarification_on_plan
    • /approve_step_or_steps
    • /plans
    • /steps/{plan_id}
    • /agent_messages/{session_id}
    • /messages (GET and DELETE)
    • /api/agent-tools

Other Information

These changes are intended to improve developer experience and API usability. They do not modify the API's underlying functionality or introduce breaking changes.

src/backend/app.py Outdated Show resolved Hide resolved
@Fr4nc3 Fr4nc3 marked this pull request as ready for review January 2, 2025 20:11
documentation/CustomizeSolution.md Outdated Show resolved Hide resolved
documentation/CustomizeSolution.md Outdated Show resolved Hide resolved
documentation/CustomizeSolution.md Outdated Show resolved Hide resolved
documentation/CustomizeSolution.md Show resolved Hide resolved
@Roopan-Microsoft Roopan-Microsoft merged commit 5eb5afb into microsoft:main Jan 8, 2025
2 checks passed
Copy link

github-actions bot commented Jan 9, 2025

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants