icon |
---|
network-wired |
You can sync GitBook pages with an OpenAPI or Swagger file or a URL to include auto-generated API methods in your documentation.
GitBook's OpenAPI block is powered by Scalar, so you can test your APIs directly from your docs.
{% swagger src="https://petstore3.swagger.io/api/v3/openapi.json" path="/pet" method="post" %} https://petstore3.swagger.io/api/v3/openapi.json {% endswagger %}