openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAP_GET_MSG_TEXT:
    post:
      tags:
      - RSAK
      operationId: /rfc/RSAP_GET_MSG_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MSG_PARAM:
                  type: object
                  properties:
                    LONGTEXT:
                      type: string
                      maxLength: 1
                      description: Return long text
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key of Current Text Environment
                    MSGID:
                      type: string
                      maxLength: 20
                      description: Work area 20 digit
                    MSGNO:
                      type: integer
                      format: int64
                      description: Message Number
                T_DOK:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 2
                        description: Document class
                      OBJECT:
                        type: string
                        maxLength: 60
                        description: Documentation Object
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Documentation language
                      TYP:
                        type: string
                        maxLength: 1
                        description: Documentation type
                      DOKVERSION:
                        type: integer
                        format: int64
                        description: Version of Documentation Module
                      LINE:
                        type: integer
                        format: int64
                        description: Line number within the documentation element
                      DOKFORMAT:
                        type: string
                        maxLength: 2
                        description: Documentation format from SAPscript
                      DOKTEXT:
                        type: string
                        maxLength: 72
                        description: Text line in the documentation module
              required:
              - MSG_PARAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MSG_TEXT:
                    type: string
                    maxLength: 132
                  T_DOK:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 2
                          description: Document class
                        OBJECT:
                          type: string
                          maxLength: 60
                          description: Documentation Object
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Documentation language
                        TYP:
                          type: string
                          maxLength: 1
                          description: Documentation type
                        DOKVERSION:
                          type: integer
                          format: int64
                          description: Version of Documentation Module
                        LINE:
                          type: integer
                          format: int64
                          description: Line number within the documentation element
                        DOKFORMAT:
                          type: string
                          maxLength: 2
                          description: Documentation format from SAPscript
                        DOKTEXT:
                          type: string
                          maxLength: 72
                          description: Text line in the documentation module
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
