openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_DOCU_READ:
    post:
      tags:
      - SIFD
      summary: Read documentation of development objkects from the ABAP/4 DW
      operationId: /rfc/RPY_DOCU_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUTYPE:
                  type: string
                  default: U
                  maxLength: 1
                  description: '''U'' -> Doc. in free format, ''T'' -> SAPscript format'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language in which documentation is to be read
                OBJECTNAME:
                  type: string
                  maxLength: 60
                  description: Name of documented object (table, ...)
                OBJECTTYPE:
                  type: string
                  maxLength: 2
                  description: Type of object (DE, TB, DM, ET, ...)
                DOCU_TABLE_TECH:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                DOCU_TABLE_USER:
                  type: array
                  items:
                    type: object
                    properties:
                      KEY_ID:
                        type: string
                        maxLength: 1
                        description: Line type ID with complex objects
                      OBJLINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
              required:
              - OBJECTNAME
              - OBJECTTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCU_TABLE_TECH:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  DOCU_TABLE_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        KEY_ID:
                          type: string
                          maxLength: 1
                          description: Line type ID with complex objects
                        OBJLINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
