{{< openapi >}}

Description#


The openapi shortcode allows to display an OpenAPI documentation associated to a service.

Paramètres#


Name Type(named/positional) Description
source named Source of the OpenAPI documentation.
NB: The source can be either a local path or an URL.

Examples#


Markdown Rendering
{{</* openapi source="/openapi/example.yaml" */>}}
Loading
{{</* openapi source="https://petstore.swagger.io/v2/swagger.json" */>}}
Loading