openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TR_DOCU_INTERFACE:
    post:
      tags:
      - SCTS_DOCU
      operationId: /rfc/TR_DOCU_INTERFACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ACTION:
                  type: string
                  default: R
                  maxLength: 1
                IV_MODIFY_APPENDING:
                  type: string
                  default: X
                  maxLength: 1
                IV_OBJECT:
                  type: string
                  maxLength: 20
                TT_LINE:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
              required:
              - IV_OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TT_LINE:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
