You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-8Lines changed: 19 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,25 +54,36 @@ extensions that provide fine-grained control over API interactions:
54
54
-**`x-examples`**: Add request/response examples for better documentation
55
55
-**`x-remap-path-to-header`**: Map path parameters to request headers
56
56
-**`x-custom-base-url`**: Override base URL per operation
57
+
-**`x-custom-path`**: Override operation path
57
58
-**`x-sensitive-params`**: Mark sensitive data for automatic redaction
58
59
-**`x-sensitive-response-fields`**: Mark response fields as sensitive
59
60
60
61
#### Response Processing Extensions
61
62
62
63
-**`x-response-config`**: Control response handling:
63
64
- Maximum response length limits
64
-
-`includeResponseKeys`: Specify which keys to include in the response (all others will be excluded)
65
+
-`includeResponseKeys`: Specify which keys to include in the response (all
66
+
others will be excluded)
65
67
- Supports dot notation for nested fields (e.g., `user.profile.email`)
66
-
- Supports wildcards: `*` for single level, `**` for all nested levels (e.g., `data.*.id`, `user.**`)
67
-
- Single words without dots will match all properties with that name at any level
68
+
- Supports wildcards: `*` for single level, `**` for all nested levels
69
+
(e.g., `data.*.id`, `user.**`)
70
+
- Single words without dots will match all properties with that name at any
71
+
level
68
72
-`excludeResponseKeys`: Specify which keys to exclude from the response
69
73
- Supports dot notation for nested fields (e.g., `user.profile.address`)
70
-
- Supports wildcards: `*` for single level, `**` for all nested levels (e.g., `data.*.secret`, `credentials.**`)
71
-
- Single words without dots will match all properties with that name at any level (e.g., `secret` will exclude all properties named "secret" at any depth)
72
-
-`sensitiveResponseFields`: Mark specific fields as sensitive (will be replaced with "\*SENSITIVE\*")
74
+
- Supports wildcards: `*` for single level, `**` for all nested levels
75
+
(e.g., `data.*.secret`, `credentials.**`)
76
+
- Single words without dots will match all properties with that name at any
77
+
level (e.g., `secret` will exclude all properties named "secret" at any
78
+
depth)
79
+
-`sensitiveResponseFields`: Mark specific fields as sensitive (will be
80
+
replaced with "\*SENSITIVE\*")
73
81
- Supports dot notation for nested fields (e.g., `user.token`)
74
-
- Supports wildcards: `*` for single level, `**` for all nested levels (e.g., `*.password`, `**.secret`)
75
-
- Single words without dots will match all properties with that name at any level (e.g., `password` will mask all properties named "password" at any depth)
82
+
- Supports wildcards: `*` for single level, `**` for all nested levels
83
+
(e.g., `*.password`, `**.secret`)
84
+
- Single words without dots will match all properties with that name at any
85
+
level (e.g., `password` will mask all properties named "password" at any
86
+
depth)
76
87
-**`x-tree-shaking-func`**: Custom response data filtering
Copy file name to clipboardExpand all lines: deno.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@mcpc/oapi-invoker-mcp",
3
-
"version": "0.1.4",
3
+
"version": "0.1.5",
4
4
"description": "Invokes any OpenAPI through Model Context Protocol (MCP) server, supporting specification patches, custom authentication protocols, and data encryption/decryption",
0 commit comments