Skip to content

Swagger generation based on the SDK json files #2577

Answered by ashovlin
bagajjal asked this question in Q&A
Discussion options

You must be logged in to vote

Currently the generator for the AWS SDK for .NET uses the JSON files you linked, which predate Smithy. I'm not aware of a OpenAPI generator for the JSON schema.

As you hinted, Smithy does support converting Smithy models to OpenAPI. See Converting Smithy to OpenAPI in the Smithy docs.

We do not commit the Smithy AWS models to the .NET repository since our generator doesn't use them yet, but some of the newer AWS SDKs do. For example JS V3 here: https://github.com/aws/aws-sdk-js-v3/tree/main/codegen/sdk-codegen/aws-models

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants