Skip to content

Tff27/Api-Client-Autogeneration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of Client Generation with NSwag

Build

This solution contains 3 projects:

  • ClientGenerator - An API with the default WeatherForecastController and with automated swagger file generation on build;
  • SDK - A library with the SDK generated on build with API swagger file;
  • Client - A console app that uses the generated SDK;

Main Goals

  • Auto-generate an SDK for an application;
  • Regenerate the client on API change;
  • Use the generated SDK on an API client;

Resources & Inspiration