zuplo 7.15.32 → 7.15.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/ai-gateway/azure-ai.mdx +2 -6
- package/docs/ai-gateway/bedrock-mantle.mdx +2 -6
- package/docs/ai-gateway/cookbooks/data-residency.mdx +3 -7
- package/docs/ai-gateway/custom-pricing.mdx +54 -0
- package/docs/ai-gateway/guardrails.mdx +1 -3
- package/docs/ai-gateway/jev.mdx +35 -0
- package/docs/ai-gateway/managing-apps.mdx +17 -0
- package/docs/ai-gateway/managing-providers.mdx +11 -0
- package/docs/ai-gateway/observability/analytics.mdx +2 -2
- package/docs/ai-gateway/openrouter.mdx +20 -0
- package/docs/ai-gateway/routing.mdx +50 -15
- package/docs/ai-gateway/universal-api.mdx +50 -6
- package/docs/ai-gateway/user-apps.mdx +44 -2
- package/docs/ai-gateway/vertex-ai.mdx +5 -13
- package/docs/analytics/shared-controls.md +5 -0
- package/docs/analytics/tabs/consumers.md +36 -0
- package/docs/articles/api-key-api.mdx +16 -1
- package/docs/articles/api-key-buckets.mdx +1 -1
- package/docs/articles/api-key-consumer-bucket-portal-ui.mdx +1 -1
- package/docs/articles/api-key-self-serve-integration.mdx +1 -1
- package/docs/articles/api-lint-configuration.mdx +21 -0
- package/docs/articles/api-lint-custom-rules.mdx +6 -0
- package/docs/articles/branch-based-deployments.mdx +11 -3
- package/docs/articles/ci-cd-azure/multi-stage-deployment.mdx +2 -2
- package/docs/articles/ci-cd-azure/pr-preview-environments.mdx +23 -4
- package/docs/articles/ci-cd-azure/tag-based-releases.mdx +1 -1
- package/docs/articles/ci-cd-bitbucket/multi-stage-deployment.mdx +3 -4
- package/docs/articles/ci-cd-bitbucket/pr-preview-environments.mdx +6 -5
- package/docs/articles/ci-cd-bitbucket/tag-based-releases.mdx +1 -1
- package/docs/articles/ci-cd-circleci/multi-stage-deployment.mdx +2 -3
- package/docs/articles/ci-cd-circleci/pr-preview-environments.mdx +6 -5
- package/docs/articles/ci-cd-circleci/tag-based-releases.mdx +1 -3
- package/docs/articles/ci-cd-github/basic-deployment.mdx +6 -6
- package/docs/articles/ci-cd-github/cleanup-on-branch-delete.mdx +8 -20
- package/docs/articles/ci-cd-github/deploy-and-test.mdx +3 -3
- package/docs/articles/ci-cd-github/local-testing.mdx +1 -1
- package/docs/articles/ci-cd-github/multi-stage-deployment.mdx +2 -3
- package/docs/articles/ci-cd-github/pr-preview-environments.mdx +20 -31
- package/docs/articles/ci-cd-github/tag-based-releases.mdx +5 -3
- package/docs/articles/ci-cd-gitlab/mr-preview-environments.mdx +10 -4
- package/docs/articles/ci-cd-gitlab/multi-stage-deployment.mdx +3 -3
- package/docs/articles/ci-cd-gitlab/tag-based-releases.mdx +1 -1
- package/docs/articles/connect-to-aws-alb-with-mtls.mdx +2 -6
- package/docs/articles/custom-ci-cd-azure.mdx +2 -2
- package/docs/articles/custom-ci-cd-bitbucket.mdx +2 -2
- package/docs/articles/custom-ci-cd-circleci.mdx +2 -2
- package/docs/articles/custom-ci-cd-github.mdx +10 -11
- package/docs/articles/custom-ci-cd-gitlab.mdx +2 -2
- package/docs/articles/environment-variables.mdx +55 -0
- package/docs/articles/monetization/api-access.mdx +126 -9
- package/docs/articles/monetization/meters.mdx +49 -2
- package/docs/articles/monetization/subscription-lifecycle.md +117 -19
- package/docs/articles/monetization/usage.mdx +58 -0
- package/docs/articles/monorepo-deployment.mdx +10 -25
- package/docs/articles/openapi.mdx +14 -0
- package/docs/articles/proxy-openai-realtime-api.mdx +6 -2
- package/docs/articles/secure-tunnel.mdx +3 -7
- package/docs/articles/support.mdx +35 -0
- package/docs/articles/testing-preview-environments.mdx +1 -1
- package/docs/caching/custom-caching-policy.mdx +4 -4
- package/docs/caching/dynamic-cache-rules.mdx +3 -3
- package/docs/caching/overview.mdx +2 -6
- package/docs/cli/delete.mdx +50 -0
- package/docs/cli/delete.partial.mdx +52 -0
- package/docs/cli/deploy.mdx +35 -18
- package/docs/cli/deploy.partial.mdx +35 -18
- package/docs/cli/variable-delete.mdx +36 -0
- package/docs/cli/variable-delete.partial.mdx +37 -0
- package/docs/concepts/source-control-and-deployment.mdx +9 -17
- package/docs/concepts/where-zuplo-runs.mdx +4 -12
- package/docs/dedicated/akamai/ai-powered-applications.mdx +5 -15
- package/docs/dedicated/akamai/architecture.mdx +11 -33
- package/docs/dedicated/akamai/hostname-routing.mdx +4 -4
- package/docs/dedicated/architecture.mdx +1 -1
- package/docs/dedicated/source-control.mdx +1 -1
- package/docs/dev-portal/dev-portal-create-consumer-on-auth.mdx +1 -1
- package/docs/dev-portal/overview.mdx +23 -0
- package/docs/dev-portal/zudoku/components/alert.mdx +1 -1
- package/docs/dev-portal/zudoku/configuration/api-reference.md +52 -0
- package/docs/dev-portal/zudoku/configuration/authentication-auth0.md +25 -0
- package/docs/dev-portal/zudoku/configuration/authentication-azure-ad.md +7 -0
- package/docs/dev-portal/zudoku/configuration/authentication-openid.md +48 -2
- package/docs/dev-portal/zudoku/configuration/authentication.md +4 -0
- package/docs/dev-portal/zudoku/configuration/build-configuration.mdx +4 -0
- package/docs/dev-portal/zudoku/configuration/navigation.mdx +15 -1
- package/docs/dev-portal/zudoku/configuration/overview.md +3 -0
- package/docs/dev-portal/zudoku/custom-plugins.md +38 -1
- package/docs/dev-portal/zudoku/guides/server-side-content-protection.md +7 -7
- package/docs/dev-portal/zudoku/openapi-extensions/x-enum-descriptions.md +85 -0
- package/docs/dev-portal/zudoku-partials/configuration/authentication-auth0.partial.md +24 -0
- package/docs/errors/build-error.mdx +58 -0
- package/docs/guides/backend-failover.mdx +9 -8
- package/docs/mcp-gateway/auth/configuring-entra.mdx +59 -0
- package/docs/mcp-gateway/auth/configuring-okta.mdx +30 -6
- package/docs/mcp-gateway/auth/configuring-workos.mdx +26 -0
- package/docs/mcp-gateway/auth/overview.mdx +2 -2
- package/docs/mcp-gateway/auth/upstream-oauth.mdx +1 -1
- package/docs/mcp-gateway/overview.mdx +1 -1
- package/docs/mcp-server/authorize-tool-calls.mdx +6 -2
- package/docs/policies/mcp-entra-oauth-inbound/doc.md +24 -0
- package/docs/policies/mcp-entra-oauth-inbound/schema.json +13 -0
- package/docs/policies/mcp-okta-oauth-inbound/doc.md +9 -2
- package/docs/policies/mcp-okta-oauth-inbound/schema.json +2 -2
- package/docs/policies/mcp-workos-oauth-inbound/doc.md +8 -0
- package/docs/policies/mcp-workos-oauth-inbound/schema.json +7 -0
- package/docs/policies/request-validation-inbound/doc.md +54 -0
- package/docs/programmable-api/environment.mdx +10 -2
- package/package.json +5 -5
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: x-enum-descriptions
|
|
3
|
+
sidebar_icon: list
|
|
4
|
+
applies_to:
|
|
5
|
+
product: developer-portal
|
|
6
|
+
hosting: all
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Use `x-enum-descriptions` to explain what each value of an `enum` means. Dev Portal lists the
|
|
10
|
+
descriptions next to their values wherever the enum is shown: in request and response schemas,
|
|
11
|
+
object properties, and parameters. Without it, readers see the values only.
|
|
12
|
+
|
|
13
|
+
Dev Portal accepts both `x-enum-descriptions` and `x-enumDescriptions`. If a schema sets both, the
|
|
14
|
+
camelCase `x-enumDescriptions` takes precedence.
|
|
15
|
+
|
|
16
|
+
## Location
|
|
17
|
+
|
|
18
|
+
The extension is added at the **Schema Object** level, next to the `enum` it describes. For an
|
|
19
|
+
array, add it to the `items` schema. For a parameter, add it to the parameter's `schema`.
|
|
20
|
+
|
|
21
|
+
| Option | Type | Description |
|
|
22
|
+
| --------------------------------------------- | ---------------------- | --------------------------------------------------------------- |
|
|
23
|
+
| `x-enum-descriptions` or `x-enumDescriptions` | `object` or `string[]` | A description for each enum value, in one of the formats below. |
|
|
24
|
+
|
|
25
|
+
## Formats
|
|
26
|
+
|
|
27
|
+
### Map of values to descriptions
|
|
28
|
+
|
|
29
|
+
Use an object whose keys are enum values and whose values are descriptions.
|
|
30
|
+
|
|
31
|
+
```yaml
|
|
32
|
+
status:
|
|
33
|
+
type: string
|
|
34
|
+
enum: [CREATED, IN_TRANSIT, DELIVERED, EXCEPTION]
|
|
35
|
+
x-enum-descriptions:
|
|
36
|
+
CREATED: Manifest logged and cargo sealed in the stasis bay, awaiting launch clearance.
|
|
37
|
+
IN_TRANSIT: Cargo is aboard a freighter, currently in warp between waypoints.
|
|
38
|
+
DELIVERED: Docked at the destination port and signed for by the recipient.
|
|
39
|
+
EXCEPTION: Delayed by an anomaly such as an ion storm, customs hold or quantum drift.
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Map nested under `values`
|
|
43
|
+
|
|
44
|
+
Some generators wrap the same map in a `values` property. Dev Portal reads it the same way.
|
|
45
|
+
|
|
46
|
+
```yaml
|
|
47
|
+
status:
|
|
48
|
+
type: string
|
|
49
|
+
enum: [CREATED, IN_TRANSIT, DELIVERED, EXCEPTION]
|
|
50
|
+
x-enum-descriptions:
|
|
51
|
+
values:
|
|
52
|
+
CREATED: Manifest logged and cargo sealed in the stasis bay.
|
|
53
|
+
IN_TRANSIT: Cargo is aboard a freighter, currently in warp.
|
|
54
|
+
DELIVERED: Docked at the destination port and signed for.
|
|
55
|
+
EXCEPTION: Delayed by an anomaly such as an ion storm.
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Array aligned with `enum`
|
|
59
|
+
|
|
60
|
+
Use an array of strings where each entry describes the `enum` value at the same position. Tools such
|
|
61
|
+
as openapi-generator emit this format.
|
|
62
|
+
|
|
63
|
+
```yaml
|
|
64
|
+
status:
|
|
65
|
+
type: string
|
|
66
|
+
enum: [CREATED, IN_TRANSIT, DELIVERED, EXCEPTION]
|
|
67
|
+
x-enum-descriptions:
|
|
68
|
+
- Manifest logged and cargo sealed in the stasis bay.
|
|
69
|
+
- Cargo is aboard a freighter, currently in warp.
|
|
70
|
+
- Docked at the destination port and signed for.
|
|
71
|
+
- Delayed by an anomaly such as an ion storm.
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Keep the array in the same order as `enum`. Dev Portal pairs entries by position, ignores empty entries,
|
|
75
|
+
and ignores entries beyond the length of `enum`.
|
|
76
|
+
|
|
77
|
+
## Behavior
|
|
78
|
+
|
|
79
|
+
- A value without a description is still listed in the enum, with an empty description.
|
|
80
|
+
- Entries that aren't strings are ignored.
|
|
81
|
+
- If no usable descriptions remain, Dev Portal shows the plain list of enum values.
|
|
82
|
+
|
|
83
|
+
## Related
|
|
84
|
+
|
|
85
|
+
- [`x-display-name`](./x-display-name) — set a friendlier label for a tag
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## Auth0 with Zuplo API key management
|
|
2
|
+
|
|
3
|
+
If your Developer Portal uses
|
|
4
|
+
[Zuplo API key management](/docs/articles/api-key-management) so consumers can
|
|
5
|
+
create and manage their own keys, set `audience` in your Auth0 configuration.
|
|
6
|
+
Zuplo API key management requires a JWT access token. Without an `audience`,
|
|
7
|
+
Auth0 issues an opaque access token, and the portal can't use it to manage API
|
|
8
|
+
keys. When this happens, the portal shows a "Configuration Error" explaining
|
|
9
|
+
that the authentication provider issued an opaque token.
|
|
10
|
+
|
|
11
|
+
Create an API in Auth0 as described in the optional audience step earlier on
|
|
12
|
+
this page, then set `audience` to that API's identifier:
|
|
13
|
+
|
|
14
|
+
```typescript title="docs/zudoku.config.tsx"
|
|
15
|
+
authentication: {
|
|
16
|
+
type: "auth0",
|
|
17
|
+
domain: "your-domain.us.auth0.com",
|
|
18
|
+
clientId: "<your-auth0-client-id>",
|
|
19
|
+
audience: "https://your-domain.com/api", // Your Auth0 API identifier
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Use the RS256 signing algorithm for the Auth0 API. If your portal doesn't use
|
|
24
|
+
API key management, you can still leave `audience` unset.
|
|
@@ -16,9 +16,67 @@ the project fails to compile during deployment.
|
|
|
16
16
|
installed or does not exist.
|
|
17
17
|
- **Invalid route configuration** - The `routes.oas.json` file contains syntax
|
|
18
18
|
errors or references policies or handlers that do not exist.
|
|
19
|
+
- **Missing export** - A policy or route handler refers to an export that its
|
|
20
|
+
module doesn't contain. See [Missing export](#missing-export).
|
|
21
|
+
- **Schema errors in `policies.json` and routes** - A value in
|
|
22
|
+
`config/policies.json` or in a route's `x-zuplo-route` doesn't match the
|
|
23
|
+
expected format. See
|
|
24
|
+
[Schema errors in policies.json and routes](#schema-errors-in-policiesjson-and-routes).
|
|
19
25
|
- **Incompatible dependencies** - A package dependency has version conflicts or
|
|
20
26
|
is not compatible with the Zuplo runtime.
|
|
21
27
|
|
|
28
|
+
## Missing export
|
|
29
|
+
|
|
30
|
+
If the `export` of a policy in `config/policies.json`, or of a route handler,
|
|
31
|
+
isn't in the module that `module` names, the build fails. The error names the
|
|
32
|
+
export, the module, and the policy:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
Could not find export "McpCapabilityFilterInboundPolicy" in '@zuplo/runtime' for
|
|
36
|
+
policy 'mcp-capability-filter-inbound' at /policies/0/handler in
|
|
37
|
+
/config/policies.json. It is exported from '@zuplo/runtime/mcp-gateway'; set
|
|
38
|
+
"module" to "$import(@zuplo/runtime/mcp-gateway)".
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
To fix it:
|
|
42
|
+
|
|
43
|
+
- Check the spelling and capitalization of `export`. When a similar name exists
|
|
44
|
+
in the module, the error suggests it (`Did you mean 'MyPolicy'?`).
|
|
45
|
+
- If the export lives in a different entry point of the same package, the error
|
|
46
|
+
names it. Change `module` to that entry point. For example, policies for the
|
|
47
|
+
MCP Gateway come from `$import(@zuplo/runtime/mcp-gateway)`, not from
|
|
48
|
+
`$import(@zuplo/runtime)`.
|
|
49
|
+
- For a custom module, make sure the file exports the name and compiles without
|
|
50
|
+
errors.
|
|
51
|
+
|
|
52
|
+
A policy that no route uses only produces a warning, because nothing calls it
|
|
53
|
+
yet. The build fails as soon as a route uses that policy.
|
|
54
|
+
|
|
55
|
+
## Schema errors in policies.json and routes
|
|
56
|
+
|
|
57
|
+
The build validates `config/policies.json` and the `x-zuplo-route` of every
|
|
58
|
+
route in your OpenAPI files. Each error names the file and the
|
|
59
|
+
[JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901) of the invalid
|
|
60
|
+
value, and quotes the value when it's short:
|
|
61
|
+
|
|
62
|
+
```text
|
|
63
|
+
Must match pattern "^[0-9a-z-]+$". Found "$env(POLICY_NAME)" at /policies/0/name
|
|
64
|
+
in /config/policies.json.
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
Value of property 'corsPolicy' must be 'string'. Found 42 at
|
|
69
|
+
/paths/~1todos~1{id}/get/x-zuplo-route/corsPolicy in ./config/routes.oas.json.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Use the pointer to find the value. In the first example, `/policies/0/name` is
|
|
73
|
+
the `name` of the first entry in `policies`. Fix the value so that it matches
|
|
74
|
+
the format the message describes.
|
|
75
|
+
|
|
76
|
+
[`$env()`](../programmable-api/environment.mdx#where-env-is-allowed) is only
|
|
77
|
+
allowed in some locations. Using it in a policy `name`, for example, produces a
|
|
78
|
+
schema error like the first one above.
|
|
79
|
+
|
|
22
80
|
## How to access build logs
|
|
23
81
|
|
|
24
82
|
1. Open the Zuplo portal and navigate to the project.
|
|
@@ -39,18 +39,19 @@ CDN provider.
|
|
|
39
39
|
<DiagramNode id="gateway" variant="zuplo">
|
|
40
40
|
Zuplo Gateway
|
|
41
41
|
</DiagramNode>
|
|
42
|
-
<DiagramNode id="lb"
|
|
43
|
-
Global load balancer or DNS
|
|
44
|
-
</DiagramNode>
|
|
42
|
+
<DiagramNode id="lb">Global load balancer or DNS</DiagramNode>
|
|
45
43
|
<DiagramNode id="primary" variant="green">
|
|
46
44
|
Primary region
|
|
47
45
|
</DiagramNode>
|
|
48
|
-
<DiagramNode id="secondary"
|
|
49
|
-
|
|
50
|
-
</DiagramNode>
|
|
51
|
-
<DiagramEdge from="gateway" to="lb" label="api-origin.example.com" />
|
|
46
|
+
<DiagramNode id="secondary">Secondary region</DiagramNode>
|
|
47
|
+
<DiagramEdge from="gateway" to="lb" label="`api-origin.example.com`" />
|
|
52
48
|
<DiagramEdge from="lb" to="primary" label="healthy" />
|
|
53
|
-
<DiagramEdge
|
|
49
|
+
<DiagramEdge
|
|
50
|
+
from="lb"
|
|
51
|
+
to="secondary"
|
|
52
|
+
label="on failover"
|
|
53
|
+
lineStyle="dashed"
|
|
54
|
+
/>
|
|
54
55
|
</Diagram>
|
|
55
56
|
|
|
56
57
|
This keeps failover out of the gateway:
|
|
@@ -91,6 +91,53 @@ Add the policy to `config/policies.json`:
|
|
|
91
91
|
Set the three environment variables in your project's environment configuration.
|
|
92
92
|
The secret values belong in the project secret store.
|
|
93
93
|
|
|
94
|
+
### Use a national cloud or External ID tenant
|
|
95
|
+
|
|
96
|
+
By default the policy signs users in on the global Microsoft Entra cloud. Set
|
|
97
|
+
`cloud` when your tenant lives elsewhere:
|
|
98
|
+
|
|
99
|
+
| `cloud` | Use for | Sign-in host |
|
|
100
|
+
| ------------------ | --------------------------------------------- | --------------------------- |
|
|
101
|
+
| `global` (default) | Microsoft Entra ID | `login.microsoftonline.com` |
|
|
102
|
+
| `us-government` | Microsoft Entra ID for US Government | `login.microsoftonline.us` |
|
|
103
|
+
| `china` | Microsoft Entra ID operated by 21Vianet | `login.chinacloudapi.cn` |
|
|
104
|
+
| `external-id` | Microsoft Entra External ID (external tenant) | `{tenantId}.ciamlogin.com` |
|
|
105
|
+
|
|
106
|
+
```json
|
|
107
|
+
{
|
|
108
|
+
"options": {
|
|
109
|
+
"tenantId": "$env(ENTRA_TENANT_ID)",
|
|
110
|
+
"cloud": "us-government",
|
|
111
|
+
"clientId": "$env(ENTRA_CLIENT_ID)",
|
|
112
|
+
"clientSecret": "$env(ENTRA_CLIENT_SECRET)"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
For an External ID tenant, register the application in the external tenant and
|
|
118
|
+
use that tenant's ID as `tenantId`.
|
|
119
|
+
|
|
120
|
+
If your External ID tenant uses a
|
|
121
|
+
[custom URL domain](https://learn.microsoft.com/entra/external-id/customers/how-to-custom-url-domain),
|
|
122
|
+
also set `customDomain` to that hostname. Users sign in on the custom domain,
|
|
123
|
+
and the policy keeps validating tokens against the issuer External ID puts in
|
|
124
|
+
them, `https://{tenantId}.ciamlogin.com/{tenantId}/v2.0`:
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
{
|
|
128
|
+
"options": {
|
|
129
|
+
"tenantId": "$env(ENTRA_TENANT_ID)",
|
|
130
|
+
"cloud": "external-id",
|
|
131
|
+
"customDomain": "login.example.com",
|
|
132
|
+
"clientId": "$env(ENTRA_CLIENT_ID)",
|
|
133
|
+
"clientSecret": "$env(ENTRA_CLIENT_SECRET)"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
`customDomain` is a bare hostname, without `https://`, a port, a trailing slash,
|
|
139
|
+
or a path. It works only with `cloud` set to `external-id`.
|
|
140
|
+
|
|
94
141
|
Attach the policy to each MCP route in `config/routes.oas.json` and register the
|
|
95
142
|
gateway plugin in `modules/zuplo.runtime.ts` (see
|
|
96
143
|
[Configuring Auth0](./configuring-auth0.mdx#wire-the-policy-into-the-gateway)
|
|
@@ -98,6 +145,8 @@ for the route and plugin patterns — they're identical across all wrappers).
|
|
|
98
145
|
|
|
99
146
|
## What the wrapper derives
|
|
100
147
|
|
|
148
|
+
With the default `global` cloud, the wrapper derives:
|
|
149
|
+
|
|
101
150
|
| Generic field | Derived value |
|
|
102
151
|
| ----------------------- | -------------------------------------------------------------------- |
|
|
103
152
|
| `oidc.issuer` | `https://login.microsoftonline.com/{tenantId}/v2.0` |
|
|
@@ -105,6 +154,11 @@ for the route and plugin patterns — they're identical across all wrappers).
|
|
|
105
154
|
| `browserLogin.url` | `https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize` |
|
|
106
155
|
| `browserLogin.tokenUrl` | `https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token` |
|
|
107
156
|
|
|
157
|
+
Other `cloud` values replace `login.microsoftonline.com` with that cloud's
|
|
158
|
+
sign-in host. With `customDomain`, only `browserLogin.url` and
|
|
159
|
+
`browserLogin.tokenUrl` move to the custom domain; `oidc.issuer` and
|
|
160
|
+
`oidc.jwksUrl` stay on `{tenantId}.ciamlogin.com`.
|
|
161
|
+
|
|
108
162
|
## Test the configuration
|
|
109
163
|
|
|
110
164
|
The fastest sanity check is to connect an MCP client:
|
|
@@ -130,6 +184,11 @@ endpoint with `curl` so you can see the raw responses.
|
|
|
130
184
|
- **`AADSTS700016` application not found.** The client ID doesn't belong to the
|
|
131
185
|
tenant the wrapper is configured with. Make sure `tenantId` and `clientId`
|
|
132
186
|
come from the same app registration.
|
|
187
|
+
- **`customDomain is only supported with cloud "external-id"` at boot.** Custom
|
|
188
|
+
URL domains apply only to External ID tenants. Set `cloud` to `external-id`,
|
|
189
|
+
or remove `customDomain`.
|
|
190
|
+
- **Sign-in fails for a US Government, 21Vianet, or External ID tenant.** The
|
|
191
|
+
policy is using the global cloud. Set `cloud` to match where the tenant lives.
|
|
133
192
|
|
|
134
193
|
## Related
|
|
135
194
|
|
|
@@ -83,12 +83,31 @@ Add the policy to `config/policies.json`:
|
|
|
83
83
|
|
|
84
84
|
:::caution
|
|
85
85
|
|
|
86
|
-
`oktaDomain` is a **bare hostname
|
|
87
|
-
`acme.
|
|
88
|
-
|
|
86
|
+
`oktaDomain` is a **bare hostname**: the domain your users sign in on. Use your
|
|
87
|
+
Okta org domain, such as `acme.okta.com` or `acme.okta-emea.com`, or your Okta
|
|
88
|
+
custom domain, such as `login.example.com`. Don't include `https://`, a port, a
|
|
89
|
+
trailing slash, or an `/oauth2/...` path.
|
|
89
90
|
|
|
90
91
|
:::
|
|
91
92
|
|
|
93
|
+
### Use an Okta custom domain
|
|
94
|
+
|
|
95
|
+
If your users sign in on an
|
|
96
|
+
[Okta custom domain](https://developer.okta.com/docs/guides/custom-url-domain/main/),
|
|
97
|
+
set `oktaDomain` to that domain. The policy derives the issuer from
|
|
98
|
+
`oktaDomain`, and the issuer in Okta's tokens must match it exactly:
|
|
99
|
+
|
|
100
|
+
1. Set the issuer to **Custom URL** or **Dynamic** so tokens carry the custom
|
|
101
|
+
domain instead of the Okta org domain:
|
|
102
|
+
- For a custom authorization server, open **Security → API → Authorization
|
|
103
|
+
Servers**, edit the server, and change **Issuer**.
|
|
104
|
+
- For the org authorization server, open the application's **Sign On** tab
|
|
105
|
+
and change **Issuer** under **OpenID Connect ID Token**.
|
|
106
|
+
2. Confirm the `issuer` value at
|
|
107
|
+
`https://<oktaDomain>/.well-known/openid-configuration`, or
|
|
108
|
+
`https://<oktaDomain>/oauth2/<authorizationServerId>/.well-known/openid-configuration`
|
|
109
|
+
for a custom authorization server.
|
|
110
|
+
|
|
92
111
|
Set the three environment variables in your project's environment configuration.
|
|
93
112
|
`OKTA_DOMAIN` goes in plain config; the secret values belong in the project
|
|
94
113
|
secret store.
|
|
@@ -151,7 +170,7 @@ policy by name to each route.
|
|
|
151
170
|
|
|
152
171
|
| Option | Required | Default | Notes |
|
|
153
172
|
| ----------------------------------------- | -------- | ---------------------- | ------------------------------------------------------------------------------------- |
|
|
154
|
-
| `oktaDomain` | yes | — |
|
|
173
|
+
| `oktaDomain` | yes | — | Okta org or custom domain as a bare hostname (`acme.okta.com`, `login.example.com`). |
|
|
155
174
|
| `authorizationServerId` | no | unset (org server) | Name of an Okta custom authorization server, e.g. `default`. |
|
|
156
175
|
| `clientId` | yes | — | Okta application client ID. |
|
|
157
176
|
| `clientSecret` | yes | — | Okta application client secret. Use `$env(...)`. |
|
|
@@ -180,8 +199,13 @@ endpoint with `curl` so you can see the raw responses.
|
|
|
180
199
|
|
|
181
200
|
## Common issues
|
|
182
201
|
|
|
183
|
-
-
|
|
184
|
-
trailing slash, or path. Use
|
|
202
|
+
- **`oktaDomain must be a bare hostname` at boot.** `oktaDomain` includes a
|
|
203
|
+
scheme prefix, port, trailing slash, or path. Use a hostname such as
|
|
204
|
+
`acme.okta.com` or `login.example.com`.
|
|
205
|
+
- **Token validation fails with an issuer mismatch on a custom domain.** The
|
|
206
|
+
authorization server still issues tokens with the Okta org domain as the
|
|
207
|
+
issuer. Set **Issuer** to **Custom URL** or **Dynamic**, as described in
|
|
208
|
+
[Use an Okta custom domain](#use-an-okta-custom-domain).
|
|
185
209
|
- **Browser login redirects but the callback fails.** The
|
|
186
210
|
`https://<gateway-host>/__zuplo/oauth/callback` URL isn't on the application's
|
|
187
211
|
**Sign-in redirect URIs** allow-list in Okta.
|
|
@@ -88,6 +88,29 @@ WorkOS keys its OIDC issuer by the client ID. Given a `clientId` like
|
|
|
88
88
|
These endpoint shapes come from WorkOS OIDC discovery at
|
|
89
89
|
`https://api.workos.com/user_management/{clientId}/.well-known/openid-configuration`.
|
|
90
90
|
|
|
91
|
+
## Use a WorkOS custom domain
|
|
92
|
+
|
|
93
|
+
If you configured a custom authentication API domain in WorkOS, set
|
|
94
|
+
`apiHostname` to it:
|
|
95
|
+
|
|
96
|
+
```json
|
|
97
|
+
{
|
|
98
|
+
"options": {
|
|
99
|
+
"clientId": "$env(WORKOS_CLIENT_ID)",
|
|
100
|
+
"apiHostname": "auth.example.com",
|
|
101
|
+
"clientSecret": "$env(WORKOS_CLIENT_SECRET)"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Every derived URL above then uses that host instead of `api.workos.com`, so the
|
|
107
|
+
issuer matches the one WorkOS puts in tokens issued on your domain. Confirm the
|
|
108
|
+
`issuer` value at
|
|
109
|
+
`https://<apiHostname>/user_management/<clientId>/.well-known/openid-configuration`.
|
|
110
|
+
|
|
111
|
+
`apiHostname` is a bare hostname, without `https://`, a port, a trailing slash,
|
|
112
|
+
or a path.
|
|
113
|
+
|
|
91
114
|
## Test the configuration
|
|
92
115
|
|
|
93
116
|
The fastest sanity check is to connect an MCP client:
|
|
@@ -113,6 +136,9 @@ endpoint with `curl` so you can see the raw responses.
|
|
|
113
136
|
- **JWKS fetch fails.** The client ID doesn't match the API key's environment.
|
|
114
137
|
Make sure both `clientId` and `clientSecret` come from the same WorkOS
|
|
115
138
|
environment.
|
|
139
|
+
- **Token validation fails with an issuer mismatch.** WorkOS issues tokens on
|
|
140
|
+
your custom authentication API domain, but the policy still uses
|
|
141
|
+
`api.workos.com`. Set `apiHostname` to the custom domain.
|
|
116
142
|
|
|
117
143
|
## Related
|
|
118
144
|
|
|
@@ -182,11 +182,11 @@ endpoints automatically. Under the hood every wrapper composes the generic
|
|
|
182
182
|
| **Google** | `mcp-google-oauth-inbound` | `clientId`, `clientSecret` | [Google](./configuring-google.mdx) |
|
|
183
183
|
| **Keycloak** | `mcp-keycloak-oauth-inbound` | `keycloakBaseUrl`, `realm`, client creds | [Keycloak](./configuring-keycloak.mdx) |
|
|
184
184
|
| **Logto** | `mcp-logto-oauth-inbound` | `logtoEndpoint`, `clientId`, `clientSecret` | [Logto](./configuring-logto.mdx) |
|
|
185
|
-
| **Microsoft Entra ID** | `mcp-entra-oauth-inbound` | `tenantId
|
|
185
|
+
| **Microsoft Entra ID** | `mcp-entra-oauth-inbound` | `tenantId` (and `cloud`), client creds | [Microsoft Entra](./configuring-entra.mdx) |
|
|
186
186
|
| **Okta** | `mcp-okta-oauth-inbound` | `oktaDomain`, client creds | [Okta](./configuring-okta.mdx) |
|
|
187
187
|
| **OneLogin** | `mcp-onelogin-oauth-inbound` | `oneLoginSubdomain`, client creds | [OneLogin](./configuring-onelogin.mdx) |
|
|
188
188
|
| **PingOne** | `mcp-ping-oauth-inbound` | `environmentId` (or `customDomain`), client creds | [PingOne](./configuring-ping.mdx) |
|
|
189
|
-
| **WorkOS** | `mcp-workos-oauth-inbound` | `clientId
|
|
189
|
+
| **WorkOS** | `mcp-workos-oauth-inbound` | `clientId` (and `apiHostname`), `clientSecret` | [WorkOS](./configuring-workos.mdx) |
|
|
190
190
|
| Any other OIDC IdP (Ory Hydra, Authentik, custom…) | `mcp-oauth-inbound` | `oidc.issuer`, `oidc.jwksUrl`, `browserLogin.url` | [Generic OIDC](./configuring-generic-oidc.mdx) |
|
|
191
191
|
|
|
192
192
|
The upstream side uses a separate policy, `mcp-token-exchange-inbound`, one per
|
|
@@ -142,7 +142,7 @@ message; the user copies it into a browser.
|
|
|
142
142
|
Upstream connect
|
|
143
143
|
</DiagramNode>
|
|
144
144
|
<DiagramNode id="route" variant="zuplo">
|
|
145
|
-
|
|
145
|
+
`/mcp/linear-v1`
|
|
146
146
|
</DiagramNode>
|
|
147
147
|
</DiagramGroup>
|
|
148
148
|
<DiagramNode id="oauth">Linear OAuth</DiagramNode>
|
|
@@ -89,7 +89,6 @@ servers that already exist, this is the right product.
|
|
|
89
89
|
## Architecture
|
|
90
90
|
|
|
91
91
|
<Diagram height="h-[28rem]">
|
|
92
|
-
<DiagramNode id="idp">OIDC Identity Provider</DiagramNode>
|
|
93
92
|
<DiagramGroup id="clients" label="MCP Clients">
|
|
94
93
|
<DiagramNode id="claude">Claude Desktop</DiagramNode>
|
|
95
94
|
<DiagramNode id="cursor">Cursor</DiagramNode>
|
|
@@ -114,6 +113,7 @@ servers that already exist, this is the right product.
|
|
|
114
113
|
<DiagramNode id="notion">Notion</DiagramNode>
|
|
115
114
|
<DiagramNode id="stripe">Stripe</DiagramNode>
|
|
116
115
|
</DiagramGroup>
|
|
116
|
+
<DiagramNode id="idp">OIDC Identity Provider</DiagramNode>
|
|
117
117
|
<DiagramEdge from="auth" to="idp" label="Browser login" />
|
|
118
118
|
<DiagramEdge from="clients" to="gateway" label="Bearer token" />
|
|
119
119
|
<DiagramEdge from="gateway" to="upstream" label="Per-upstream token" />
|
|
@@ -32,8 +32,12 @@ route.
|
|
|
32
32
|
Tool route: authentication, checks, OpenFGA
|
|
33
33
|
</DiagramNode>
|
|
34
34
|
<DiagramNode id="api">Your API</DiagramNode>
|
|
35
|
-
<DiagramEdge from="client" to="mcp" label="tools/call" />
|
|
36
|
-
<DiagramEdge
|
|
35
|
+
<DiagramEdge from="client" to="mcp" label="`tools/call`" />
|
|
36
|
+
<DiagramEdge
|
|
37
|
+
from="mcp"
|
|
38
|
+
to="tool"
|
|
39
|
+
label="`POST /accounts/acc_123/transfers`"
|
|
40
|
+
/>
|
|
37
41
|
<DiagramEdge from="tool" to="api" />
|
|
38
42
|
</Diagram>
|
|
39
43
|
|
|
@@ -17,6 +17,30 @@ Given a Microsoft Entra tenant UUID, the wrapper derives:
|
|
|
17
17
|
| `browserLogin.url` | `https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize` |
|
|
18
18
|
| `browserLogin.tokenUrl` | `https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token` |
|
|
19
19
|
|
|
20
|
+
For a tenant in a national cloud, set `cloud` and the wrapper swaps the host:
|
|
21
|
+
|
|
22
|
+
| `cloud` | Host |
|
|
23
|
+
| ------------------ | --------------------------- |
|
|
24
|
+
| `global` (default) | `login.microsoftonline.com` |
|
|
25
|
+
| `us-government` | `login.microsoftonline.us` |
|
|
26
|
+
| `china` | `login.chinacloudapi.cn` |
|
|
27
|
+
| `external-id` | `{tenantId}.ciamlogin.com` |
|
|
28
|
+
|
|
29
|
+
For a Microsoft Entra External ID tenant with a custom URL domain, also set
|
|
30
|
+
`customDomain`. The browser login URLs move to that host, and the issuer stays
|
|
31
|
+
`https://{tenantId}.ciamlogin.com/{tenantId}/v2.0`, which is what External ID
|
|
32
|
+
puts in tokens:
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"tenantId": "$env(ENTRA_TENANT_ID)",
|
|
37
|
+
"cloud": "external-id",
|
|
38
|
+
"customDomain": "login.example.com",
|
|
39
|
+
"clientId": "$env(ENTRA_CLIENT_ID)",
|
|
40
|
+
"clientSecret": "$env(ENTRA_CLIENT_SECRET)"
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
20
44
|
The policy intentionally requires a tenant UUID. Entra aliases like `common`,
|
|
21
45
|
`organizations`, and `consumers` have issuer semantics that do not match the
|
|
22
46
|
gateway's current exact issuer verification model.
|
|
@@ -41,6 +41,17 @@
|
|
|
41
41
|
"examples": ["$env(ENTRA_TENANT_ID)"],
|
|
42
42
|
"description": "The Microsoft Entra tenant UUID. Multi-tenant aliases like common and organizations are not supported by this policy yet."
|
|
43
43
|
},
|
|
44
|
+
"cloud": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": ["global", "us-government", "china", "external-id"],
|
|
47
|
+
"default": "global",
|
|
48
|
+
"description": "The Microsoft Entra cloud or tenant type. Use us-government for Microsoft Entra ID for US Government (login.microsoftonline.us), china for Microsoft Entra ID operated by 21Vianet (login.chinacloudapi.cn), and external-id for a Microsoft Entra External ID tenant ({tenantId}.ciamlogin.com)."
|
|
49
|
+
},
|
|
50
|
+
"customDomain": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"examples": ["login.example.com"],
|
|
53
|
+
"description": "The External ID custom URL domain users sign in on. Only valid with cloud set to external-id. Moves the browser login endpoints to this host; the token issuer stays on {tenantId}.ciamlogin.com."
|
|
54
|
+
},
|
|
44
55
|
"clientId": {
|
|
45
56
|
"type": "string",
|
|
46
57
|
"examples": ["$env(ENTRA_CLIENT_ID)"],
|
|
@@ -205,6 +216,8 @@
|
|
|
205
216
|
},
|
|
206
217
|
"clientId": "$env(ENTRA_CLIENT_ID)",
|
|
207
218
|
"clientSecret": "$env(ENTRA_CLIENT_SECRET)",
|
|
219
|
+
"cloud": "global",
|
|
220
|
+
"customDomain": "login.example.com",
|
|
208
221
|
"gateway": {
|
|
209
222
|
"accessTokenTtlSeconds": 900,
|
|
210
223
|
"cimdEnabled": true,
|
|
@@ -48,10 +48,17 @@ conventions.
|
|
|
48
48
|
}
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
`oktaDomain`
|
|
52
|
-
`acme.
|
|
51
|
+
`oktaDomain` is the hostname your users sign in on: an Okta org domain like
|
|
52
|
+
`acme.okta.com` or `acme.okta-emea.com`, or an Okta custom domain like
|
|
53
|
+
`login.example.com`. Do not include `https://`, a port, a trailing slash, or an
|
|
53
54
|
authorization server path.
|
|
54
55
|
|
|
56
|
+
If you use a custom domain, the issuer Okta puts in tokens must match the
|
|
57
|
+
derived `oidc.issuer` exactly. Set the authorization server's issuer to the
|
|
58
|
+
custom domain (**Custom URL** or **Dynamic** in Okta), and confirm the `issuer`
|
|
59
|
+
value at `https://{oktaDomain}/.well-known/openid-configuration` (or
|
|
60
|
+
`https://{oktaDomain}/oauth2/{authorizationServerId}/.well-known/openid-configuration`).
|
|
61
|
+
|
|
55
62
|
## Pairing
|
|
56
63
|
|
|
57
64
|
Pair this policy with `McpTokenExchangeInboundPolicy` and `McpProxyHandler`, the
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"properties": {
|
|
39
39
|
"oktaDomain": {
|
|
40
40
|
"type": "string",
|
|
41
|
-
"examples": ["acme.okta.com"],
|
|
42
|
-
"description": "The Okta org domain, without https://, a trailing slash, or a path."
|
|
41
|
+
"examples": ["acme.okta.com", "login.example.com"],
|
|
42
|
+
"description": "The Okta org domain or Okta custom domain, without https://, a port, a trailing slash, or a path."
|
|
43
43
|
},
|
|
44
44
|
"authorizationServerId": {
|
|
45
45
|
"type": "string",
|
|
@@ -20,6 +20,14 @@ Given `clientId: "client_01KC6057N3C66XJAXZ65YHAC72"`, the wrapper derives:
|
|
|
20
20
|
These endpoint shapes come from WorkOS OIDC discovery at
|
|
21
21
|
`https://api.workos.com/user_management/{clientId}/.well-known/openid-configuration`.
|
|
22
22
|
|
|
23
|
+
## Custom domain
|
|
24
|
+
|
|
25
|
+
If you use a WorkOS custom authentication API domain, set `apiHostname` to it,
|
|
26
|
+
for example `"apiHostname": "auth.example.com"`. Every derived URL above then
|
|
27
|
+
uses that host instead of `api.workos.com`, so the issuer matches the `iss`
|
|
28
|
+
claim WorkOS puts in tokens issued on your domain. Confirm the `issuer` value at
|
|
29
|
+
`https://{apiHostname}/user_management/{clientId}/.well-known/openid-configuration`.
|
|
30
|
+
|
|
23
31
|
## Configuration
|
|
24
32
|
|
|
25
33
|
```json
|
|
@@ -41,6 +41,12 @@
|
|
|
41
41
|
"examples": ["$env(WORKOS_CLIENT_ID)"],
|
|
42
42
|
"description": "The WorkOS client\\_id registered for the gateway's browser login flow. The OIDC issuer and JWKS URL are derived from this client ID."
|
|
43
43
|
},
|
|
44
|
+
"apiHostname": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"default": "api.workos.com",
|
|
47
|
+
"examples": ["auth.example.com"],
|
|
48
|
+
"description": "The WorkOS API hostname. Set this to your WorkOS custom authentication API domain when you use one; the OIDC issuer, JWKS URL, and browser login endpoints are derived from it. Omit it to use api.workos.com."
|
|
49
|
+
},
|
|
44
50
|
"clientSecret": {
|
|
45
51
|
"type": "string",
|
|
46
52
|
"examples": ["$env(WORKOS_CLIENT_SECRET)"],
|
|
@@ -192,6 +198,7 @@
|
|
|
192
198
|
"export": "McpWorkosOAuthInboundPolicy",
|
|
193
199
|
"module": "$import(@zuplo/runtime)",
|
|
194
200
|
"options": {
|
|
201
|
+
"apiHostname": "auth.example.com",
|
|
195
202
|
"browserLoginOverrides": {
|
|
196
203
|
"pkce": "none",
|
|
197
204
|
"remoteTimeoutMs": 10000,
|
|
@@ -70,3 +70,57 @@ including:
|
|
|
70
70
|
- Required properties
|
|
71
71
|
- Enum values
|
|
72
72
|
- Complex schemas with allOf, anyOf, oneOf, and not
|
|
73
|
+
|
|
74
|
+
## Compatibility date 2026-11-06
|
|
75
|
+
|
|
76
|
+
From compatibility date `2026-11-06`, the policy validates requests against the
|
|
77
|
+
rules your OpenAPI document declares. For how to adopt the date in an existing
|
|
78
|
+
project, see
|
|
79
|
+
[Compatibility dates](https://zuplo.com/docs/programmable-api/compatibility-dates).
|
|
80
|
+
|
|
81
|
+
- **JSON Schema dialect**: Validation follows the dialect a schema declares in
|
|
82
|
+
`$schema` or `jsonSchemaDialect`. It supports JSON Schema 2020-12, 2019-09,
|
|
83
|
+
draft-07, and draft-06. In draft-07 and draft-06, keywords next to a `$ref`
|
|
84
|
+
other than annotations are ignored, as those dialects specify.
|
|
85
|
+
- **Formats**: Standard formats such as `date-time`, `email`, `hostname`,
|
|
86
|
+
`ipv4`, `ipv6`, `uri`, `uuid`, and the OpenAPI numeric formats are checked as
|
|
87
|
+
their specifications define them. `url`, `binary`, `password`, and unknown
|
|
88
|
+
formats aren't checked, so `format: "url"` doesn't reject an invalid URL. Use
|
|
89
|
+
`format: "uri"` or a `pattern` instead.
|
|
90
|
+
- **Patterns**: A `pattern` is a Unicode regular expression. A pattern such as
|
|
91
|
+
`^\p{L}+$` matches `café`.
|
|
92
|
+
- **Own properties only**: `required` and `properties` look only at properties
|
|
93
|
+
the request sets, so `{}` doesn't satisfy `"required": ["constructor"]`.
|
|
94
|
+
- **Parameter coercion**: Query, path, and header values arrive as strings, and
|
|
95
|
+
the policy still coerces them to the declared type. A query string `?limit=5`
|
|
96
|
+
is valid for `{ "type": "integer" }`.
|
|
97
|
+
- **Path item parameters**: Parameters declared on a path item, rather than on
|
|
98
|
+
an operation, are validated in every location the policy checks. An operation
|
|
99
|
+
parameter with the same `name` and `in` overrides the path item's.
|
|
100
|
+
|
|
101
|
+
Before this date, a request that carried a parameter declared on the path item
|
|
102
|
+
failed with `Validator not found` when the policy validated that location. From
|
|
103
|
+
this date, that error no longer occurs for those parameters. A request that
|
|
104
|
+
breaks the parameter's schema is handled like any other validation failure: a
|
|
105
|
+
`400` response with `reject-only` or `reject-and-log`, and a log entry without
|
|
106
|
+
rejecting the request with `log-only`.
|
|
107
|
+
|
|
108
|
+
```json
|
|
109
|
+
"/users/{id}": {
|
|
110
|
+
"parameters": [
|
|
111
|
+
{
|
|
112
|
+
"name": "id",
|
|
113
|
+
"in": "path",
|
|
114
|
+
"required": true,
|
|
115
|
+
"schema": { "type": "integer", "minimum": 1 }
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"post": { "…": "…" }
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
With `validatePathParameters` set to `reject-only`, `POST /users/3` succeeds and
|
|
123
|
+
`POST /users/0` returns a `400` because `id` is below the minimum.
|
|
124
|
+
|
|
125
|
+
A schema that declares a dialect other than those four fails the build and names
|
|
126
|
+
where the dialect is declared.
|