registry/internal/api
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Radoslav Dimitrov 3762542ddc
Ensure registry API implements the reference openapi schema (#568)
<!-- Provide a brief summary of your changes -->

## Motivation and Context
<!-- Why is this change needed? What problem does it solve? -->
The following PR adds a simple unit test to ensure the served API
handlers are a superset of the reference OpenAPI schema.

## How Has This Been Tested?
<!-- Have you tested this in a real application? Which scenarios were
tested? -->

## Breaking Changes
<!-- Will users need to update their code or configurations? -->

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] 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 change)
- [ ] Documentation update

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [ ] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [ ] My code follows the repository's style guidelines
- [ ] New and existing tests pass locally
- [ ] I have added appropriate error handling
- [ ] I have added or updated documentation as needed

## Additional context
<!-- Add any other context, implementation notes, or design decisions
-->
Fixes: https://github.com/modelcontextprotocol/registry/issues/567

---------

Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
2025-09-29 13:53:54 -07:00
..
handlers/v0 Changes on the server.json format and the API (#562) 2025-09-29 23:30:35 +03:00
router feat: Add proper 404 error handling with helpful suggestions (#421) 2025-09-10 13:14:49 -07:00
openapi_compliance_test.go Ensure registry API implements the reference openapi schema (#568) 2025-09-29 13:53:54 -07:00
server.go fix: add HTTP middleware to redirect trailing slash URLs to canonical form (#420) 2025-09-10 13:14:59 -07:00
server_test.go fix: add HTTP middleware to redirect trailing slash URLs to canonical form (#420) 2025-09-10 13:14:59 -07:00