{
    "openapi": "3.0.0",
    "info": {
        "title": "打工人语录 - API文档",
        "version": "1.0.0",
        "description": "我要悄悄打工，然后惊艳所有人。加班到深夜，肚子饿得咕咕叫，但一想到老板的笑容，我就觉得还能再撑一会儿。老板画的大饼虽然不好吃，但至少能填饱肚子。随机返回打工人语录，不定期更新。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/dgryl\/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": {
                                        "content": {
                                            "type": "string",
                                            "example": "老板画的大饼虽然不好吃，但至少能填饱肚子。",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "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": {
                                        "content": {
                                            "type": "string",
                                            "example": "老板画的大饼虽然不好吃，但至少能填饱肚子。",
                                            "description": "内容"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "content": "老板画的大饼虽然不好吃，但至少能填饱肚子。"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}