Skip to content

Y56380X/OpenAPIExport.MSBuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPIExport.MSBuild

MSBuild props for automatically exporting api swagger doc files.

Getting started

  • Add OpenAPIExport.MSBuild nuget package to api project
  • During build the api project starts and downloads its swagger doc
  • Enjoy automatic swagger doc export

Configuration options

Threre are some configuration options for the MSBuild task executed during api build.

  • OpenApiExportPath: file path for saving swagger doc (default: $(SolutionDirectory)/doc/api-doc.yaml)
  • OpenApiExportPort: port where the build time api runs on (default: 5005)
  • OpenApiExportSource: relative source path of swagger doc (default: swagger/v1/swagger.yaml)
  • OpenApiExportRetryCount: specify how many retries are made for downloading the swagger doc (default: 5)
  • OpenApiExportRetryInterval: specify the waiting time in seconds before every downloading try (default: 2)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages