openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_REPO_40:
    post:
      tags:
      - SVRW
      operationId: /rfc/SVRS_GET_VERSION_REPO_40
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTINATION:
                  type: string
                  maxLength: 32
                IV_NO_RELEASE_TRANSFORMATION:
                  type: string
                  maxLength: 1
                OBJECT_NAME:
                  type: string
                  maxLength: 110
                  description: Report Name
                VERSNO:
                  type: integer
                  format: int64
                ABAPTEXT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
                TEXTPOOL_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 1
                        description: ABAP/4 text pool ID (selection text/numbered text)
                      KEY:
                        type: string
                        maxLength: 8
                        description: Text element key (number/selection name)
                      ENTRY:
                        type: string
                        maxLength: 255
                        description: Language-dependent text in ABAP/4 text pool
                      LENGTH:
                        type: integer
                        format: int32
                        description: Reserved length for text (with language reserve)
                TRDIR_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      SQLX:
                        type: string
                        maxLength: 1
                        description: Source code protection
                      EDTX:
                        type: string
                        maxLength: 1
                        description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      VARCL:
                        type: string
                        maxLength: 1
                        description: Case-Sensitive
                      DBAPL:
                        type: string
                        maxLength: 1
                        description: Application database
                      DBNA:
                        type: string
                        maxLength: 2
                        description: Logical database
                      CLAS:
                        type: string
                        maxLength: 4
                        description: Program class
                      TYPE:
                        type: string
                        maxLength: 3
                        description: Selection screen version
                      OCCURS:
                        type: string
                        maxLength: 1
                        description: Automatically generated program
                      SUBC:
                        type: string
                        maxLength: 1
                        description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                        enum:
                        - X
                        - S
                        - F
                        - I
                        - M
                        - J
                        - T
                        - K
                        - '1'
                      APPL:
                        type: string
                        maxLength: 1
                        description: Application
                      SECU:
                        type: string
                        maxLength: 8
                        description: Authorization Group
                      CNAM:
                        type: string
                        maxLength: 12
                        description: Author
                      CDAT:
                        type: string
                        format: date
                        description: Created on
                      UNAM:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      UDAT:
                        type: string
                        format: date
                        description: Changed On
                      VERN:
                        type: string
                        maxLength: 6
                        description: Version number
                      LEVL:
                        type: string
                        maxLength: 4
                        description: Level
                      RSTAT:
                        type: string
                        maxLength: 1
                        description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                        enum:
                        - P
                        - ''
                        - K
                        - T
                        - S
                      RMAND:
                        type: string
                        maxLength: 3
                        description: Client
                      RLOAD:
                        type: string
                        maxLength: 1
                        description: Master Language
                      FIXPT:
                        type: string
                        maxLength: 1
                        description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      SSET:
                        type: string
                        maxLength: 1
                        description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      SDATE:
                        type: string
                        format: date
                        description: 'Standard selection screen generation: Date'
                      STIME:
                        type: string
                        maxLength: 6
                        description: 'Standard selection screen generation: Time'
                      IDATE:
                        type: string
                        format: date
                        description: 'Selection screen generation: Date'
                      ITIME:
                        type: string
                        maxLength: 6
                        description: 'Selection screen generation: Time'
                      LDBNAME:
                        type: string
                        maxLength: 20
                        description: LDB name
                      UCCHECK:
                        type: string
                        maxLength: 1
                        description: Flag, if unicode check was performed
                VSMODISRC:
                  type: array
                  items:
                    type: object
                    properties:
                      RELID:
                        type: string
                        maxLength: 2
                        description: Relation ID
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      SUB_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      SUB_NAME:
                        type: string
                        maxLength: 120
                        description: 'ABAP Workbench: LIMU Name'
                      INT_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      INT_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      OPERATION:
                        type: string
                        maxLength: 4
                        description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                        enum:
                        - ORIG
                        - REPA
                        - MIGR
                        - NOTE
                        - POST
                        - MOD
                        - TORI
                        - IMP
                        - ALL
                        - PRE
                        - TRSL
                        - NEW
                      SORTFIELD:
                        type: integer
                        format: int32
                        description: Continuation ID
                      VERSION:
                        type: string
                        maxLength: 6
                        description: Version number
                      CLUSTR:
                        type: integer
                        format: int32
                        description: BIN2 data element for SYST
                      CLUSTD:
                        type: string
                        format: byte
                        description: EU cluster field 3500 for INDX-like tables
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_LINE:
                    type: string
                    maxLength: 72
                  ABAPTEXT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
                  TEXTPOOL_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 1
                          description: ABAP/4 text pool ID (selection text/numbered text)
                        KEY:
                          type: string
                          maxLength: 8
                          description: Text element key (number/selection name)
                        ENTRY:
                          type: string
                          maxLength: 255
                          description: Language-dependent text in ABAP/4 text pool
                        LENGTH:
                          type: integer
                          format: int32
                          description: Reserved length for text (with language reserve)
                  TRDIR_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        SQLX:
                          type: string
                          maxLength: 1
                          description: Source code protection
                        EDTX:
                          type: string
                          maxLength: 1
                          description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        VARCL:
                          type: string
                          maxLength: 1
                          description: Case-Sensitive
                        DBAPL:
                          type: string
                          maxLength: 1
                          description: Application database
                        DBNA:
                          type: string
                          maxLength: 2
                          description: Logical database
                        CLAS:
                          type: string
                          maxLength: 4
                          description: Program class
                        TYPE:
                          type: string
                          maxLength: 3
                          description: Selection screen version
                        OCCURS:
                          type: string
                          maxLength: 1
                          description: Automatically generated program
                        SUBC:
                          type: string
                          maxLength: 1
                          description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                          enum:
                          - X
                          - S
                          - F
                          - I
                          - M
                          - J
                          - T
                          - K
                          - '1'
                        APPL:
                          type: string
                          maxLength: 1
                          description: Application
                        SECU:
                          type: string
                          maxLength: 8
                          description: Authorization Group
                        CNAM:
                          type: string
                          maxLength: 12
                          description: Author
                        CDAT:
                          type: string
                          format: date
                          description: Created on
                        UNAM:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        UDAT:
                          type: string
                          format: date
                          description: Changed On
                        VERN:
                          type: string
                          maxLength: 6
                          description: Version number
                        LEVL:
                          type: string
                          maxLength: 4
                          description: Level
                        RSTAT:
                          type: string
                          maxLength: 1
                          description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                          enum:
                          - P
                          - ''
                          - K
                          - T
                          - S
                        RMAND:
                          type: string
                          maxLength: 3
                          description: Client
                        RLOAD:
                          type: string
                          maxLength: 1
                          description: Master Language
                        FIXPT:
                          type: string
                          maxLength: 1
                          description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        SSET:
                          type: string
                          maxLength: 1
                          description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        SDATE:
                          type: string
                          format: date
                          description: 'Standard selection screen generation: Date'
                        STIME:
                          type: string
                          maxLength: 6
                          description: 'Standard selection screen generation: Time'
                        IDATE:
                          type: string
                          format: date
                          description: 'Selection screen generation: Date'
                        ITIME:
                          type: string
                          maxLength: 6
                          description: 'Selection screen generation: Time'
                        LDBNAME:
                          type: string
                          maxLength: 20
                          description: LDB name
                        UCCHECK:
                          type: string
                          maxLength: 1
                          description: Flag, if unicode check was performed
                  VSMODISRC:
                    type: array
                    items:
                      type: object
                      properties:
                        RELID:
                          type: string
                          maxLength: 2
                          description: Relation ID
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        SUB_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        SUB_NAME:
                          type: string
                          maxLength: 120
                          description: 'ABAP Workbench: LIMU Name'
                        INT_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        INT_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        OPERATION:
                          type: string
                          maxLength: 4
                          description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                          enum:
                          - ORIG
                          - REPA
                          - MIGR
                          - NOTE
                          - POST
                          - MOD
                          - TORI
                          - IMP
                          - ALL
                          - PRE
                          - TRSL
                          - NEW
                        SORTFIELD:
                          type: integer
                          format: int32
                          description: Continuation ID
                        VERSION:
                          type: string
                          maxLength: 6
                          description: Version number
                        CLUSTR:
                          type: integer
                          format: int32
                          description: BIN2 data element for SYST
                        CLUSTD:
                          type: string
                          format: byte
                          description: EU cluster field 3500 for INDX-like tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
