File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -73,16 +73,20 @@ download-openapi-specs:
7373client-merge-serverless-platform :
7474 speakeasy merge -s ./openapi_platform_api.json -s ./openapi_serverless.json -o ./openapi_merged.yaml
7575
76- # # client-generate-unified-sdk-local : Generate the SDK using merged schemas
77- .PHONY : client-generate-unified-sdk-local
78- client-generate-unified-sdk-local :
76+ # # client-apply-overlay : Apply overlay on the merged schema
77+ .PHONY : client-apply-overlay
78+ client-apply-overlay :
7979 speakeasy overlay validate -o ./overlay_client.yaml
8080 speakeasy overlay apply -s ./openapi_merged.yaml -o ./overlay_client.yaml > ./openapi_platform_serverless_client.yaml
81+
82+ # # client-generate-unified-sdk-local: Generate the SDK from the merged schema
83+ .PHONY : client-generate-unified-sdk-local
84+ client-generate-unified-sdk-local :
8185 speakeasy generate sdk -s ./openapi_platform_serverless_client.yaml -o ./ -l python
8286
8387# # client-generate-sdk: Do all the steps to generate the SDK
8488.PHONY : client-generate-sdk
85- client-generate-sdk : download-openapi-specs client-merge-serverless-platform client-generate-unified-sdk-local
89+ client-generate-sdk : download-openapi-specs client-merge-serverless-platform client-apply-overlay client- generate-unified-sdk-local
8690
8791
8892.PHONY : publish
You can’t perform that action at this time.
0 commit comments