[PR #10946] Add swaggo annotations #13400

Closed
opened 2026-04-13 00:26:05 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/10946

State: closed
Merged: No


Closes #3383

This PR implements the OpenAPI specification support requested in #3383, providing:

  • Comprehensive Swagger annotations for all API endpoints
  • OpenAPI spec generation using swaggo/swag
  • Documentation for developers and security testing tools

Note to Maintainers

I realize I should have opened an issue first to discuss this non-trivial change as outlined in the contributing guidelines. However, I discovered that issue #3383 already exists and perfectly describes what this PR implements.

I'm happy to make any adjustments based on feedback, and I appreciate the thorough contribution guidelines that help maintain code quality.

Thank you for maintaining such a valuable project! 🙏

**Original Pull Request:** https://github.com/ollama/ollama/pull/10946 **State:** closed **Merged:** No --- Closes #3383 This PR implements the OpenAPI specification support requested in #3383, providing: - Comprehensive Swagger annotations for all API endpoints - OpenAPI spec generation using swaggo/swag - Documentation for developers and security testing tools --- ## Note to Maintainers I realize I should have opened an issue first to discuss this non-trivial change as outlined in the contributing guidelines. However, I discovered that issue #3383 already exists and perfectly describes what this PR implements. I'm happy to make any adjustments based on feedback, and I appreciate the thorough contribution guidelines that help maintain code quality. Thank you for maintaining such a valuable project! 🙏
GiteaMirror added the pull-request label 2026-04-13 00:26:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13400