openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_RFC_GSUBTYPES_CHECK_LIST:
    post:
      tags:
      - SGSUBTYPES
      operationId: /rfc/RS_RFC_GSUBTYPES_CHECK_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_SUBTYPE_KIND:
                  type: string
                  maxLength: 4
                I_TADIR_OBJECT:
                  type: string
                  maxLength: 4
                I_TADIR_OBJNAME:
                  type: string
                  maxLength: 30
                ET_SUBTYPES_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Subty. Name
                      TYPEKIND:
                        type: string
                        maxLength: 4
                        description: Object Ty.in GSUBTYPES
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 112
                        description: GTADIR Object Name from Release 6.10
                      SRCSYSTEM:
                        type: string
                        maxLength: 10
                        description: Original System of Object
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Author of the Repository object
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      GENFLAG:
                        type: string
                        maxLength: 1
                        description: 'Generation flag  enumValues: X=generated, is retained during the upgrade,T=generated, can be deleted during the upgrade,""=not generated'
                        enum:
                        - X
                        - T
                        - ''
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Delivery Status (L)ocal, (S)AP, (K)customer
                IT_SUBTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Name of Dictionary Type
              required:
              - I_SUBTYPE_KIND
              - I_TADIR_OBJECT
              - I_TADIR_OBJNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_SUBTYPES_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPENAME:
                          type: string
                          maxLength: 30
                          description: Subty. Name
                        TYPEKIND:
                          type: string
                          maxLength: 4
                          description: Object Ty.in GSUBTYPES
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 112
                          description: GTADIR Object Name from Release 6.10
                        SRCSYSTEM:
                          type: string
                          maxLength: 10
                          description: Original System of Object
                        AUTHOR:
                          type: string
                          maxLength: 12
                          description: Author of the Repository object
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        GENFLAG:
                          type: string
                          maxLength: 1
                          description: 'Generation flag  enumValues: X=generated, is retained during the upgrade,T=generated, can be deleted during the upgrade,""=not generated'
                          enum:
                          - X
                          - T
                          - ''
                        STATUS:
                          type: string
                          maxLength: 1
                          description: Delivery Status (L)ocal, (S)AP, (K)customer
                  IT_SUBTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPENAME:
                          type: string
                          maxLength: 30
                          description: Name of Dictionary Type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
