{
    "openapi": "3.0.0",
    "info": {
        "title": "朋友圈文案 - API文档",
        "version": "1.0.0",
        "description": "每次请求随机返回一个适合发朋友圈的简单走心的文案句子，不定期更新。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/pyqwenan\/index": {
            "get": {
                "summary": "朋友圈文案查询",
                "tags": [
                    "朋友圈文案"
                ],
                "description": "",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "source": {
                                            "type": "string",
                                            "example": "佚名",
                                            "description": "来源出处"
                                        },
                                        "content": {
                                            "type": "string",
                                            "example": "我经过你的世界，遇见了此生最美的风景。",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "source": "佚名",
                                        "content": "我经过你的世界，遇见了此生最美的风景。"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "朋友圈文案查询",
                "tags": [
                    "朋友圈文案"
                ],
                "description": "",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    }
                                },
                                "required": [
                                    "key"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "source": {
                                            "type": "string",
                                            "example": "佚名",
                                            "description": "来源出处"
                                        },
                                        "content": {
                                            "type": "string",
                                            "example": "我经过你的世界，遇见了此生最美的风景。",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "source": "佚名",
                                        "content": "我经过你的世界，遇见了此生最美的风景。"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}