随笔分类 -  rest2graphql

haproxy 2.0 dataplaneapi rest api 转为graphql docker 镜像
摘要:为了方便直接使用haproxy dataplaneapi graphql 格式的查询,制作了一个简单的docker 镜像 基于dotenv 进行配置管理,可以直接通过环境变量传入参数,处理不同haproxy dataplaneapi 的地址 dockerfile 源码 参考github https: 阅读全文

posted @ 2019-09-02 16:08 荣锋亮 阅读(390) 评论(0) 推荐(0) 编辑

haproxy 2.0 dataplaneapi rest api 转为graphql
摘要:haproxy 2.0 dataplaneapi rest api 是比较全的,以下是一个简单的集成graphql,通过swagger-to-graphql 转换为graphql api 方便使用 环境准备 项目准备 yarn init -y yarn add express express-gra 阅读全文

posted @ 2019-09-02 10:14 荣锋亮 阅读(417) 评论(0) 推荐(0) 编辑

OASGraph 转换rest api graphql 试用
摘要:创建rest api lb4 appdemo 参考提示即可 安装 OASGraph git clone https://github.com/strongloop/oasgraph.git cd oasgraph npm link 或者 npm install -g oasgraph 如果提示权限问 阅读全文

posted @ 2018-10-26 16:55 荣锋亮 阅读(510) 评论(0) 推荐(0) 编辑

swagger api 转graphql npm 包试用
摘要:graphql 比较方便的进行api 的查询,操作,swagger 是一个方便的open api 描述标准,当前我们有比较多的 restapi 但是转换为graphql 是有成本的,还好swagger-to-graphql 这个npm 包帮助我们简化了操作 基本项目 具体项目参考 https://g 阅读全文

posted @ 2018-07-27 11:10 荣锋亮 阅读(616) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示