openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_GP_DEF_TEXTS_SET:
    post:
      tags:
      - SWF_GP_DEF
      operationId: /rfc/SWF_GP_DEF_TEXTS_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_GPD_ID:
                  type: string
                  maxLength: 32
                IM_GPD_VERSION:
                  type: string
                  maxLength: 4
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IM_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      ID:
                        type: string
                        maxLength: 80
                        description: Step ID Corresponding to Attribute ID in Deployment Format
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Step Text
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                ET_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
              required:
              - IM_GPD_ID
              - IM_GPD_VERSION
              - IM_TEXTS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_RETURNCODE:
                    type: integer
                    format: int64
                  ET_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
