Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larshp/abap-swagger
Expose ABAP REST services with Swagger/openapi spec
https://github.com/larshp/abap-swagger
abap openapi openapi-server swagger
Last synced: 2 months ago
JSON representation
Expose ABAP REST services with Swagger/openapi spec
- Host: GitHub
- URL: https://github.com/larshp/abap-swagger
- Owner: larshp
- License: mit
- Created: 2016-06-26T08:15:24.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2022-11-10T15:42:07.000Z (about 2 years ago)
- Last Synced: 2024-10-10T02:23:56.586Z (2 months ago)
- Topics: abap, openapi, openapi-server, swagger
- Language: ABAP
- Homepage:
- Size: 111 KB
- Stars: 96
- Watchers: 18
- Forks: 40
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ABAP-Swagger
An approach to expose ABAP REST services
## Usage
1: develop a class in ABAP with public methods
2: implement interface ZIF_SWAG_HANDLER, and register the public methods(example [method zif_swag_handler~meta](https://github.com/larshp/ABAP-Swagger/blob/master/src/example/zcl_swag_example_handler.clas.abap))
3: the methods are now accessible via rest([example](https://github.com/larshp/ABAP-Swagger/blob/master/src/example/zcl_swag_example.clas.abap))
4: the [Swagger UI](http://swagger.io/swagger-ui/) can be accessed via `swagger.html` in the base dir of the REST services
## Installing and Requirements
Install via [abapGit](http://www.abapgit.org)
Requires native JSON support see http://scn.sap.com/community/abap/blog/2013/01/07/abap-and-json or SAP note 1648418