openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_GET_FUNCTION_INTERFACE:
    post:
      tags:
      - RFC1
      operationId: /rfc/RFC_GET_FUNCTION_INTERFACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCNAME:
                  type: string
                  maxLength: 30
                  description: Name of function module
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language for parameter texts
                NONE_UNICODE_LENGTH:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Language for parameter texts
                PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMCLASS:
                        type: string
                        maxLength: 1
                        description: Parameter type
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter name
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      EXID:
                        type: string
                        maxLength: 1
                        description: ABAP Data Type
                      POSITION:
                        type: integer
                        format: int32
                        description: Position of field in structure (from 1)
                      OFFSET:
                        type: integer
                        format: int32
                        description: Field offset from beginning of structure (from 0)
                      INTLENGTH:
                        type: integer
                        format: int32
                        description: Internal length of field
                      DECIMALS:
                        type: integer
                        format: int32
                        description: Number of decimal places
                      DEFAULT:
                        type: string
                        maxLength: 21
                        description: Default value for import parameter
                      PARAMTEXT:
                        type: string
                        maxLength: 79
                        description: Short text
                      OPTIONAL:
                        type: string
                        maxLength: 1
                        description: Optional parameters
              required:
              - FUNCNAME
              - NONE_UNICODE_LENGTH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMCLASS:
                          type: string
                          maxLength: 1
                          description: Parameter type
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter name
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        EXID:
                          type: string
                          maxLength: 1
                          description: ABAP Data Type
                        POSITION:
                          type: integer
                          format: int32
                          description: Position of field in structure (from 1)
                        OFFSET:
                          type: integer
                          format: int32
                          description: Field offset from beginning of structure (from 0)
                        INTLENGTH:
                          type: integer
                          format: int32
                          description: Internal length of field
                        DECIMALS:
                          type: integer
                          format: int32
                          description: Number of decimal places
                        DEFAULT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        PARAMTEXT:
                          type: string
                          maxLength: 79
                          description: Short text
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
