|
1 | 1 | # The OpenAPI Specification
|
2 | 2 |
|
3 |
| -### Draft implementations of tooling supporting the 3.0.0 specification can be found here! |
| 3 | +[](https://travis-ci.org/OAI/OpenAPI-Specification) |
4 | 4 |
|
5 |
| -[3.0.0 Implementations](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/IMPLEMENTATIONS.md) |
| 5 | + |
6 | 6 |
|
7 |
| -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). |
| 7 | +The OpenAPI Specification is a community driven, open specification within the [Open API Initiative](https://www.openapis.org/), a Linux Foundation Collaborative Project. |
8 | 8 |
|
9 |
| -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, see the [master branch](https://github.com/OAI/OpenAPI-Specification/blob/master/README.md) of this project. |
| 9 | +The OpenAPI Specification defines a standard, language-agnostic interface description for REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, additional 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 interface descriptions have done for lower-level programming, the OpenAPI Specification removes the guesswork in calling the service. |
10 | 10 |
|
11 |
| -Development of the next version of the OpenAPI Specification is guided by the [OAI Technical Contributors Board](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/CONTRIBUTORS.md). This group of committers bring their API expertise, incorporate feedback from the community, and expand 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. |
| 11 | +Use cases for machine-readable API interfaces include interactive documentation; code generation for documentation, client, and server; and automated test cases. OpenAPI descriptions describe APIs via YAML or JSON documents that adhere to the OpenAPI Specification. These documents can either be produced and served statically, or be generated dynamically from your application. |
12 | 12 |
|
13 |
| -The current process for development of the OpenAPI Specification is described in [Development Guidelines](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/DEVELOPMENT.md). |
| 13 | +The OpenAPI Specification 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 API. The OpenAPI Specification 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. |
| 14 | + |
| 15 | +This GitHub project is the starting point for OpenAPI. |
| 16 | +Here you will find the information you need about the OpenAPI Specification, simple examples of what it looks like, |
| 17 | +and some general information regarding the project. |
| 18 | + |
| 19 | +## Current Version - 3.0 |
| 20 | + |
| 21 | +The current version of the OpenAPI specification is [OpenAPI Specification 3.0](versions/3.0.md). |
| 22 | + |
| 23 | +### Previous Versions |
| 24 | + |
| 25 | +This repository also contains the [OpenAPI Specification 2.0](versions/2.0), which is identical to the Swagger 2.0 specification, |
| 26 | +as well as the Swagger 1.2 and Swagger 2.0 specifications. |
| 27 | + |
| 28 | +Each folder in this repository, such as [examples](examples) and [schemas](schemas), should contain folders pertaining to the current and previous versions of the specification. |
| 29 | + |
| 30 | +## See it in Action |
| 31 | + |
| 32 | +If you just want to see it work, check out the [list of current examples](examples/v3.0). |
| 33 | + |
| 34 | +## Tools and Libraries |
| 35 | + |
| 36 | +Looking to see how you can create your own OpenAPI definition, present it or otherwise use it? Check out the growing |
| 37 | +[list of 3.0 Implementations](IMPLEMENTATIONS.md). |
14 | 38 |
|
15 | 39 | ## Participation
|
16 | 40 |
|
17 |
| -The OpenAPI Specification is a community driven, open project hosted by the Linux Foundation. The OAI encourages participation from individuals and companies alike. If you want to participate in the evolution of the OpenAPI Specification, consider taking the following actions: |
| 41 | +The current process for development of the OpenAPI Specification is described in |
| 42 | +[Development Guidelines](DEVELOPMENT.md). |
| 43 | +Development of the next version of the OpenAPI Specification is guided by the [Technical Developer Community](https://www.openapis.org/participate/how-to-contribute/governance#TDC) and governed by the [TDC Contributors](CONTRIBUTORS.md). This group of committers bring their API expertise, incorporate feedback from the community, and expand 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 future specification, this branch will be merged to master. |
| 44 | + |
| 45 | +The Open API Initiative encourages participation from individuals and companies alike. |
| 46 | +If you want to participate in the evolution of the OpenAPI Specification, consider taking the following actions: |
18 | 47 |
|
19 |
| -* Review the [current specification](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md). The human-readable markdown file _is the source of truth_ for the specification. |
20 |
| -* Review the [development](https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/DEVELOPMENT.md) process so you understand how the spec is evolving. |
| 48 | +* Review the [current specification](versions/3.0.md). The human-readable markdown file _is the source of truth_ for the specification. |
| 49 | +* Review the [development](DEVELOPMENT.md) process so you understand how the spec is evolving. |
21 | 50 | * 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.
|
22 | 51 | * Create an issue to describe a new concern. If possible, propose a solution.
|
23 | 52 |
|
24 | 53 | Not all feedback can be accommodated and there may be solid arguments for or against a change being appropriate for the specification.
|
25 | 54 |
|
26 | 55 | ## License
|
27 | 56 |
|
28 |
| -Copyright 2016 The Linux Foundation |
| 57 | +Copyright 2016, 2017 The Linux Foundation |
29 | 58 |
|
30 | 59 | Licensed under the Apache License, Version 2.0 (the "License");
|
31 | 60 | you may not use this file except in compliance with the License.
|
|
0 commit comments