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

Feature/update api example outputs #2547

Conversation

MrSimonC
Copy link
Contributor

@MrSimonC MrSimonC commented Oct 28, 2024

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #2546

What is in this change?

This PR updates the documentation for the /v1/workspace/{slug} endpoint to reflect the actual API response, which is an array of workspaces, rather than a single workspace object.

Additional Information

This change is related to a docus improvement report #2546 where the inconsistent API response was identified. The updated documentation should help clarify the expected response for developers using the API.

Developer Validations

I've ran node init.js at /workspaces/anything-llm/server/swagger location to generate the openapi.json file.

[ ] I ran yarn lint from the root of the repo & committed changes
[x] Relevant documentation has been updated
[x] I have tested my code functionality
[ ] Docker build succeeds locally

@timothycarambat timothycarambat self-assigned this Oct 29, 2024
@timothycarambat timothycarambat merged commit ccde891 into Mintplex-Labs:master Oct 29, 2024
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.

[DOCS]: Inconsistent API Response for /v1/workspace/{slug} Endpoint
2 participants