openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CSM_SHOW_DIR:
    post:
      tags:
      - SCSM_FILEINFO
      operationId: /rfc/CSM_SHOW_DIR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIRNAME:
                  type: string
                  maxLength: 512
                  description: Directory Name
                PATTERN:
                  type: string
                  maxLength: 512
                SHOW_ALL_INFO:
                  type: integer
                  format: int32
                  default: 1
                TIMEOUT:
                  type: integer
                  format: int32
                  default: 10
                ERROR_STD:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1024
                        description: Character 1024
                OUTPUT_STD:
                  type: array
                  items:
                    type: object
                    properties:
                      FILENAME:
                        type: string
                        maxLength: 512
                        description: Character 512
                      FILESIZE:
                        type: string
                        maxLength: 20
                        description: Char 20
                      F_OWNER:
                        type: string
                        maxLength: 32
                        description: Character field, length 32
                      F_GROUP:
                        type: string
                        maxLength: 32
                        description: Character field, length 32
                      LSTCHANGET:
                        type: string
                        maxLength: 6
                        description: Field of type TIMS
                      LSTCHANGED:
                        type: string
                        format: date
                        description: Field of type DATS
                      F_MODE:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
              required:
              - DIRNAME
              - SHOW_ALL_INFO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LINES_READ:
                    type: integer
                    format: int32
                  ERROR_STD:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1024
                          description: Character 1024
                  OUTPUT_STD:
                    type: array
                    items:
                      type: object
                      properties:
                        FILENAME:
                          type: string
                          maxLength: 512
                          description: Character 512
                        FILESIZE:
                          type: string
                          maxLength: 20
                          description: Char 20
                        F_OWNER:
                          type: string
                          maxLength: 32
                          description: Character field, length 32
                        F_GROUP:
                          type: string
                          maxLength: 32
                          description: Character field, length 32
                        LSTCHANGET:
                          type: string
                          maxLength: 6
                          description: Field of type TIMS
                        LSTCHANGED:
                          type: string
                          format: date
                          description: Field of type DATS
                        F_MODE:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
