openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_R_SEARCH:
    post:
      tags:
      - SPRR
      operationId: /rfc/RSPO_R_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PATTERN:
                  type: string
                  maxLength: 255
                  description: File Name with Path
                MATCHES:
                  type: array
                  items:
                    type: object
                    properties:
                      TITLE:
                        type: string
                        maxLength: 180
                        description: 'Spool: Table of contents text'
                      LEVEL:
                        type: integer
                        format: int64
                        description: 'Spool: Table of contents level'
                      PAGE:
                        type: integer
                        format: int64
                        description: Page Counter
                RQDESC:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAM:
                        type: string
                        maxLength: 16
                        description: Parameter name for spool settings
                      VALUE:
                        type: string
                        maxLength: 200
                        description: Spool parameter value
              required:
              - PATTERN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MATCHES:
                    type: array
                    items:
                      type: object
                      properties:
                        TITLE:
                          type: string
                          maxLength: 180
                          description: 'Spool: Table of contents text'
                        LEVEL:
                          type: integer
                          format: int64
                          description: 'Spool: Table of contents level'
                        PAGE:
                          type: integer
                          format: int64
                          description: Page Counter
                  RQDESC:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAM:
                          type: string
                          maxLength: 16
                          description: Parameter name for spool settings
                        VALUE:
                          type: string
                          maxLength: 200
                          description: Spool parameter value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
