openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_QUERY_API_OBJTYPES:
    post:
      tags:
      - SWOR
      operationId: /rfc/SWO_QUERY_API_OBJTYPES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language in which Texts are Read
                OBJECT_NAME:
                  type: string
                  default: ' '
                  maxLength: 32
                WITH_IMPLEMENTED:
                  type: string
                  default: ' '
                  maxLength: 1
                WITH_INTERNAL_API_METHODS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Language in which Texts are Read
                WITH_OBJECT_NAMES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Read object names
                WITH_TEXTS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Read texts as well
                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.
