简体   繁体   中英

Schema error at paths should NOT have additional properties in SWAGGER

Please help me to solve this issue

paths:   'sepa/sct/{OriginatorAccount}':
    post:
      tags:
        - SCT Initiation
      summary: SCT Initiation
      description: ''
      operationId: doSEPASCTInit
      parameters:
        - name: OriginatorAccount
          in: path
          description: Originator Account
          required: true
          type: string
        - in: body
          description: Input Content
          name: body
          required: false
          schema:
              $ref: '#/definitions/MandateInfo'
      responses:
        '200':
          description: successful operation
          schema:
            $ref: '#/definitions/MandateInfo'
        '400':
          description: Operation failed
        default:
          description: Alert details added successfully.

Error:

Schema error at paths should NOT have additional properties additionalProperty: sepa/sct/{OriginatorAccount}

端点路径必须以正斜杠/开头

/sepa/sct/{OriginatorAccount}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM