This repository was archived by the owner on Jul 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-11
lines changed Expand file tree Collapse file tree 2 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 1+ overlay : 1.0.0
2+ info :
3+ title : Overlay to test the discriminator for the batch API
4+ version : 0.0.1
5+ actions :
6+ - target : " $.components..BatchMixedResults..responses.additionalProperties"
7+ description : add a descrimintor
8+ update :
9+ discriminator :
10+ propertyName : http_status_code
11+ mapping :
12+ " 200 " : " #/components/schemas/SuccessfulPolicyResponse"
13+ " 500 " : " #/components/schemas/ServerError"
Original file line number Diff line number Diff line change 11workflowVersion : 1.0.0
22speakeasyVersion : latest
33sources :
4- openapi :
5- inputs :
6- - location : https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/openapi/openapi.yaml
7- registry :
8- location : registry.speakeasyapi.dev/styra/styra/openapi
4+ openapi :
5+ inputs :
6+ - location : https://raw.githubusercontent.com/StyraInc/enterprise-opa/main/openapi/openapi.yaml
7+ overlays :
8+ - location : ./.speakeasy/overlay.yaml
9+ registry :
10+ location : registry.speakeasyapi.dev/styra/styra/openapi
911targets :
10- first-target :
11- target : typescript
12- source : openapi
13- publish :
14- npm :
15- token : $npm_token
12+ first-target :
13+ target : typescript
14+ source : openapi
15+ publish :
16+ npm :
17+ token : $npm_token
You can’t perform that action at this time.
0 commit comments