OPENAPI-3-1
Standard web OpenAPI Specification 3.1.
Définition
OpenAPI 3.1 (publiée février 2021) apporte deux changements majeurs : alignement complet avec JSON-Schema 2020-12 (avant 3.1, OpenAPI utilisait un sous-ensemble divergent) et support natif des webhooks comme top-level field. Toujours JSON/YAML. Maintenue par l'OpenAPI Initiative (Linux Foundation).
Origine
OpenAPI 3.0 publiée 2017, fork de Swagger 2.0. v3.1 en 2021. Donation Linux Foundation 2017.
Exemple en contexte
openapi: 3.1.0\ninfo: ...\npaths: ...\nwebhooks: invoiceCreated: {post: {requestBody: ...}}
Termes liés
- JSON-Schema 2020-12 — standard sous-jacent.
- OpenAPI EDI — application au domaine EDI.