@thinkai/tai-api-contract 2.147.0 → 2.147.1
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/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.147.
|
|
4
|
+
version: 2.147.1
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -7591,12 +7591,12 @@ paths:
|
|
|
7591
7591
|
/workspaces/{workspaceId}/readiness/issues/{issueId}/fix-guide:
|
|
7592
7592
|
get:
|
|
7593
7593
|
tags: [RepositoryReadiness]
|
|
7594
|
-
summary: Get
|
|
7594
|
+
summary: Get fix instructions for a readiness issue
|
|
7595
7595
|
description: >
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7596
|
+
G1–G5 return the markdown guide written during the latest successful scan.
|
|
7597
|
+
Every other issue returns the remediation already stored for that issue
|
|
7598
|
+
(latest succeeded criterion row, otherwise the issue description).
|
|
7599
|
+
When that text is missing, returns `404` so the page can show the empty-guide state.
|
|
7600
7600
|
operationId: getReadinessIssueFixGuide
|
|
7601
7601
|
parameters:
|
|
7602
7602
|
- $ref: "#/components/parameters/WorkspaceId"
|
|
@@ -7609,16 +7609,11 @@ paths:
|
|
|
7609
7609
|
schema:
|
|
7610
7610
|
$ref: "#/components/schemas/ReadinessFixGuideDto"
|
|
7611
7611
|
"400":
|
|
7612
|
-
description:
|
|
7612
|
+
description: issueId is not a UUID
|
|
7613
7613
|
content:
|
|
7614
7614
|
application/json:
|
|
7615
7615
|
schema:
|
|
7616
7616
|
$ref: "#/components/schemas/ErrorMessageDto"
|
|
7617
|
-
examples:
|
|
7618
|
-
not_guidance:
|
|
7619
|
-
value:
|
|
7620
|
-
error: "Fix guide is only available for G1–G5 governance criteria"
|
|
7621
|
-
code: fix_guide_not_guidance
|
|
7622
7617
|
"401":
|
|
7623
7618
|
$ref: "#/components/responses/Unauthorized"
|
|
7624
7619
|
"403":
|
|
@@ -18235,7 +18230,7 @@ components:
|
|
|
18235
18230
|
rubricId:
|
|
18236
18231
|
type: string
|
|
18237
18232
|
maxLength: 16
|
|
18238
|
-
description: G1–G5
|
|
18233
|
+
description: Rubric criterion id (G1–G5 guides, or any other issue with stored remediation)
|
|
18239
18234
|
sourceRunId:
|
|
18240
18235
|
type: string
|
|
18241
18236
|
format: uuid
|
package/package.json
CHANGED
package/src/generated/openapi.ts
CHANGED
|
@@ -2872,8 +2872,8 @@ export interface paths {
|
|
|
2872
2872
|
cookie?: never;
|
|
2873
2873
|
};
|
|
2874
2874
|
/**
|
|
2875
|
-
* Get
|
|
2876
|
-
* @description
|
|
2875
|
+
* Get fix instructions for a readiness issue
|
|
2876
|
+
* @description G1–G5 return the markdown guide written during the latest successful scan. Every other issue returns the remediation already stored for that issue (latest succeeded criterion row, otherwise the issue description). When that text is missing, returns `404` so the page can show the empty-guide state.
|
|
2877
2877
|
*/
|
|
2878
2878
|
get: operations["getReadinessIssueFixGuide"];
|
|
2879
2879
|
put?: never;
|
|
@@ -7740,7 +7740,7 @@ export interface components {
|
|
|
7740
7740
|
issueId: string;
|
|
7741
7741
|
/** Format: uuid */
|
|
7742
7742
|
repoId: string;
|
|
7743
|
-
/** @description G1–G5
|
|
7743
|
+
/** @description Rubric criterion id (G1–G5 guides, or any other issue with stored remediation) */
|
|
7744
7744
|
rubricId: string;
|
|
7745
7745
|
/**
|
|
7746
7746
|
* Format: uuid
|
|
@@ -18653,7 +18653,7 @@ export interface operations {
|
|
|
18653
18653
|
"application/json": components["schemas"]["ReadinessFixGuideDto"];
|
|
18654
18654
|
};
|
|
18655
18655
|
};
|
|
18656
|
-
/** @description
|
|
18656
|
+
/** @description issueId is not a UUID */
|
|
18657
18657
|
400: {
|
|
18658
18658
|
headers: {
|
|
18659
18659
|
[name: string]: unknown;
|