Commit e844ad7
Autogenerate the SDK from the OpenAPI spec (3.0.0) (#102)
* Use nullable reference types and datetimeoffset
* Mark non-required types as nullable
* Add required keyword to required properties
* Mark API method parameters as optional
* Allow SDK to handle No Content (204) responses
Previously, the SDK would throw an exception when trying to parse an empty string.
Now we will return the empty string, if a string response is requested.
If the caller was expecting a deserialized type, an exception will still be raised for no content.
* Remove version from generated files
Including the version in every file causes every file to be modified
any time the generator is run. This creates a large diff that obscures the actual changes.
The version is already known in the generation/swagger.json file.
Add warning that file is generated and should not be modified.
* Verify can deserialize create label response
Convert doubles to decimals
* Add optional error properties
Allow arbitrary values in advanced_options.
* added A4 and A6 to label layout enum
* Mark v2 methods as obsolete
* Add generated documentation
* Update supported .NET versions
---------
Co-authored-by: Joshua Flanagan <joshuaflanagan@gmail.com>
Co-authored-by: Matt Burton <matt.burton@gmail.com>
Co-authored-by: Joe Pill <joe.pill@auctane.com>
Co-authored-by: Bibhusan-Shah <bibhusan.shah@auctane.com>
Co-authored-by: Bibhusan-Shah <87672403+Bibhusan-Shah@users.noreply.github.com>1 parent d491920 commit e844ad7
708 files changed
Lines changed: 63663 additions & 1174 deletions
File tree
- .github/workflows
- .openapi-generator
- ShipEngineSDK.Test
- Helpers
- ShipEngineMethodTests
- ShipEngineSDK
- Api
- CompilerSupport
- Enums
- Model
- docs
- apis
- legacy
- models
- generation
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 78 | | |
98 | 79 | | |
99 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments