SdkGenerator 1.2.8
See the version list below for details.
dotnet tool install --global SdkGenerator --version 1.2.8
dotnet new tool-manifest
dotnet tool install --local SdkGenerator --version 1.2.8
#tool dotnet:?package=SdkGenerator&version=1.2.8
nuke :add-package SdkGenerator --version 1.2.8
Swashbuckle SDK Generator
This program allows you to generate a hand-optimized software development kit for different programming languages for your REST API. It can also generate documentation in Markdown or Readme formats.
Example usage of this program:
This opinionated software makes assumptions about your API and attempts to create a SDK that matches good practices in each programming language. The OpenAPI / Swagger spec permits lots of different ways of doing things; this tool is intended to work only with commonly seen use cases.
Using this program
Here's how to use this program.
- Install the program using NuGet
> dotnet tool install --global SdkGenerator
- Create a project file, then fill out all the values you want to use in it
> sdkgenerator create -p .\myapi.json
- Run the program and build a single language OR build all languages
> sdkgenerator build -p .\myapi.json
You can automate these steps in a Github workflow to execute this program automatically on new releases.
Supported Languages
| Language | Supported | Github Workflows | Notes |
|---|---|---|---|
| C# | Yes | Automated | Live |
| Dart | In Progress | No | In development |
| Java | Yes | No | |
| Python | Yes | No | Live |
| Ruby | In Progress | No | Somewhat supported |
| TypeScript | Yes | No | Live |
Supported Tools
| Language | Supported | Notes |
|---|---|---|
| Readme | Yes | Markdown-formatted documentation can upload to Guide pages |
| Workato | Partially | Somewhat supported |
OpenAPI assumptions
Examples of assumptions about OpenAPI made by this program:
- Only supports OpenAPI 3.0
- Your server supports GZIP encoding and HTTPS connection pooling
- An endpoint returns only a single data type and a single error type
- Each API has a single-word category, a four-word title, and a long remarks section that is a description
- You have a list of public environments (e.g. production, sandbox) that are documented in the SDK
- For test environments or dedicated servers, an SDK user must define a custom environment URL
- Enums are sometimes unsafe for SDK usage; all enums are converted to integers or strings
- Nobody intentionally adds HttpStatusCode to their swagger file; if it appears, ignore it
- Each API has a unique
summaryvalue in the swagger file which will be used as method names for the SDK
Attribution
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.3.17 | 342 | 11/11/2025 | |
| 1.3.16 | 217 | 10/19/2025 | |
| 1.3.15 | 216 | 9/29/2025 | |
| 1.3.14 | 232 | 7/31/2025 | |
| 1.3.13 | 226 | 7/2/2025 | |
| 1.3.12 | 346 | 4/21/2025 | |
| 1.3.11 | 295 | 1/31/2025 | |
| 1.3.10 | 198 | 1/14/2025 | |
| 1.3.9 | 237 | 12/9/2024 | |
| 1.3.8 | 280 | 10/30/2024 | |
| 1.3.7 | 236 | 10/20/2024 | |
| 1.3.6 | 225 | 10/18/2024 | |
| 1.3.5 | 208 | 10/5/2024 | |
| 1.3.4 | 182 | 9/30/2024 | |
| 1.3.3 | 201 | 9/13/2024 | |
| 1.3.2 | 200 | 9/3/2024 | |
| 1.3.1 | 232 | 8/18/2024 | |
| 1.3.0 | 221 | 8/13/2024 | |
| 1.2.9 | 216 | 8/13/2024 | |
| 1.2.8 | 225 | 8/13/2024 | |
| 1.2.7 | 220 | 8/13/2024 | |
| 1.2.6 | 224 | 7/25/2024 | |
| 1.2.5 | 287 | 3/14/2024 | |
| 1.2.4 | 287 | 2/10/2024 | |
| 1.2.3 | 306 | 1/29/2024 | |
| 1.2.2 | 294 | 1/12/2024 | |
| 1.2.1 | 389 | 10/22/2023 | |
| 1.2.0 | 345 | 10/11/2023 | |
| 1.1.9 | 326 | 10/9/2023 | |
| 1.1.8 | 299 | 9/14/2023 | |
| 1.1.7 | 304 | 9/10/2023 | |
| 1.1.6 | 410 | 8/22/2023 | |
| 1.1.5 | 357 | 8/22/2023 | |
| 1.1.4 | 370 | 8/22/2023 | |
| 1.1.3 | 360 | 8/22/2023 | |
| 1.1.2 | 277 | 8/22/2023 | |
| 1.1.2-beta | 278 | 8/22/2023 | |
| 1.1.1 | 266 | 8/19/2023 | |
| 1.1.0 | 242 | 8/18/2023 | |
| 1.0.0 | 301 | 7/28/2023 |
# 1.2.8
August 13, 2024
* Fix issue with embedded resources