TailwindGPT
TailwindGPT · GPT Actions
Tailwind Playground API
A simple API to generate Tailwind CSS preview links.
POST /generate-previewgeneratePreviewGenerates a preview of the given Tailwind CSS HTML code.
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Tailwind Playground API",
"description": "A simple API to generate Tailwind CSS preview links.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://tailwind-playground.m1guelpf.me"
}
],
"paths": {
"/generate-preview": {
"post": {
"description": "Generates a preview of the given Tailwind CSS HTML code.",
"operationId": "generatePreview",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"html"
],
"properties": {
"html": {
"description": "Tailwind CSS HTML code.",
"type": "string"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Generated Preview Link",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"description": "URL to the generated preview.",
"type": "string",
"format": "uri"
}
}
}
}
}
}
},
"x-openai-isConsequential": false
}
}
}
}