openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TERM_GET_DOKU_LINKS:
    post:
      tags:
      - STERM_ATTR
      operationId: /rfc/TERM_GET_DOKU_LINKS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ID:
                  type: string
                  maxLength: 2
                  description: Document Class
                OBJECT:
                  type: string
                  maxLength: 60
                  description: Documentation Object
                DOCUMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 2
                        description: Document class
                      OBJECT:
                        type: string
                        maxLength: 60
                        description: Documentation Object
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Documentation language
                      TYP:
                        type: string
                        maxLength: 1
                        description: Documentation type
                      VERSION:
                        type: integer
                        format: int64
                        description: Version of Documentation Module
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TXTLINES:
                        type: integer
                        format: int64
                        description: Number of Text Lines in Line Table
                      DOKSTATE:
                        type: string
                        maxLength: 1
                        description: Status of documentation module
                      SELFDEF:
                        type: string
                        maxLength: 1
                        description: 'Object documentation status  enumValues: 1=Object does not appear in a screen,2=Not yet documented,""=Space: object requires documentation,3=The short text describes the object sufficiently'
                        enum:
                        - '1'
                        - '2'
                        - ''
                        - '3'
              required:
              - ID
              - OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCUMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 2
                          description: Document class
                        OBJECT:
                          type: string
                          maxLength: 60
                          description: Documentation Object
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Documentation language
                        TYP:
                          type: string
                          maxLength: 1
                          description: Documentation type
                        VERSION:
                          type: integer
                          format: int64
                          description: Version of Documentation Module
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TXTLINES:
                          type: integer
                          format: int64
                          description: Number of Text Lines in Line Table
                        DOKSTATE:
                          type: string
                          maxLength: 1
                          description: Status of documentation module
                        SELFDEF:
                          type: string
                          maxLength: 1
                          description: 'Object documentation status  enumValues: 1=Object does not appear in a screen,2=Not yet documented,""=Space: object requires documentation,3=The short text describes the object sufficiently'
                          enum:
                          - '1'
                          - '2'
                          - ''
                          - '3'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
