openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_BUSINESS_OBJECTS_GET:
    post:
      tags:
      - SWOD
      operationId: /rfc/SWO_BUSINESS_OBJECTS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language for short texts
                WITH_DELEGATION:
                  type: string
                  default: ' '
                  maxLength: 1
                WITH_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read short texts for object types
                OBJECTTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 10
                        description: Object Type
                      EDITELEM:
                        type: string
                        maxLength: 32
                        description: Object name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      CLASS_BO:
                        type: string
                        maxLength: 1
                        description: 'Business Object  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLASS_ORG:
                        type: string
                        maxLength: 1
                        description: 'Organizational object type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ISLINK:
                        type: string
                        maxLength: 1
                        description: Reference
                      MODELONLY:
                        type: string
                        maxLength: 1
                        description: 'Release status object type  enumValues: X=Object type is only modeled,""=Object type is implemented,R=Object type is released'
                        enum:
                        - X
                        - ''
                        - R
                      DELEGTYPE:
                        type: string
                        maxLength: 10
                        description: Delegation Type
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECTTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 10
                          description: Object Type
                        EDITELEM:
                          type: string
                          maxLength: 32
                          description: Object name
                        SHORTTEXT:
                          type: string
                          maxLength: 80
                          description: Description
                        CLASS_BO:
                          type: string
                          maxLength: 1
                          description: 'Business Object  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CLASS_ORG:
                          type: string
                          maxLength: 1
                          description: 'Organizational object type  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ISLINK:
                          type: string
                          maxLength: 1
                          description: Reference
                        MODELONLY:
                          type: string
                          maxLength: 1
                          description: 'Release status object type  enumValues: X=Object type is only modeled,""=Object type is implemented,R=Object type is released'
                          enum:
                          - X
                          - ''
                          - R
                        DELEGTYPE:
                          type: string
                          maxLength: 10
                          description: Delegation Type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
