OpenAPI: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:
=Versions=
=Versions=


==OpenAPI 3.0.0==
{{External|https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md}}
==OpenAPI 2.0==
==OpenAPI 2.0==
Also referred to as "Swagger".
Also referred to as "Swagger".
{{Internal|Swagger 2.0 Example|Swagger 2.0 Example}}
{{Internal|Swagger 2.0 Example|Swagger 2.0 Example}}



Revision as of 20:14, 25 January 2024

External

Internal

Overview

OpenAPI Specification

OpenAPI Specification (formerly Swagger Specification) is an API description format for REST APIs. An OpenAPI file allows you to describe the entire API, including:

  • Available endpoints and operations on each endpoint.
  • Input and output parameters for each operation.
  • Authentication methods.
  • Contact information, license, terms of use, etc.
OpenAPI Specification

Versions

OpenAPI 3.0.0

https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md

OpenAPI 2.0

Also referred to as "Swagger".

Swagger 2.0 Example

OpenAPI 3.0

Media Types

Authentication and Authorization

Authentication and Authorization

Language Support