openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPRT_DR_GET_METADATA:
    post:
      tags:
      - SPRT
      operationId: /rfc/SPRT_DR_GET_METADATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTNAME:
                        type: string
                        maxLength: 10
                        description: 'Drag&Relate: Object Type'
                      ATTRNAME:
                        type: string
                        maxLength: 32
                        description: Object type component
                      ATTRTYPE:
                        type: string
                        maxLength: 1
                        description: Character field with length 1
                      DATATYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP elementary data type  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      DATALEN:
                        type: integer
                        format: int64
                        description: Internal field length
                RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      SOURCETYPE:
                        type: string
                        maxLength: 10
                        description: 'Drag&Relate: Object Type'
                      TARGETTYPE:
                        type: string
                        maxLength: 10
                        description: 'Drag&Relate: Target object type'
                      ATTRIBNAME:
                        type: string
                        maxLength: 32
                        description: 'Drag&Relate: Attribute name for object relations'
                      ACCESSTYPE:
                        type: string
                        maxLength: 1
                        description: 'Drag&Relate: Type of Object Link  enumValues: A=Attribute,I=Inheritance relationship'
                        enum:
                        - A
                        - I
                      API_NAME:
                        type: string
                        maxLength: 128
                        description: 'Drag&Relate query: API name'
                      REVERSIBLE:
                        type: string
                        maxLength: 1
                        description: Character field with length 1
                      COMBINABLE:
                        type: string
                        maxLength: 1
                        description: Character field with length 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LANGUAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTNAME:
                          type: string
                          maxLength: 10
                          description: 'Drag&Relate: Object Type'
                        ATTRNAME:
                          type: string
                          maxLength: 32
                          description: Object type component
                        ATTRTYPE:
                          type: string
                          maxLength: 1
                          description: Character field with length 1
                        DATATYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP elementary data type  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                            (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        DATALEN:
                          type: integer
                          format: int64
                          description: Internal field length
                  RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        SOURCETYPE:
                          type: string
                          maxLength: 10
                          description: 'Drag&Relate: Object Type'
                        TARGETTYPE:
                          type: string
                          maxLength: 10
                          description: 'Drag&Relate: Target object type'
                        ATTRIBNAME:
                          type: string
                          maxLength: 32
                          description: 'Drag&Relate: Attribute name for object relations'
                        ACCESSTYPE:
                          type: string
                          maxLength: 1
                          description: 'Drag&Relate: Type of Object Link  enumValues: A=Attribute,I=Inheritance relationship'
                          enum:
                          - A
                          - I
                        API_NAME:
                          type: string
                          maxLength: 128
                          description: 'Drag&Relate query: API name'
                        REVERSIBLE:
                          type: string
                          maxLength: 1
                          description: Character field with length 1
                        COMBINABLE:
                          type: string
                          maxLength: 1
                          description: Character field with length 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
