mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates core-principles/openapi-specification.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Apiary
|
||||
Every API description MUST to be stored in [Apiary](https://apiary.io/) under the ADIDAS GROUP team. Apiary MUST be the single source of truth to learn about existing APIs within the organization.
|
||||
Every API description MUST to be stored in [Apiary](https://apiary.io/) under the ADIDAS GROUP team. Apiary MUST be the **single source of truth** to learn about existing APIs within the organization.
|
||||
|
||||
(TODO: see Apiary Appendix)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Design Maturity
|
||||
Every API design MUST be resource-centric ([Web API Design Maturity Model Level 2](http://amundsen.com/talks/2016-11-apistrat-wadm/2016-11-apistrat-wadm.pdf)). That is an API design MUST revolve around Web-styled resources, relations between the resources and the actions the resources might afford.
|
||||
Every API design MUST be **resource-centric** ([Web API Design Maturity Model Level 2](http://amundsen.com/talks/2016-11-apistrat-wadm/2016-11-apistrat-wadm.pdf)). That is an API design MUST revolve around Web-styled **resources**, **relations** between the resources and the **actions** the resources might afford.
|
||||
|
||||
An API design MAY be affordance-centric ([Web API Design Maturity Model Level 3](http://amundsen.com/talks/2016-11-apistrat-wadm/2016-11-apistrat-wadm.pdf)).
|
||||
An API design MAY be **affordance-centric** ([Web API Design Maturity Model Level 3](http://amundsen.com/talks/2016-11-apistrat-wadm/2016-11-apistrat-wadm.pdf)).
|
||||
|
||||
|
||||
(TODO: see API Design Process Appendix)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# Implementation Maturity
|
||||
Every API design using the HTTP(S) protocol MUST implement any action afforded by a resource using the appropriate HTTP Request Method semantics.
|
||||
Every API design using the HTTP(S) protocol MUST implement any action afforded by a resource using the appropriate **HTTP Request Method semantics** ([Richardson Maturity Model Level 2](https://martinfowler.com/articles/richardsonMaturityModel.html#level2)).
|
||||
|
||||
|
||||
(TODO: see HTTP Verbs Appendix)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# OpenAPI Specification
|
||||
Every API MUST be described using API Description format. The API Description format used MUST be the [OpenAPI Specification (formerly known as Swagger Specification) version 2.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md).
|
||||
|
||||
## Language
|
||||
The API description MUST be written in U.S. English.
|
||||
(TODO: see OpenAPI Appendix)
|
||||
|
||||
(TODO: see OpenAPI Appendix)
|
||||
## Language
|
||||
The API description MUST be written in **American English**.
|
||||
|
||||
Reference in New Issue
Block a user