OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
Перейти к файлу
Johannes Bader b95f5d19cb
fixes (#2810)
* robust exit

* regen

* title lingo
2018-01-19 12:54:09 -08:00
.gulp More info (#2801) 2018-01-12 16:59:57 -08:00
.vscode preserve object graph (#2702) 2017-11-09 17:28:10 -08:00
Samples fixes (#2810) 2018-01-19 12:54:09 -08:00
Tools update extension/asyncio (#2656) 2017-10-11 13:29:17 -07:00
docs Fixes Markdown in Project Setup document. (#2797) 2018-01-16 19:53:23 -08:00
schema Update swagger-extensions.json (#2799) 2018-01-12 11:47:22 -08:00
src fixes (#2810) 2018-01-19 12:54:09 -08:00
.gitattributes Bootstrapper (#1866) 2017-02-23 10:53:00 -08:00
.gitignore prep for build (#2600) 2017-09-20 17:09:46 -07:00
.travis.yml Update .travis.yml (#2586) 2017-09-14 10:13:17 -07:00
ChangeLog.md doc stuff (#2740) 2017-11-29 13:42:44 -08:00
Dockerfile updated extension to use spawn, added dockerfile (#2648) 2017-10-10 15:08:09 -07:00
LICENSE update copyright year 2016-08-19 15:55:59 -07:00
README.md Update README.md 2017-11-09 10:37:59 -08:00
gulpfile.js Enable Publish preview (#2605) 2017-09-22 13:10:50 -07:00
package.json Update npm to 5.6.0 (#2793) 2018-01-09 11:56:53 -08:00
tslint.json merge 2.0 into master (#2554) 2017-08-28 10:57:39 -07:00

README.md

AutoRest

The AutoRest tool generates client libraries for accessing RESTful web services. Input to AutoRest is a spec that describes the REST API using the OpenAPI Specification format.

Support Policy

AutoRest is an open source tool -- if you need assistance, first check the documentation. If you find a bug or need some help, feel free to submit an issue

AutoRest will release a stable version on the second Wednesday of the month.

Using npm you can upgrade to the latest stable version of AutoRest:


Installing AutoRest

Installing AutoRest on Windows, MacOS or Linux involves two steps:

  1. Install Node.js (7.10.0 or greater)

for more help, check out Installing Node.JS on different platforms

  1. Install AutoRest using npm
# Depending on your configuration you may need to be elevated or root to run this. (on OSX/Linux use 'sudo' )
npm install -g autorest

Updating AutoRest

To update AutoRest if you have previous versions installed, please run:

autorest --latest

or

# Removes all other versions and installs the latest
autorest --reset

For more information, run autorest --help

Supported Platforms

While AutoRest itself runs on NodeJS, some generators use the .NET Core 2.0 runtime, which is the most limiting factor. See dotnet/core/release-notes/2.0/2.0-supported-os.md for a list of supported platforms.

Getting Started using AutoRest image

Start by reading the documentation for using AutoRest:

Developers image

Get yourself up and coding in AutoRest

Some related information:


Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.