openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MENU_GET_RESORT_TABLES:
    post:
      tags:
      - SMNU
      operationId: /rfc/MENU_GET_RESORT_TABLES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INPUT_NODES_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTOMIZED:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      REPORTTYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      REPORT:
                        type: string
                        maxLength: 48
                        description: Extended program name
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                      PAR_MENU:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      CUST_FLAG:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      SAP_GUID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                INPUT_TEXTS_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                OUTPUT_NODES_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSTOMIZED:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      REPORTTYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      REPORT:
                        type: string
                        maxLength: 48
                        description: Extended program name
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                      PAR_MENU:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      CUST_FLAG:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      SAP_GUID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                OUTPUT_TEXTS_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INPUT_NODES_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTOMIZED:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        REPORTTYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        REPORT:
                          type: string
                          maxLength: 48
                          description: Extended program name
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                        PAR_MENU:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        CUST_FLAG:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        SAP_GUID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                  INPUT_TEXTS_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                  OUTPUT_NODES_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSTOMIZED:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        REPORTTYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        REPORT:
                          type: string
                          maxLength: 48
                          description: Extended program name
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                        PAR_MENU:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        CUST_FLAG:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        SAP_GUID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                  OUTPUT_TEXTS_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
