File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 78
78
notify :
79
79
needs : test
80
80
runs-on : ubuntu-latest
81
- if : always()
81
+ if : ${{ contains(needs.*.result, 'failure') }}
82
82
steps :
83
83
- name : Slack Notification
84
84
uses : rtCamp/action-slack-notify@v2
91
91
SLACK_MSG_AUTHOR : gr4vy-code
92
92
SLACK_ICON_EMOJI : " :gr4vy:"
93
93
SLACK_COLOR : " ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}"
94
- SLACK_MESSAGE_ON_SUCCESS : " CI passed - `${{ github.event.head_commit.message }}` "
95
- SLACK_MESSAGE_ON_FAILURE : " CI failed - `${{ github.event.head_commit.message }}` "
94
+ SLACK_MESSAGE_ON_SUCCESS : " CI passed"
95
+ SLACK_MESSAGE_ON_FAILURE : " CI failed"
96
96
SLACK_FOOTER : " "
Original file line number Diff line number Diff line change 39
39
notify :
40
40
needs : generate
41
41
runs-on : ubuntu-latest
42
- if : always()
42
+ if : ${{ contains(needs.*.result, 'failure') }}
43
43
steps :
44
44
- name : Slack Notification
45
45
uses : rtCamp/action-slack-notify@v2
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ generation:
3
3
sdkClassName : SDK
4
4
maintainOpenAPIOrder : true
5
5
usageSnippets :
6
- optionalPropertyRendering : withExample
6
+ optionalPropertyRendering : never
7
7
sdkInitStyle : constructor
8
8
useClassNamesForArrayFields : true
9
9
fixes :
Original file line number Diff line number Diff line change 1
1
overlay : 1.0.0
2
2
x-speakeasy-jsonpath : rfc9535
3
3
info :
4
- title : Remove unwanted timeout_in_seconds params
4
+ title : Remove unwanted headers
5
5
version : 0.0.1
6
6
actions :
7
7
- target : $.paths.*.*.parameters[?(@.name=="timeout_in_seconds")]
8
+ remove : true
9
+ - target : $.paths.*.*.parameters[?(@.name=="application_name")]
8
10
remove : true
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ sources:
12
12
- location : ./.speakeasy/overlays/mid-global.yaml
13
13
- location : ./.speakeasy/overlays/fix-base-model.yaml
14
14
- location : ./.speakeasy/overlays/fix-checkout-session-body.yaml
15
- - location : ./.speakeasy/overlays/fix-remove-timeout-in-seconds .yaml
15
+ - location : ./.speakeasy/overlays/fix-remove-unwanted-headers .yaml
16
16
registry :
17
17
location : registry.speakeasyapi.dev/gr4vy/gr4vy/openapi
18
18
targets :
You can’t perform that action at this time.
0 commit comments