# Generated by ShowAPI OpenAPI generator
# source: market/341
# generated-at: 2026-06-28T01:17:12.783Z
openapi: 3.0.3
info:
  title: 笑话大全
  description: 精选各种文字类笑话，适用于门户、论坛、博客、娱乐等类型的内容性平台，应用于用户引流，减少用户跳出率。信息搜集整理于互联网。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /341-5:
    x-pointCode: 5
    x-mode: mapping
    x-read-timeout: 20
    x-connect-timeout: 20
    post:
      summary: 随机生成文本笑话
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          id:
                            type: string
                          title:
                            type: string
                            description: 标题（会重复）
                          text:
                            type: string
                            description: 文本内容
                          ret_code:
                            type: number
                            description: 0为成功，其他失败
                          remark:
                            type: string
                            description: 返回描述
                          ct:
                            type: string
                            description: 时间
                        description: 业务返回体
      operationId: 341_5_POST
      parameters: []
components:
  securitySchemes:
    AppKeyAuth:
      type: apiKey
      in: query
      name: appKey
      description: 从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp
  schemas:
    ShowapiResEnvelope:
      type: object
      description: ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）
      properties:
        showapi_res_code:
          type: integer
          description: API 返回的状态码
        showapi_res_error:
          type: string
          description: API 返回的错误信息
        showapi_res_id:
          type: string
          description: API 请求的唯一标识
        showapi_fee_num:
          type: integer
          description: API 调用计费次数
security:
  - AppKeyAuth: []
externalDocs:
  url: https://www.showapi.com/apiGateway/view/341?tab=book
x-apiCode: "341"
x-is-own: false
x-is-op: true
