having a problem with yaml and developer portal

benrodriguez
Participant II

I have a yaml file that is working with the swagger editor, postman and soap but when I try to execute the yaml from my devportal I get a webkit error. I've included a screenshot of the error.

4534-pasted-image-at-2017-03-29-11-02-am.png

  /trips:
    put:
      tags:
        - Trips
      summary: Remove a trip
      operationId: Remove a trip
      consumes:
        - application/json
      produces:
        - application/json
      responses:
        '200':
          description: OK
          schema:
            description: ''
            type: object
            properties:
              status:
                type: object
                properties:
                  code:
                    type: number
                  version:
                    type: string
                    minLength: 1
                  requestId:
                    type: string
                    minLength: 1
                required:
                  - code
                  - version
                  - requestId
              data:
                type: object
                properties: {}
                required: []
            required:
              - status
              - data
      parameters:
        - name: Authorization
          in: header
          description: Provide valid token. Prefix "Bearer " before passing token.
          default: Bearer {token}
          required: true
          type: string
        - name: userId
          in: header
          description: Provide a user id.
          required: true
          type: string
        - name: deviceId
          in: header
          description: Provide a device id.
          required: true
          type: string
        - name: Content-Type
          in: header
          description: Provide content-type header
          required: true
          type: string
        - name: tripIds
          in: header
          type: string
          description: >-
            Trip Id must me semicolon separated, if multiple trip id's needs to
            be removed
          required: true
        - in: body
          name: body
          schema:
            type: object
            properties:
              customerInfo:
                type: object
                properties:
                  memberDeviceId:
                    type: string
                    minLength: 1
                required:
                  - memberDeviceId
              trips:
                type: array
                uniqueItems: true
                minItems: 1
                items:
                  required:
                    - id
                    - rejectReason
                  properties:
                    id:
                      type: string
                      minLength: 1
                    rejectReason:
                      type: string
                      minLength: 1
            required:
              - customerInfo
              - trips
          description: Trip removal payload
          required: true
0 1 514
1 REPLY 1

@Ben Rodriguez , That's strange , Is there any sample yaml using which we can reproduce with sample API ? Keep us posted.