Skip to content

Commit febb190

Browse files
authored
feat: open enums (#10)
2 parents 5238e86 + 8f9e959 commit febb190

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
overlay: 1.0.0
2+
x-speakeasy-jsonpath: rfc9535
3+
info:
4+
title: Add open enums
5+
version: 0.0.0
6+
actions:
7+
- target: $..[?length(@.enum) > 1]
8+
description: Automatically open all enums that have length > 1
9+
update:
10+
x-speakeasy-unknown-values: allow

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ sources:
44
OpenRouter API:
55
inputs:
66
- location: .speakeasy/in.openapi.yaml
7+
overlays:
8+
- location: .speakeasy/overlays/open-enums.overlay.yaml
79
output: .speakeasy/out.openapi.yaml
810
registry:
911
location: registry.speakeasyapi.dev/openrouter/sdk/open-router-chat-completions-api

0 commit comments

Comments
 (0)