openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_VERSIONS_GET:
    post:
      tags:
      - SXMI
      summary: Query Supported Versions of XMI Interfaces
      operationId: /rfc/SXMI_VERSIONS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INTERFACE:
                  type: string
                  default: '*'
                  maxLength: 3
                  description: Interface to be viewed
                VERSIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      INTERFACE:
                        type: string
                        maxLength: 3
                        description: Interface ID (for example, XBP)
                      VERSION:
                        type: string
                        maxLength: 10
                        description: Version of XMI interface delivered for check purposes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VERSIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        INTERFACE:
                          type: string
                          maxLength: 3
                          description: Interface ID (for example, XBP)
                        VERSION:
                          type: string
                          maxLength: 10
                          description: Version of XMI interface delivered for check purposes
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
