首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏小鑫同学编程历险记

    利用Babel自动生成“Attribute”文档

    return { name: "auto-attr-doc", pre(this: PluginPass, file: BabelFile) { this.set("api-doc "); // 处理 path.node.leadingComments 中未处理的数据后塞到apidoc中 state.set("api-doc", apidoc }, }, post(this: PluginPass, file: BabelFile) { const apidoc = this.get("api-doc path: NodePath<t.ExportNamedDeclaration>, state: PluginPass ) { const apidoc = state.get("api-doc default, } as ApiTable); state.set("api-doc", apidoc); }, } 复制代码 2.5.4 注释解析函数: const parseComment

    81830编辑于 2022-12-26
  • 来自专栏用户9257747的专栏

    还在手写API文档?有那时间撸游戏、耍手机不香咩?

    = "null" ]; then docker rm -f api-doc echo "停止并移除容器:"$api_doc_run_code fi image_version=`docker images | grep api-doc |awk '{print $3}' |head -n 1` if [ "$image_version" ! = "null" ]; then docker rmi $image_version echo "移除旧版镜像:"$image_version fi 查找当前运行的容器中名称包含了api-doc 对应的容器id docker ps -a | grep api-doc |awk '{print $3}' |head -n 1 查找镜像中名称包含了api-doc对应的镜像id docker images | grep api-doc |awk '{print $3}' |head -n 1 index.html 上篇中涉及到的主页的那个html 第五步,Jenkins中创建GitLab的全局认证用户

    52420编辑于 2022-04-06
  • 来自专栏图雀社区

    Nest.js 从零到壹系列(七):讨厌写文档,Swagger UI 了解一下?

    .build(); const document = SwaggerModule.createDocument(app, options); SwaggerModule.setup('api-doc ', app, document); await app.listen(3000); } bootstrap(); 接下来,我们访问 localhost:3000/api-doc/#/ (假设你的端口是 .build(); const document = SwaggerModule.createDocument(app, options); SwaggerModule.setup('api-doc

    5.3K10发布于 2020-04-17
  • 来自专栏申龙斌的程序人生

    进展缓慢的闪电网络

    https://btc.com/api-doc https://coinmarketcap.com/api/ https://www.blockchain.com/api https://coinmarketcap.com

    69010发布于 2018-12-14
  • 来自专栏基哥杂记

    DevOps之自动化测试平台

    用例设计 1.api数据维护到api-doc,需要检查入参、出参、示例的准确性; 2.确定api是读还是写操作,读操作在prod上执行,写操作在staging执行; 3.用例设计: • 通用用例:api 用例开发 1.Test Cases新增一个用例文件,文件命名遵循api-doc的命名方式:模块_接口编号.tc,如:customer_tc9_bandwidth_country.tc。

    2.6K20发布于 2020-07-06
  • 来自专栏不安分的猿人

    超简单-自动生成接口文档

    3.3示例项目 项目地址: https://github.com/dakuohao/api-doc 三、最后 本文的思考来源于工作。

    2.4K10发布于 2020-03-02
  • 来自专栏区块链大本营

    天才程序员: "那些年我偷懒没敲的EOS代码, 让我失去了一切, 如果..."

    1、EOSPark API 官网: https://eospark.com/openapi 2、EOSPark API 官方文档: https://developer.eospark.com/api-doc

    1.1K30发布于 2019-04-28
  • 来自专栏玩转 Spring Cloud

    Spring Cloud 之服务网关 Gateway(二) 集成 Swagger 组件

    health logging: level: org.springframework.cloud.gateway: debug 配置 GatewaySwaggerProvider, 获取 Api-doc

    2.2K72发布于 2020-09-22
  • 来自专栏cwl_Java

    快速学习-Smart-Doc Project 基于JAVA-REST和dubbo的API接口文档

    author", //文档变更作者 "remarks": "desc" //变更描述 } ], "customResponseFields": [{ //自定义添加字段和注释,api-doc

    2.1K20编辑于 2021-12-30
  • 来自专栏全栈程序员必看

    swagger2导出api为word文档(java实现)[通俗易懂]

    4,将web版API文档另存为doc文件,即生成了api-doc文件。

    11.2K10编辑于 2022-11-16
  • 来自专栏cwl_Java

    快速学习-Smart-Doc Project 基于JAVA-REST和dubbo的API接口文档

    author", //文档变更作者 "remarks": "desc" //变更描述 } ], "customResponseFields": [{ //自定义添加字段和注释,api-doc

    1.6K20发布于 2021-08-30
领券