@sassoftware/sas-score-mcp-serverjs 0.3.9 → 0.3.11
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/package.json +1 -1
- package/src/openAPIJson.js +16 -12
package/package.json
CHANGED
package/src/openAPIJson.js
CHANGED
|
@@ -17,8 +17,9 @@ function openAPIJson(version) {
|
|
|
17
17
|
"produces": ["application/json"],
|
|
18
18
|
"paths": {
|
|
19
19
|
"/health": {
|
|
20
|
-
"
|
|
20
|
+
"GET": {
|
|
21
21
|
"summary": "Health check",
|
|
22
|
+
"operationId": "GetHealth",
|
|
22
23
|
"description": "Returns health and version information.",
|
|
23
24
|
"responses": {
|
|
24
25
|
"200": {
|
|
@@ -38,9 +39,9 @@ function openAPIJson(version) {
|
|
|
38
39
|
}
|
|
39
40
|
},
|
|
40
41
|
"/apiMeta": {
|
|
41
|
-
"
|
|
42
|
-
"summary": "API metadata",
|
|
43
|
-
"
|
|
42
|
+
"GET": {
|
|
43
|
+
"summary": "API metadata using apiMeta",
|
|
44
|
+
"operationId": "GetApiMeta",
|
|
44
45
|
"responses": {
|
|
45
46
|
"200": {
|
|
46
47
|
"description": "OpenAPI document",
|
|
@@ -50,8 +51,9 @@ function openAPIJson(version) {
|
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
53
|
"/openapi.json": {
|
|
53
|
-
"
|
|
54
|
-
"summary": "API metadata",
|
|
54
|
+
"GET": {
|
|
55
|
+
"summary": "API metadata using openapi.json",
|
|
56
|
+
"operationId": "GetOpenApiJson",
|
|
55
57
|
"description": "Returns the OpenAPI specification for this server.",
|
|
56
58
|
"responses": {
|
|
57
59
|
"200": {
|
|
@@ -62,16 +64,17 @@ function openAPIJson(version) {
|
|
|
62
64
|
}
|
|
63
65
|
},
|
|
64
66
|
"/mcp": {
|
|
65
|
-
"
|
|
67
|
+
"OPTIONS": {
|
|
66
68
|
"summary": "CORS preflight",
|
|
69
|
+
"operationId": "OptionsMcp",
|
|
67
70
|
"description": "CORS preflight endpoint.",
|
|
68
71
|
"responses": {
|
|
69
72
|
"204": { "description": "No Content" }
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
|
-
"
|
|
75
|
+
"POST": {
|
|
73
76
|
"summary": "MCP request",
|
|
74
|
-
"
|
|
77
|
+
"operationId": "PostMcp",
|
|
75
78
|
"parameters": [
|
|
76
79
|
{
|
|
77
80
|
"name": "body",
|
|
@@ -119,8 +122,9 @@ function openAPIJson(version) {
|
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
},
|
|
122
|
-
"
|
|
125
|
+
"GET": {
|
|
123
126
|
"summary": "Get MCP session",
|
|
127
|
+
"operationId": "GetMcp",
|
|
124
128
|
"description": "Retrieves information for an MCP session.",
|
|
125
129
|
"parameters": [
|
|
126
130
|
{
|
|
@@ -141,9 +145,9 @@ function openAPIJson(version) {
|
|
|
141
145
|
}
|
|
142
146
|
}
|
|
143
147
|
},
|
|
144
|
-
"
|
|
148
|
+
"DELETE": {
|
|
145
149
|
"summary": "Delete MCP session",
|
|
146
|
-
"
|
|
150
|
+
"operationId": "DeleteMcp",
|
|
147
151
|
"parameters": [
|
|
148
152
|
{
|
|
149
153
|
"name": "mcp-session-id",
|