博客

alt

撰写于 2021
  • apidoc-generator API文档生成器简介

    Friday, December 17, 2021 在 博客

    一、概述 基于java源码中的注释(不限于多行或单行)和泛型解析,来生成api文档元数据和具体文档输出的工具 只需要指定想要解析的接口源码目录,并保证接口涉及的所有类都包含在classpath下,然后再设置渲染方式,最后运行便可获得最终结果 目前支持json-with-comment 和 swagger-editor两种输出方式 二、实现原理 @startuml folder "数据源" { component [source源码] as src component …

    更多

撰写于 2018
  • Python - CP01E01

    Wednesday, October 17, 2018 在 博客

    python 写于 2018-10-17 的一篇python教程 a python file like this: #!/usr/bin/env python3 #coding=utf-8 # it will print a poetry for python import this if __name__ == '__main__': print('Hello, World!') at line 1: it will search a file named …

    更多