Skip to content

Commit 6d7c73d

Browse files
satanasclaude
andauthored
feat: add MIT license config to Speakeasy gen.yaml (#36)
Adds generation.license block to both gusto_embedded and gusto_app_int so Speakeasy generates a LICENSE file on the next SDK build. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4a49689 commit 6d7c73d

5 files changed

Lines changed: 68 additions & 0 deletions

File tree

.speakeasy/workflow.local.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
workflowVersion: 1.0.0
2+
speakeasyVersion: latest
3+
sources:
4+
GustoEmbedded-local:
5+
inputs:
6+
- location: ../Gusto-Partner-API/generated/embedded/api.v2025-06-15.embedded.yaml
7+
overlays:
8+
- location: ../Gusto-Partner-API/.speakeasy/speakeasy-modifications-overlay.yaml
9+
- location: gusto_embedded/.speakeasy/speakeasy-modifications-overlay.yaml
10+
GustoAppInt-local:
11+
inputs:
12+
- location: ../Gusto-Partner-API/generated/app-integrations/api.v2025-06-15.app-integrations.yaml
13+
overlays:
14+
- location: ../Gusto-Partner-API/.speakeasy/speakeasy-app-int-modifications-overlay.yaml
15+
- location: gusto_app_int/.speakeasy/speakeasy-modifications-overlay.yaml
16+
targets:
17+
local:
18+
target: python
19+
source: GustoEmbedded-local
20+
output: ./gusto_embedded
21+
local-app-int:
22+
target: python
23+
source: GustoAppInt-local
24+
output: ./gusto_app_int

gusto_app_int/.speakeasy/gen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ python:
4141
shared: ""
4242
webhooks: ""
4343
inputModelSuffix: input
44+
license: MIT
4445
maxMethodParams: 999
4546
methodArguments: infer-optional-args
4647
outputModelSuffix: output

gusto_app_int/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Gusto
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

gusto_embedded/.speakeasy/gen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ python:
4545
shared: ""
4646
webhooks: ""
4747
inputModelSuffix: input
48+
license: MIT
4849
maxMethodParams: 999
4950
methodArguments: infer-optional-args
5051
outputModelSuffix: output

gusto_embedded/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Gusto
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)