Skip to content

Commit 252ef37

Browse files
committed
added files
1 parent 8100f14 commit 252ef37

File tree

4 files changed

+67
-45
lines changed

4 files changed

+67
-45
lines changed

CONTRIBUTORS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Darrel Miller (@darrelmiller)
2+
Jason Harmon (@jasonh-n-austin)
3+
Jeremy Whitlock (@whitlockjc)
4+
Marsh Gardiner (@earth2marsh)
5+
Ron Ratovsky (@webron)
6+
Tony Tam (@fehguy)

DEVELOPMENT.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## Objective of this Document
2+
3+
Establish guidelines which build a transparent, open mechanism for deciding how to change the specification. The TCB will initially follow these processes when merging changes from external contributors or from the TCB itself, and adjust them as it makes sense.
4+
5+
## OAI Specification Driving factors
6+
7+
The spec should be use-case driven. We can write support for hypothetical use cases as we see fit, but they should be backed by realistic scenarios
8+
9+
## Specification change criteria
10+
11+
The specification _will change_ from the 2.0 version. We should typically do so when any of the following criteria are met:
12+
13+
- Clarity. The current "way" something is done doesn't make sense, is complicated, or not clear
14+
- Consistency. A portion of the specification is not consistent with the rest, or the industry standard terminology
15+
- Necessary functionality. We are missing functionality because of a certain design of the specification
16+
- Forward-looking designs. As usage of APIs evolves to new protocols, formats, patterns, we should always be considering what the next important functionality should be
17+
- Impact. A change will provide impact on a large number of use cases. We should not be forced to accommodate every use case. We should strive to make the _common_ and _important_ use cases both well supported and common in the definition of the OAI Spec. We cannot be edge-case driven.
18+
19+
20+
## Tracking Process
21+
22+
- Use GitHub for all spec designs, use cases, etc.
23+
- As with 2.0, the **human readable** document is the source of truth. If using a JSON Schema again to document the spec, it is secondary to the human documentation. The documentation should live in a *.md file, in parallel to the 2.0 document (versions/3.0.md for example).
24+
- The `master` branch shall remain the current, released OpenAPI Specification (i.e. 2.0). We will work in an OpenAPI.next branch, which shall be described and linked to on the **default** README.md on master
25+
- Examples of how something is described _currently_ vs. the proposed solution should accompany any change proposal
26+
- New features should be done in feature branches which, upon approval, be merged into the OpenAPI.next branch.
27+
- Use labels for the workflow of specification changes. For example, this may be labeled as `proposed`, `needs migration review`, `needs tooling review`, `needs documentation`, `rejected`, `needs approval`. These labels must be assigned by project committers
28+
- An issue will be opened for each feature change. Embedded in the issue OR ideally linked in a file via PR, a document should be supplied for use cases for the change
29+
- A PR will be used to describe the _proposed_ solution, and linked to the original issue
30+
- Not all committers will contribute to ever single proposed change. There may be many open proposals at once, and multiple efforts may happen in parallel
31+
- When the OpenApi.next spec is complete and approved for release, the branch will be merged to master.
32+
33+
## Approving Changes
34+
35+
For each change in the specification we should _always_ consider the following:
36+
37+
- Migration. Is this a construct that has a path from the existing 2.0 specification? If so, how complicated is it to migrate to the proposed change?
38+
- Tooling. Strive to support code generation, software interfaces, spec generation techniques. Some features may be impossible to support in different frameworks/languages. These should be documented and considered if the change should be approved.
39+
- Visualization. Can the specification change be graphically visualized somehow in a UI or other?
40+
41+
Spec changes should be approved by a majority of the committers. This can be done by commenting on the issue itself ("Approved by @fehguy" for example). Once voting criteria is met, any committer can merge the PR. (**TODO: we will want to formalize what voting criteria actually is).
42+
43+
No change should be approved until there is documentation for it, supplied in an accompanying PR.
44+
45+
## Transparency
46+
47+
We should always be as transparent as possible. Sometimes there will be discussions that use customer names, sensitive use cases, etc. These must be anonymized, discussed in a private repository, or offline
48+
49+
- Offline Discussions should live in issues.
50+
- Realtime discussions should be in a public chat such as IRC or Slack

README.md

Lines changed: 11 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,21 @@
1-
# The OpenAPI Specification (fka The Swagger Specification)
1+
# The OpenAPI Specification
22

3-
[![Build Status](https://travis-ci.org/swagger-api/swagger-spec.svg?branch=master)](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).
44

5-
![](https://avatars3.githubusercontent.com/u/16343502?v=3&s=200)
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.
66

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.
88

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).
1010

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
1212

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:
1414

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.
5319

5420
## License
5521

swagger-logo.jpg

-12.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)