小编Lee*_*ams的帖子

Swagger 编辑器中的“映射条目缩进错误”错误是什么意思?

我在以下 OpenAPI 定义的 Swagger 编辑器中收到“映射条目缩进错误”错误。谁能告诉下面的代码有什么问题?

      responses:
        '200':
          description: List all applicable errors for API
          headers:
            x-request-received-at:
              type: string
              description: A datetime stamp of when the request was received
            x-response-sent-at:
              type: string
              description: A datetime stamp of when the response was sent
          schema:
            $ref: '#/definitions/ErrorResponse'
        default:
          description: An unexpected error occurred
          schema:
            $ref: '#/definitions/Error'
   '/funeral/{contractReference}/agreement':
     get:
        summary: Get the funeral policy and debit order mandate agreement for the client to sign
        operationId: 
         - get801FuneralCoverPlanAgreementHtml
         - getAUTHORITYANDMANDATEFORPAYMENTINSTRUCTIONSHTML
        tags:
         - "FuneralCoverService"
         - "InternalAPI" …
Run Code Online (Sandbox Code Playgroud)

swagger swagger-2.0 swagger-editor

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

swagger ×1

swagger-2.0 ×1

swagger-editor ×1