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 8888 notify :
8989 needs : test
9090 runs-on : ubuntu-latest
91- if : always()
91+ if : ${{ contains(needs.*.result, 'failure') }}
9292 steps :
9393 - name : Slack Notification
9494 uses : rtCamp/action-slack-notify@v2
@@ -101,6 +101,6 @@ jobs:
101101 SLACK_MSG_AUTHOR : gr4vy-code
102102 SLACK_ICON_EMOJI : " :gr4vy:"
103103 SLACK_COLOR : " ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}"
104- SLACK_MESSAGE_ON_SUCCESS : " CI passed - `${{ github.event.head_commit.message }}` "
105- SLACK_MESSAGE_ON_FAILURE : " CI failed - `${{ github.event.head_commit.message }}` "
104+ SLACK_MESSAGE_ON_SUCCESS : " CI passed"
105+ SLACK_MESSAGE_ON_FAILURE : " CI failed"
106106 SLACK_FOOTER : " "
Original file line number Diff line number Diff line change 3434 notify :
3535 needs : generate
3636 runs-on : ubuntu-latest
37- if : always()
37+ if : ${{ contains(needs.*.result, 'failure') }}
3838 steps :
3939 - name : Slack Notification
4040 uses : rtCamp/action-slack-notify@v2
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ generation:
33 sdkClassName : Gr4vy
44 maintainOpenAPIOrder : true
55 usageSnippets :
6- optionalPropertyRendering : withExample
6+ optionalPropertyRendering : never
77 sdkInitStyle : constructor
88 useClassNamesForArrayFields : true
99 fixes :
Original file line number Diff line number Diff line change 11overlay : 1.0.0
22x-speakeasy-jsonpath : rfc9535
33info :
4- title : Remove unwanted timeout_in_seconds params
4+ title : Remove unwanted headers
55 version : 0.0.1
66actions :
77 - target : $.paths.*.*.parameters[?(@.name=="timeout_in_seconds")]
8+ remove : true
9+ - target : $.paths.*.*.parameters[?(@.name=="application_name")]
810 remove : true
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ sources:
1212 - location : ./.speakeasy/overlays/mid-global.yaml
1313 - location : ./.speakeasy/overlays/fix-base-model.yaml
1414 - 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
1616 registry :
1717 location : registry.speakeasyapi.dev/gr4vy/gr4vy/openapi
1818targets :
You can’t perform that action at this time.
0 commit comments