openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWPN_GET_SERVICE_FROM_MENU:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWPN_GET_SERVICE_FROM_MENU
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MENU_FOLDER:
                  type: string
                  maxLength: 1
                MENU_REPORT:
                  type: string
                  maxLength: 48
                MENU_REPORTTYPE:
                  type: string
                  maxLength: 2
                OBJECT_ID:
                  type: integer
                  format: int64
                ROLENAME:
                  type: string
                  maxLength: 30
              required:
              - OBJECT_ID
              - ROLENAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SRVSUBTYPE:
                    type: string
                    maxLength: 15
                  SRVTYPE:
                    type: string
                    maxLength: 15
                  SRV_KEY:
                    type: string
                    maxLength: 60
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
