openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BTF_REPLACE_LINKS:
    post:
      tags:
      - SBTF
      summary: Link Replacement
      operationId: /rfc/BTF_REPLACE_LINKS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CFG_STANDARD:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: BTF Configuration Name
                      VALUE:
                        type: string
                        description: BTF Configuration Value
                ENCODING:
                  type: string
                  description: Character Set
                LINKS:
                  type: array
                  items:
                    type: object
                    properties:
                      LINK_IN:
                        type: string
                        description: Inbound Link
                      LINK_OUT:
                        type: string
                        description: Outbound Link
                      LINK_CHANGEMODE:
                        type: integer
                        format: int32
                        description: Replacement type
                      LINK_ELEMENT:
                        type: integer
                        format: int32
                        description: Link Element
                TEXT_IN:
                  type: string
                  format: byte
                  description: Text
              required:
              - CFG_STANDARD
              - ENCODING
              - LINKS
              - TEXT_IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TEXT_OUT:
                    type: string
                    format: byte
                    description: Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
