openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPDA_SORT_COMPONENTS:
    post:
      tags:
      - SPDA
      operationId: /rfc/SPDA_SORT_COMPONENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LOGFILE:
                  type: string
                  maxLength: 255
                IV_SORT_DESCENDING:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Sort descending
                TT_COMPS:
                  type: array
                  items:
                    type: object
                    properties:
                      RELSTAMP:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      CPTRELEASE:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      EXTRELEASE:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      COMP_TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_MESSAGE:
                    type: string
                    maxLength: 80
                    description: Error message
                  EV_RC:
                    type: integer
                    format: int32
                    description: Return Code
                  TT_COMPS:
                    type: array
                    items:
                      type: object
                      properties:
                        RELSTAMP:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        CPTRELEASE:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        EXTRELEASE:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        COMP_TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
