Skip to content

timschlechter/Swagger.Codegen.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important: this repository does not contain a fully working solution, it is work in progress. Unfortunally I have other priorities at the moment and will most likely not proceed with this in the near future. If you would like to continue this work, feel free to contact me or just use the code. License is MIT.

Swagger.Codegen.Net Build status

Commandline tool which generates client code for a Swagger enabled API

swagger.exe [options]

This repository tries to provide the same functionality offered by the awesome swagger-codegen but without its Prerequisites (which might be a bit inconvenient in a .Net environment ;-))

Options

Option Description
-u,
--url
The url of the API which serves the resource listing
-a,
--apiname
The name of the API
-n,
--namespace
Specifies the namespace for the generated proxy or template. The default namespace is the global namespace.
-o,
--out
Specifies the file (or directory) in which to save the generated proxy code. You can also specify a directory in which to create this file. The tool derives the default file name from the API name.

Examples

swagger.exe --url "http://petstore.swagger.wordnik.com/api/api-docs" --apiname PetStore

About

Commandline tool which generates client code for a Swagger enabled API. Similar like what wsdl.exe does for webservices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published