openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SUBST_GENER8_BSP_APPLS:
    post:
      tags:
      - SUGP
      operationId: /rfc/SUBST_GENER8_BSP_APPLS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COUNTMAX:
                  type: integer
                  format: int32
                IT_GENSETC:
                  type: array
                  items:
                    type: object
                    properties:
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      NAME:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      GENSTATUS:
                        type: string
                        maxLength: 1
                        description: Generation Status (X = generated, E/S = error, I = initial)
              required:
              - COUNTMAX
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_GENSETC:
                    type: array
                    items:
                      type: object
                      properties:
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        NAME:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        GENSTATUS:
                          type: string
                          maxLength: 1
                          description: Generation Status (X = generated, E/S = error, I = initial)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
