Skip to content

Instantly share code, notes, and snippets.

@iamralch
Created April 1, 2021 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamralch/343147e985ea169e9a70e1f6dfae7958 to your computer and use it in GitHub Desktop.
Save iamralch/343147e985ea169e9a70e1f6dfae7958 to your computer and use it in GitHub Desktop.
openapi: 3.0.0
info:
title: Render API
version: "1.0"
contact:
name: Cliche Digital Engineering
url: https://github.com/cliche-digital/render-api
email: engineering@cliche.digital
license:
name: Cliche Digital (c)
url: https://github.com/cliche-digital/render-api/blob/master/LICENSE
servers:
- url: http://localhost:3000/
paths:
/v1/documents:
post:
summary: Transcode a document to MJML format.
operationId: RenderDocument
requestBody:
content:
application/json:
schema:
type: string
application/mjml:
schema:
type: string
responses:
200:
description: OK
content:
text/html:
schema:
type: string
application/json:
schema:
type: string
application/mjml:
schema:
type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment