|
1 |
| -# The OpenAPI Specification (fka The Swagger Specification) |
| 1 | +# The OpenAPI Specification |
2 | 2 |
|
3 |
| -[](https://travis-ci.org/swagger-api/swagger-spec) |
| 3 | +This is the working branch for the next version of the OpenAPI Specification. You can read more about the Open API Initiative (OAI) at [https://openapis.org](https://openapis.org). |
4 | 4 |
|
5 |
| - |
| 5 | +The current, released version of the OpenAPI Specification is 2.0, through donation of the Swagger Specification to the OAI by SmartBear Software. If you are interested in the release specification, please see the [master branch](https://github.com/OAI/OpenAPI-Specification/blob/master/README.md) of this project. |
6 | 6 |
|
7 |
| -The goal of The OpenAPI Specification is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via OpenAPI, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, OpenAPI removes the guesswork in calling the service. |
| 7 | +Development of the next version of the OpenAPI Specification is being guided by the [OAI Technical Contributors Board](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/CONTRIBUTORS.md). This group of committers will be bring their API expertise, incorporating feedback from the community, and expanding the group of committers as appropriate. All development activity on the future specification will be performed as features and merged into this branch. Upon release of the OpenAPI Specification, this branch will be merged to master. |
8 | 8 |
|
9 |
| -Use cases for machine-readable API interfaces include interactive documentation, code generation for documentation, client, and server, as well as automated test cases. OpenAPI-enabled APIs expose JSON files that correctly adhere to the OpenAPI Specification, documented in this repository. These files can either be produced and served statically, or be generated dynamically from your application. |
| 9 | +You can see the current process for development inside the OpenAPI Specification [here](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/DEVELOPMENT.md). |
10 | 10 |
|
11 |
| -Without going into a long history of interfaces to Web Services, this is not the first attempt to do so. We can learn from CORBA, WSDL and WADL. These specifications had good intentions but were limited by proprietary vendor-specific implementations, being bound to a specific programming language, and goals which were too open-ended. In the end, they failed to gain traction. |
| 11 | +## Participation |
12 | 12 |
|
13 |
| -OpenAPI does not require you to rewrite your existing API. It does not require binding any software to a service--the service being described may not even be yours. It does, however, require the capabilities of the service be described in the structure of the OpenAPI Specification. Not all services can be described by OpenAPI--this specification is not intended to cover every possible use-case of a REST-ful API. OpenAPI does not define a specific development process such as design-first or code-first. It does facilitate either technique by establishing clear interactions with a REST API. |
| 13 | +The OpenAPI Specification is a community driven, open project hosted by the Linux Foundation. It encourages participation from individuals and companies alike. If you wish to participate in the evolution of the OpenAPI Specification, please consider the following: |
14 | 14 |
|
15 |
| -This GitHub project is the starting point for OpenAPI. |
16 |
| -Here you will find the information you need about the OpenAPI Specification, a simple static sample of what it looks like, |
17 |
| -and some general information regarding the project. |
18 |
| - |
19 |
| - |
20 |
| -## Current Version - 2.0 |
21 |
| - |
22 |
| -The current version of the OpenAPI specification is 2.0 - and you can find it [here](versions/2.0.md). |
23 |
| - |
24 |
| -### [OpenAPI 2.0 Specification](versions/2.0.md) |
25 |
| - |
26 |
| -This repository contains the existing Swagger 1.2 specification as well as proposals for the 2.0 version. |
27 |
| - |
28 |
| -## Structure |
29 |
| - |
30 |
| -Each section should contain v1.2 and v2.0 folders to avoid confusion between the versions. |
31 |
| - |
32 |
| -Please keep in mind that the other projects under OpenAPI use an independent version system. |
33 |
| -As such, don't confuse the version of the OpenAPI Specification they support and the version of that given library. |
34 |
| - |
35 |
| -## The Wiki |
36 |
| - |
37 |
| -Check out the [wiki](https://github.com/OAI/OpenAPI-Specification/wiki) for additional and relevant information about the project. |
38 |
| - |
39 |
| -This includes: |
40 |
| -- Static sample tutorial. |
41 |
| -- List of known deployments. |
42 |
| -- Revision history. |
43 |
| - |
44 |
| -## See it in Action |
45 |
| - |
46 |
| -If you just want to see it work, check out the [pet store sample](http://petstore.swagger.io/). |
47 |
| - |
48 |
| -## Tools and Libraries |
49 |
| - |
50 |
| -Looking to see how you can create your own OpenAPI definition, present it or otherwise use it? Check out our [list of tools](http://swagger.io/open-source-integrations/) over at [http://swagger.io](http://swagger.io/open-source-integrations/). |
51 |
| - |
52 |
| -(Yes, there used to be a really long list here, we just moved it to the main website) |
| 15 | +* Review the [current specification](). The human-readable markdown file _is the source of truth_ for the specification. |
| 16 | +* Review the [development](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/DEVELOPMENT.md) process so it's clear how the spec is evolving. |
| 17 | +* Check the [issues](https://github.com/OAI/OpenAPI-Specification/issues) and [pull requests](https://github.com/OAI/OpenAPI-Specification/pulls) to see if someone has already documented your idea or feedback on the specification. You can follow an existing conversation by adding a comment to the existing issue or PR. |
| 18 | +* Create an issue to describe a concern and/or a pull request to provide a solution. If providing a pull request, please ensure you are adding comments regarding the **Approving Changes** section of the [development](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/DEVELOPMENT.md) guideline. |
53 | 19 |
|
54 | 20 | ## License
|
55 | 21 |
|
|
0 commit comments