【文件属性】:
文件名称:abap-openapi-client:ABAP中的ABAP OpenAPI客户端生成器
文件大小:212KB
文件格式:ZIP
更新时间:2021-05-19 14:22:29
abap swagger openapi ABAP
abap-openapi-client
ABAP中的ABAP 客户端生成器
通过命令行运行的可能性(NodeJS)
有可能针对不同的ABAP版本(例如Steampunk)生成
每个OpenAPI定义一个独立的全局类+接口
可以在ABAP堆栈上运行生成
最终支持OpenAPI v2,
仅JSON支持
注意:生成的代码当前使用ZCL_OAPI_JSON,建议将实现复制到生成的全局类中的本地类
生成旨在在v702上运行
生成的客户端代码旨在在v702上运行
建筑/开发
prerequsites = 12+
安装npm install
npm test =运行单元测试
npm run petstore =运行逻辑并在./result/生成petstore文件
npm run integration_test =运行集成测试
【文件预览】:
abap-openapi-client-main
----index.js(2KB)
----package.json(1KB)
----abap_transpile.json(259B)
----.github()
--------workflows()
----test()
--------cl_integration_test.clas.testclasses.abap(5KB)
--------cl_integration_test.clas.abap(109B)
--------generated()
----LICENSE(1KB)
----package-lock.json(2KB)
----abap_transpile_test.json(271B)
----.abapgit.xml(289B)
----src()
--------zcl_oapi_main.clas.abap(21KB)
--------package.devc.xml(306B)
--------zcl_oapi_json.clas.locals_def.abap(406B)
--------zcl_oapi_schema.clas.abap(3KB)
--------zif_oapi_schema.intf.xml(445B)
--------zif_oapi_specification_v3.intf.abap(3KB)
--------zcl_oapi_references.clas.xml(470B)
--------zif_oapi_schema.intf.abap(801B)
--------zcl_oapi_references.clas.abap(4KB)
--------zcl_oapi_main.clas.testclasses.abap(3KB)
--------zif_oapi_specification_v3.intf.xml(467B)
--------zcl_oapi_json.clas.locals_imp.abap(6KB)
--------zcl_oapi_json.clas.abap(2KB)
--------zcl_oapi_abap_name.clas.abap(2KB)
--------zcl_oapi_abap_name.clas.xml(469B)
--------zcl_oapi_json.clas.xml(517B)
--------zcl_oapi_parser.clas.xml(478B)
--------zcl_oapi_parser.clas.abap(9KB)
--------zcl_oapi_main.clas.xml(517B)
--------zcl_oapi_schema.clas.xml(466B)
--------zcl_oapi_json.clas.testclasses.abap(2KB)
----abaplint.json(5KB)
----.gitignore(40B)
----web()
--------package.json(877B)
--------package-lock.json(215KB)
--------src()
--------webpack.config.js(1KB)
--------public()
----README.md(998B)