Skip to content

Commit 3898704

Browse files
mstrivensclaude
andauthored
Updated overlay syntax fixing generate error (#143)
* added additional overlay for handling integer * fixed generate error * removed additional config * fix: add missing ActionsRpcResponse schema definition The OpenAPI spec for stackone.json references ActionsRpcResponse in the /actions/rpc endpoint but the schema was not defined, causing validation errors during SDK generation. Added overlay action to define ActionsRpcResponse as a generic object with additionalProperties to represent the direct RPC response from action executions (when sync=false). This complements the existing ActionsSyncedResponse (when sync=true). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: add missing ActionsRpcResponse schema definition The OpenAPI spec references ActionsRpcResponse in the /actions/rpc endpoint but the schema was not defined, causing validation errors during SDK generation. This fix adds the ActionsRpcResponse schema with the proper structure: - data: Payload returned from the action execution - next: Continuation token or next-page reference - additionalProperties: true (allows arbitrary additional fields) This maintains the existing SDK surface that already includes this endpoint and preserves the documented data and next fields. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent deb2496 commit 3898704

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.speakeasy/ruby-modifications-overlay.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
overlay: 1.0.0
22
info:
3-
title: Fix Number Types
3+
title: Fix Number Types and Missing Schemas
44
version: 1.0.0
55
actions:
66
- target: "$.components.schemas.EmploymentStatusEnum.properties.source_value.oneOf"
@@ -12,3 +12,18 @@ actions:
1212
description: Add integer type option to allow Ruby SDK to accept integer values
1313
update:
1414
- type: integer
15+
16+
- target: "$.components.schemas"
17+
description: Add missing ActionsRpcResponse schema definition
18+
update:
19+
ActionsRpcResponse:
20+
type: object
21+
description: Direct RPC response from an action execution
22+
properties:
23+
data:
24+
description: Payload returned from the action execution
25+
nullable: true
26+
next:
27+
description: Continuation token or next-page reference returned from the action execution
28+
nullable: true
29+
additionalProperties: true

0 commit comments

Comments
 (0)