openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_GROUP_SEARCH:
    post:
      tags:
      - RFC1
      operationId: /rfc/RFC_GROUP_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GROUPNAME:
                  type: string
                  maxLength: 26
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                GROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      GROUPNAME:
                        type: string
                        maxLength: 26
                        description: Function group, to which the function module belongs
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Function group text
              required:
              - GROUPNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  GROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        GROUPNAME:
                          type: string
                          maxLength: 26
                          description: Function group, to which the function module belongs
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Function group text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
