chore: 🐝 Update SDK - Generate 0.2.1#3187
Conversation
|
|
* `CompAi.ISMS.IsmsController_ensureSetup_v1()`: **Added** * `CompAi.ISMS.IsmsController_getDocument_v1()`: **Added** * `CompAi.ISMS.IsmsController_addControls_v1()`: **Added** * `CompAi.ISMS.IsmsController_removeControl_v1()`: **Added** * `CompAi.ISMS.IsmsController_generate_v1()`: **Added** * `CompAi.ISMS.IsmsController_createContextIssue_v1()`: **Added** * `CompAi.ISMS.IsmsController_updateContextIssue_v1()`: **Added** * `CompAi.ISMS.IsmsController_deleteContextIssue_v1()`: **Added** * `CompAi.ISMS.IsmsController_submitForApproval_v1()`: **Added** * `CompAi.ISMS.IsmsController_approve_v1()`: **Added** * `CompAi.ISMS.IsmsController_decline_v1()`: **Added** * `CompAi.ISMS.IsmsController_drift_v1()`: **Added** * `CompAi.ISMS.IsmsController_exportDocument_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_createInterestedParty_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_updateInterestedParty_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_deleteInterestedParty_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_createRequirement_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_updateRequirement_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_deleteRequirement_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_createObjective_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_updateObjective_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_deleteObjective_v1()`: **Added** * `CompAi.ISMS.IsmsRegistersController_saveNarrative_v1()`: **Added** * `CompAi.ISMS.IsmsProfileController_getProfile_v1()`: **Added** * `CompAi.ISMS.IsmsProfileController_saveProfile_v1()`: **Added** * `CompAi.ISMS.IsmsProfileController_generateAll_v1()`: **Added**
865fde6 to
384ab21
Compare
There was a problem hiding this comment.
4 issues found across 80 files
Confidence score: 2/5
apps/mcp-server/src/funcs/ismsISMSProfileControllerSaveProfileV1.tsis missing request/body handling forsaveProfile, so SDK clients cannot send wizard answers and the save call will silently fail its core purpose if merged as-is — add body parsing/forwarding in the generated method and verify with an integration test before merging.apps/mcp-server/src/models/updaterequirementdto.tsdefinesUpdateRequirementDtoasz.object({}), which rejects real update payload fields and makesupdateRequirement_v1effectively unusable for updates — define the expected update properties in the schema and validate with a representative request payload before merging.apps/mcp-server/src/funcs/ismsISMSRegistersControllerDeleteInterestedPartyV1.tsallows blankpartyIdvalues through and encodes them into the URL path, which can produce malformed delete routes and unreliable behavior at runtime — normalize/reject empty IDs before path construction (or tighten schema validation) before merging.apps/mcp-server/src/models/ismscontrollerensuresetupv1op.tslabels theoauth2field as "API Key," which can mislead SDK consumers into configuring auth incorrectly — fix the auth description text to reflect OAuth2 so generated docs and clients are accurate.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/mcp-server/src/models/ismscontrollerensuresetupv1op.ts">
<violation number="1" location="apps/mcp-server/src/models/ismscontrollerensuresetupv1op.ts:16">
P2: Incorrect description for `oauth2` field: says "API Key" instead of describing OAuth2 authentication. This will mislead SDK consumers using OAuth2 auth.</violation>
</file>
<file name="apps/mcp-server/src/funcs/ismsISMSProfileControllerSaveProfileV1.ts">
<violation number="1" location="apps/mcp-server/src/funcs/ismsISMSProfileControllerSaveProfileV1.ts:29">
P1: POST saveProfile client cannot send wizard answers because request/body handling is missing. This makes the generated SDK method unable to perform its stated save operation.</violation>
</file>
<file name="apps/mcp-server/src/models/updaterequirementdto.ts">
<violation number="1" location="apps/mcp-server/src/models/updaterequirementdto.ts:7">
P1: Empty `UpdateRequirementDto` schema — Zod's `z.object({})` rejects any request body with actual update fields, rendering the `updateRequirement_v1` endpoint non-functional for its intended purpose.</violation>
</file>
<file name="apps/mcp-server/src/funcs/ismsISMSRegistersControllerDeleteInterestedPartyV1.ts">
<violation number="1" location="apps/mcp-server/src/funcs/ismsISMSRegistersControllerDeleteInterestedPartyV1.ts:95">
P2: Missing normalization of blank/empty `partyId` before encoding into the URL path. The Zod schema (`z.string()`) accepts empty strings, and `encodeSimple` passes `""` through to `pathToFunc`, producing a malformed path like `/v1/isms/interested-parties/` instead of including a valid partyId segment. Fix upstream in the schema definition or generated validation layer.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
| * @remarks | ||
| * Save (partial) ISMS wizard answers in Comp AI. | ||
| */ | ||
| export function ismsISMSProfileControllerSaveProfileV1( |
There was a problem hiding this comment.
P1: POST saveProfile client cannot send wizard answers because request/body handling is missing. This makes the generated SDK method unable to perform its stated save operation.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/mcp-server/src/funcs/ismsISMSProfileControllerSaveProfileV1.ts, line 29:
<comment>POST saveProfile client cannot send wizard answers because request/body handling is missing. This makes the generated SDK method unable to perform its stated save operation.</comment>
<file context>
@@ -0,0 +1,142 @@
+ * @remarks
+ * Save (partial) ISMS wizard answers in Comp AI.
+ */
+export function ismsISMSProfileControllerSaveProfileV1(
+ client$: CompAiCore,
+ security: IsmsProfileControllerSaveProfileV1Security,
</file context>
|
|
||
| import * as z from "zod"; | ||
|
|
||
| export type UpdateRequirementDto = {}; |
There was a problem hiding this comment.
P1: Empty UpdateRequirementDto schema — Zod's z.object({}) rejects any request body with actual update fields, rendering the updateRequirement_v1 endpoint non-functional for its intended purpose.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/mcp-server/src/models/updaterequirementdto.ts, line 7:
<comment>Empty `UpdateRequirementDto` schema — Zod's `z.object({})` rejects any request body with actual update fields, rendering the `updateRequirement_v1` endpoint non-functional for its intended purpose.</comment>
<file context>
@@ -0,0 +1,10 @@
+
+import * as z from "zod";
+
+export type UpdateRequirementDto = {};
+
+export const UpdateRequirementDto$zodSchema: z.ZodType<UpdateRequirementDto> = z
</file context>
| IsmsControllerEnsureSetupV1Security | ||
| > = z.object({ | ||
| apikey: z.string().describe("API key for authentication").optional(), | ||
| oauth2: z.string().describe("API Key").optional(), |
There was a problem hiding this comment.
P2: Incorrect description for oauth2 field: says "API Key" instead of describing OAuth2 authentication. This will mislead SDK consumers using OAuth2 auth.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/mcp-server/src/models/ismscontrollerensuresetupv1op.ts, line 16:
<comment>Incorrect description for `oauth2` field: says "API Key" instead of describing OAuth2 authentication. This will mislead SDK consumers using OAuth2 auth.</comment>
<file context>
@@ -0,0 +1,17 @@
+ IsmsControllerEnsureSetupV1Security
+> = z.object({
+ apikey: z.string().describe("API key for authentication").optional(),
+ oauth2: z.string().describe("API Key").optional(),
+});
</file context>
| const body$ = null; | ||
|
|
||
| const pathParams$ = { | ||
| partyId: encodeSimple("partyId", payload$.partyId, { |
There was a problem hiding this comment.
P2: Missing normalization of blank/empty partyId before encoding into the URL path. The Zod schema (z.string()) accepts empty strings, and encodeSimple passes "" through to pathToFunc, producing a malformed path like /v1/isms/interested-parties/ instead of including a valid partyId segment. Fix upstream in the schema definition or generated validation layer.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/mcp-server/src/funcs/ismsISMSRegistersControllerDeleteInterestedPartyV1.ts, line 95:
<comment>Missing normalization of blank/empty `partyId` before encoding into the URL path. The Zod schema (`z.string()`) accepts empty strings, and `encodeSimple` passes `""` through to `pathToFunc`, producing a malformed path like `/v1/isms/interested-parties/` instead of including a valid partyId segment. Fix upstream in the schema definition or generated validation layer.</comment>
<file context>
@@ -0,0 +1,174 @@
+ const body$ = null;
+
+ const pathParams$ = {
+ partyId: encodeSimple("partyId", payload$.partyId, {
+ explode: false,
+ charEncoding: "percent",
</file context>
SDK update
Versioning
Version Bump Type: [patch] - 🤖 (automated)
Tip
If updates to your OpenAPI document introduce breaking changes, be sure to update the
info.versionfield to trigger the correct version bump.Speakeasy supports manual control of SDK versioning through multiple methods.
Mcp-typescript SDK Changes:
CompAi.ISMS.IsmsController_ensureSetup_v1(): AddedCompAi.ISMS.IsmsController_getDocument_v1(): AddedCompAi.ISMS.IsmsController_addControls_v1(): AddedCompAi.ISMS.IsmsController_removeControl_v1(): AddedCompAi.ISMS.IsmsController_generate_v1(): AddedCompAi.ISMS.IsmsController_createContextIssue_v1(): AddedCompAi.ISMS.IsmsController_updateContextIssue_v1(): AddedCompAi.ISMS.IsmsController_deleteContextIssue_v1(): AddedCompAi.ISMS.IsmsController_submitForApproval_v1(): AddedCompAi.ISMS.IsmsController_approve_v1(): AddedCompAi.ISMS.IsmsController_decline_v1(): AddedCompAi.ISMS.IsmsController_drift_v1(): AddedCompAi.ISMS.IsmsController_exportDocument_v1(): AddedCompAi.ISMS.IsmsRegistersController_createInterestedParty_v1(): AddedCompAi.ISMS.IsmsRegistersController_updateInterestedParty_v1(): AddedCompAi.ISMS.IsmsRegistersController_deleteInterestedParty_v1(): AddedCompAi.ISMS.IsmsRegistersController_createRequirement_v1(): AddedCompAi.ISMS.IsmsRegistersController_updateRequirement_v1(): AddedCompAi.ISMS.IsmsRegistersController_deleteRequirement_v1(): AddedCompAi.ISMS.IsmsRegistersController_createObjective_v1(): AddedCompAi.ISMS.IsmsRegistersController_updateObjective_v1(): AddedCompAi.ISMS.IsmsRegistersController_deleteObjective_v1(): AddedCompAi.ISMS.IsmsRegistersController_saveNarrative_v1(): AddedCompAi.ISMS.IsmsProfileController_getProfile_v1(): AddedCompAi.ISMS.IsmsProfileController_saveProfile_v1(): AddedCompAi.ISMS.IsmsProfileController_generateAll_v1(): AddedView full SDK changelog
OpenAPI Change Summary
View full report
Linting Report
0 errors, 258 warnings, 299 hintsView full report
MCP-TYPESCRIPT CHANGELOG
core: 1.3.2 - 2026-06-11
🐛 Bug Fixes
retries: 0.1.1 - 2026-05-27
🐝 New Features
Based on Speakeasy CLI 1.783.1
Last updated by Speakeasy workflow