Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/reference/artifact-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ apim-artifacts/
│ ├── policy.xml # API-level policy
│ ├── specification.yaml # OpenAPI spec (if applicable)
│ ├── wiki.md # API wiki (if exists)
│ ├── mcpServerInformation.json # MCP server config (if exists)
│ ├── operations/
│ │ └── get-pets/
│ │ └── policy.xml # Operation-level policy
Expand Down Expand Up @@ -151,7 +150,7 @@ All 34 APIM resource types and their artifact mappings:
| ApiWiki | `apis/{api}` | `wiki.md` |
| GraphQLResolver | `apis/{api}/resolvers/{resolver}` | `resolverInformation.json` |
| GraphQLResolverPolicy | `apis/{api}/resolvers/{resolver}` | `policy.xml` |
| McpServer | `apis/{api}` | `mcpServerInformation.json` |
| McpServer | `apis/{api}` | _embedded in `apiInformation.json`_ |

### Gateway Child Resources

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/resource-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Resources scoped to a specific API.
| ApiWiki | `/apis/{name}/wikis/default` | `apis/{0}` | `wiki.md` | Markdown documentation page for an API |
| GraphQLResolver | `/apis/{name}/resolvers/{resolver}` | `apis/{0}/resolvers/{1}` | `resolverInformation.json` | GraphQL field resolver configuration |
| GraphQLResolverPolicy | `/apis/{name}/resolvers/{resolver}/policies/policy` | `apis/{0}/resolvers/{1}` | `policy.xml` | Policy applied to a GraphQL resolver |
| McpServer | `/apis/{name}/mcpServers/default` | `apis/{0}` | `mcpServerInformation.json` | MCP (Model Context Protocol) server linked to an API |
| McpServer | `/apis/{name}/mcpServers/default` | `apis/{0}` | _embedded in `apiInformation.json`_ | MCP (Model Context Protocol) server linked to an API |

## Gateway Resources

Expand Down
6 changes: 2 additions & 4 deletions tests/integration/all-resource-types/expected-structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -614,15 +614,13 @@
},
{
"name": "src-mcp-todos",
"files": ["apiInformation.json", "mcpServerInformation.json", "policy.xml"],
"files": ["apiInformation.json", "policy.xml"],
"spotChecks": {
"apiInformation.json": {
"properties.displayName": "KS MCP Todos Server",
"properties.path": "ks/mcp-todos",
"properties.type": "mcp",
"properties.subscriptionRequired": false
},
"mcpServerInformation.json": {
"properties.subscriptionRequired": false,
"properties.mcpProperties.endpoints.mcp.uriTemplate": "/mcp",
"properties.mcpTools": "exists"
}
Expand Down