forked from abap-openapi/abap-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fabian Schmidt
authored and
Fabian Schmidt
committed
Oct 26, 2023
1 parent
47e1102
commit 8bb95d5
Showing
5 changed files
with
547 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
INTERFACE zif_oapi_exit | ||
PUBLIC . | ||
|
||
METHODS constructor_exit | ||
IMPORTING | ||
ii_client TYPE REF TO if_http_client. | ||
|
||
METHODS before_send | ||
IMPORTING | ||
iv_path TYPE string | ||
iv_operation_id TYPE string | ||
iv_method TYPE string | ||
ii_client TYPE REF TO if_http_client. | ||
|
||
METHODS after_receive | ||
IMPORTING | ||
iv_path TYPE string | ||
iv_operation_id TYPE string | ||
iv_method TYPE string | ||
ii_client TYPE REF TO if_http_client. | ||
|
||
METHODS parse_response_to_abap | ||
IMPORTING | ||
iv_path TYPE string | ||
iv_operation_id TYPE string | ||
iv_method TYPE string | ||
ii_client TYPE REF TO if_http_client | ||
CHANGING | ||
c_data TYPE data. | ||
|
||
METHODS parse_body_to_data | ||
IMPORTING | ||
iv_path TYPE string | ||
iv_operation_id TYPE string | ||
iv_method TYPE string | ||
ii_client TYPE REF TO if_http_client | ||
i_body TYPE data | ||
RETURNING | ||
VALUE(rv_body_data) TYPE xstring. | ||
|
||
|
||
ENDINTERFACE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<abapGit version="v1.0.0" serializer="LCL_OBJECT_INTF" serializer_version="v1.0.0"> | ||
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"> | ||
<asx:values> | ||
<VSEOINTERF> | ||
<CLSNAME>ZIF_OAPI_EXIT</CLSNAME> | ||
<LANGU>D</LANGU> | ||
<DESCRIPT>OpenAPI Userexit</DESCRIPT> | ||
<EXPOSURE>2</EXPOSURE> | ||
<STATE>1</STATE> | ||
<UNICODE>X</UNICODE> | ||
</VSEOINTERF> | ||
</asx:values> | ||
</asx:abap> | ||
</abapGit> |
Oops, something went wrong.