OpenAPI: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 36: Line 36:
=Media Types=
=Media Types=
=Authentication and Authorization=
=Authentication and Authorization=
{{External|https://swagger.io/docs/specification/authentication/}}
{{Internal|OpenAPI Authentication and Authorization|Authentication and Authorization}}
==Basic Authentication==
==API Keys==
==Bearer Authentication==
==OAuth 2.0==
==OpenID Connect Discovery==
==Cookie Authentication==

Revision as of 16:53, 2 November 2023

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 2.0

Also referred to as "Swagger".

Swagger 2.0 Example

OpenAPI 3.0

Media Types

Authentication and Authorization

Authentication and Authorization