If .smithy files are stored in ./api-model/ this configuration is the latest versions of maven dependencies to generate a working SSDK using smithy.
Last active
August 20, 2024 02:33
-
-
Save emattson/ee0b43a8ddd671f739bc1e51e8b014c7 to your computer and use it in GitHub Desktop.
Basic smithy typescript ssdk generator template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "1.0", | |
"sources": [ | |
"api-model" | |
], | |
"maven": { | |
"dependencies": [ | |
"software.amazon.smithy:smithy-openapi:1.50.0", | |
"software.amazon.smithy:smithy-aws-traits:1.50.0", | |
"software.amazon.smithy:smithy-validation-model:1.50.0", | |
"software.amazon.smithy.typescript:smithy-typescript-codegen:0.21.1", | |
"software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.21.1" | |
] | |
}, | |
"plugins": { | |
"typescript-ssdk-codegen": { | |
"createDefaultReadme": true, | |
"package": "my-api", | |
"packageVersion": "1.0.0", | |
"packageDescription": "My custom api package description", | |
"packageJson": { | |
"engines": { | |
"node": "20.16.0" | |
} | |
} | |
} | |
}, | |
"outputDirectory": "smithy-build" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment