openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_QUERY_OBJTYPES:
    post:
      tags:
      - SWOR
      summary: Request object types
      operationId: /rfc/SWO_QUERY_OBJTYPES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_USER:
                  type: string
                  default: ' '
                  maxLength: 12
                INTERFACE:
                  type: string
                  default: ' '
                  maxLength: 10
                  description: Object types which support interface
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                OBJNAME:
                  type: string
                  default: ' '
                  maxLength: 32
                OBJTYPE:
                  type: string
                  default: ' '
                  maxLength: 10
                OBJTYPECLASS_IF:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Selection: Interfaces'
                OBJTYPECLASS_SAP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Selection: Object types'
                RELEASED:
                  type: string
                  default: '*'
                  maxLength: 1
                  description: Selection according to release status
                TEXTPATTERN:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Text selection
                WITH_DELEGATED_OBJTYPES:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Selection: Obsolete object types'
                WITH_IMPLEMENTED:
                  type: string
                  default: X
                  maxLength: 1
                  description: Detail selection for released object types
                WITH_OBSOLETE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Selection: Obsolete object types'
                OBJTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 32
                        description: Object name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 32
                          description: Object name
                        SHORTTEXT:
                          type: string
                          maxLength: 80
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
