openapiclientgen

Generate strongly typed C# and TypeScript client codes from Open API / Swagger definitions supporting jQuery, Angular, AXIOS, Fetch API, Aurelia and Angular Strictly Typed Forms

MIT License

Stars
68
Committers
5

Bot releases are hidden (Show)

openapiclientgen - With latest .NET dependencies Latest Release

Published by zijianhuang 3 months ago

openapiclientgen - v3.2

Published by zijianhuang 4 months ago

.NET 8; Utilize LengthAttribute; Along with other improvements of Fonlow.Poco2TsCore.

openapiclientgen - TypeScript codes with \n for Mac and Linux

Published by zijianhuang 4 months ago

openapiclientgen - Minor fix

Published by zijianhuang 4 months ago

c# WebApiRequestException conforms to CA

openapiclientgen - v3.1.2

Published by zijianhuang 6 months ago

tolerate doggy def with component names containing "+"

openapiclientgen - Primary support for System.Text.Json

Published by zijianhuang 6 months ago

For .NET Client API, strongly typed OpenAPI Client Generators have been well supporting Newtonsoft.Json and System.Text.Json. Since .NET 6 and ASP.NET 7, System.Text.Json has become comprehensive. The primary support of this codegen is now shifted from Newtonsoft.Json to System.Text.Json.

In this release, the features for Angular, Aurelia, AXIOS, Fetch API, and jQuery remain unchanged.

openapiclientgen - v3.1 with updated plugins for AXIOS, Fetch API and Aurelia

Published by zijianhuang 7 months ago

throw error if http status code is not within 200-204

openapiclientgen - v3.1 Better support for Int64 in JavaScript, and more generated doc comments

Published by zijianhuang 7 months ago

  1. Better support for Int64.
  2. More generated doc comments based on data constraints in def, for properties of interfaces and params of functions.

Mimicking what have been done in WebApiClientGen, as described in:

  1. Enjoy Rich Integral Types of .NET and Overcome the 53-bit Limitation of JavaScript
  2. Dealing with Large Integral Numbers in JavaScript for Integral Types of ASP.NET Core Web API
openapiclientgen - v3.0.2

Published by zijianhuang 9 months ago

#63 : option to sort data models and api functions

openapiclientgen - v3.0.1

Published by zijianhuang 9 months ago

for #61

openapiclientgen - OpenApiClientGen v3

Published by zijianhuang 9 months ago

  1. Separate keywords of C# and TypeScript, so renaming identifier could be kept to minimum.
  2. More resilient to Swagger / OpenAPI definitions unfriendly to code gen for C# and TypeScript.
  3. Over 1,700 OpenAPI v3 definitions and over 615 Swagger v2 definitions have passed code generation and compiling with C# compiler and TypeScript/Angular compiler.
openapiclientgen - Better handling of doggy enum definitions and doggy property names

Published by zijianhuang 9 months ago

#49

openapiclientgen - Angular Reactive Forms Regex Pattern better

Published by zijianhuang 9 months ago

minor bugs fixed

openapiclientgen - Support Pattern

Published by zijianhuang 9 months ago

Support Pattern with NG Reactive Forms.

openapiclientgen - Better Angular Reactive Forms supports

Published by zijianhuang 10 months ago

reassemble 95% of Reactive Forms features of WebApiClientGen NG2FormGroup.

openapiclientgen - Angular FormGroup for data models

Published by zijianhuang 11 months ago

  • Plugin Fonlow.OpenApiClientGen.NG2FormGroup for creating FormGroups of data models.
  • For data models, except for required field, fields are with optional null type like alias?: string | null.
  • For client API functions, except for required parameters, parameters are with optional null type like ListPets(limit: number | null | undefined): Promise<Array<Pet>>.

More friendly to TypeScript strict mode.

openapiclientgen - For .NET 7

Published by zijianhuang over 1 year ago

openapiclientgen - ArrayAs for standard types #41

Published by zijianhuang over 2 years ago

#41

openapiclientgen - Fixed value types in dictionary

Published by zijianhuang over 2 years ago

openapiclientgen - Setting UseGuid to map string/uuid to GUID in C#

Published by zijianhuang over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/zijianhuang/openapiclientgen/compare/v2.2...v2.3

Related Projects