Breaking changes:
- transformOptions is now async (must return promise) for Angular 2, AngularJS and Fetch/Aurelia
- Use
return Promise.resolve(options)
instead ofreturn options
(sync)
- Use
- TypeScript client: The default template is now Fetch
- The project have been split up into more NuGet packages (required some namespace renamings)
- Namespace
NSwag.CodeGeneration.CodeGeneration.*
renamed toNSwag.CodeGeneration.*
- Moved CSharp and TypeScript code to separate projects (
NSwag.CodeGeneration.CSharp
andNSwag.CodeGeneration.TypeScript
)
- Moved CSharp and TypeScript code to separate projects (
- Namespace
NSwag.CodeGeneration.SwaggerGeneration.*
renamed toNSwag.SwaggerGeneration.*
- Moved some classes from
NSwag.CodeGeneration
(namespaceNSwag.CodeGeneration.SwaggerGenerators.*
) package toNSwag.SwaggerGeneration
andNSwag.SwaggerGeneration.WebApi
packages
- Moved some classes from
- Namespace
New features: