OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
Перейти к файлу
Garrett Serack aecc32448a added rush and perks 2018-10-19 13:14:07 -07:00
.gulp Add file updates (#2922) 2018-05-23 16:16:19 -07:00
.vscode preserve object graph (#2702) 2017-11-09 17:28:10 -08:00
Samples Cosmetic fix to file. 2018-09-20 16:55:42 -07:00
Tools update extension/asyncio (#2656) 2017-10-11 13:29:17 -07:00
common added rush and perks 2018-10-19 13:14:07 -07:00
docs Update installing-autorest.md 2018-07-18 09:18:38 -07:00
perks@37731e54d2 added perks submodule 2018-10-19 13:08:33 -07:00
schema Removed unknown formats from openapi3-schema.json file. 2018-09-17 14:54:39 -07:00
src Added tests and test files for spec loaders, and bug fixes. 2018-10-12 15:52:00 -07:00
.gitattributes added rush and perks 2018-10-19 13:14:07 -07:00
.gitignore added rush and perks 2018-10-19 13:14:07 -07:00
.gitmodules added perks submodule 2018-10-19 13:08:33 -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 install libicu55 (#2872) 2018-03-26 09:19:38 -07:00
LICENSE update copyright year 2016-08-19 15:55:59 -07:00
README.md Update README.md 2018-07-18 07:36:14 -07:00
gulpfile.js Enable Publish preview (#2605) 2017-09-22 13:10:50 -07:00
package.json switch input-file to input-file-swagger 2018-09-14 10:34:27 -07:00
rush.json added rush and perks 2018-10-19 13:14:07 -07:00
tslint.json Fix tslint (#2993) 2018-09-10 11:46:25 -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 (8.11.x LTS HIGHLY RECOMENDED)

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.