/render-apib-html

🌐 Serverless rendering of api blueprint files as styled html

Primary LanguageTypeScriptThe UnlicenseUnlicense

Render APIB HTML

Dependabot badge Dependencies Build Status Coverage Status

Serverless rendering of api blueprint files as styled html

Usage

Make a request with the api blueprint base64 encoded in the X-Blueprint header.

Endpoint

https://d31myey2oeipxs.cloudfront.net

Headers

{
  "X-Blueprint": "IyBIZWxsbyBXb3JsZCE="
}

Response

<h1>Hello World!</h1>

Example

curl --request GET \
  --location 'https://d31myey2oeipxs.cloudfront.net/v1' \
  --header 'X-Blueprint: Rk9STUFUOiAxQQoKIyBIZWxsbyBXb3JsZA=='

Credits