gb-hyperf/api-doc

A swagger library for Hyperf.

Installs: 10

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/gb-hyperf/api-doc

0.0.2 2022-08-31 07:24 UTC

This package is auto-updated.

Last update: 2025-09-25 20:10:17 UTC


README

hyper 的docs

安装

composer require gb-hyperf/api-doc

发布配置

php bin/hyperf.php vendor:publish gb-hyperf/api-doc
  • 随框架启动自动扫描生成api文件 runtime/openapi.json
  • 自动路由 /api-doc 获取api文档
  • 浏览器打开: http://localhost:9501/api-doc