mirror of
https://github.com/Telecominfraproject/wlan-docs-openlan.git
synced 2025-11-02 03:37:56 +00:00
16 lines
523 B
Markdown
16 lines
523 B
Markdown
---
|
|
icon: network-wired
|
|
---
|
|
|
|
# OpenAPI
|
|
|
|
You can sync GitBook pages with an OpenAPI or Swagger file or a URL to include auto-generated API methods in your documentation.
|
|
|
|
### OpenAPI block
|
|
|
|
GitBook's OpenAPI block is powered by [Scalar](https://scalar.com/), so you can test your APIs directly from your docs.
|
|
|
|
{% openapi src="https://petstore3.swagger.io/api/v3/openapi.json" path="/pet" method="post" %}
|
|
[https://petstore3.swagger.io/api/v3/openapi.json](https://petstore3.swagger.io/api/v3/openapi.json)
|
|
{% endopenapi %}
|