Forum Discussion

jamesfloyd's avatar
jamesfloyd
New Contributor
21 days ago

Having issue with 'should NOT have additional properties additionalProperty: responses'

Having issues and unable to resolve 'should NOT have additional properties additionalProperty: responses'.  Not able to identify issue and asking for input.  the YAML looks like below.

paths:
     '/deposit/v1/{cashDrawerNbr}/{transactionSeq}/{userName}/{businessDate}':
        post:
          tags:
            - deposit request
          summary: deposit transaction request
          operationId: deposit transaction
          description: send deposit transaction for TCR
          produces:
            - application/json
          parameters:
            - in: path
              name: cashDrawerNbr
              description: Cash Drawer number of Teller application transaction
              required: true
              schema:
                type: string
            - in: path
              name: transactionSeq
              description: Transaction sequence number of Teller application transaction 
              required: true
              schema:
                type: string
            - in: path
              name:  userName
              description:  User name from the Teller application
              required: true
              schema:
                type: string
            - in: path
              name:  businessDate
              description:  Business date of Teller application transaction
              required: true
              schema:
                type: string
          responses:
            '201': 
              description: deposit submitted
            '400':
              description: invalid input, object invalid
            '409':
              description: duplicate transaction request

 

No RepliesBe the first to reply