openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_QUERY_SUPERTYPES:
    post:
      tags:
      - SWOD
      summary: Determine supertypes for object type
      operationId: /rfc/SWO_QUERY_SUPERTYPES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJTYPE:
                  type: string
                  maxLength: 10
                SUPERTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      PARENT:
                        type: string
                        maxLength: 10
                        description: Supertype
                      DEPTH:
                        type: integer
                        format: int64
                        description: Depth in object tree
              required:
              - OBJTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SUPERTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        PARENT:
                          type: string
                          maxLength: 10
                          description: Supertype
                        DEPTH:
                          type: integer
                          format: int64
                          description: Depth in object tree
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
