入门(Getting started)
入门(Getting started)
{
"swagger": "2.0",
"schemes": ["http"],
"host": "example.com",
"basePath": "/api"
}/**
* @SWG\Swagger(
* schemes={"http"},
* host="example.com",
* basePath="/api"
* )
*/使用变量注释(Using variables in annotations)
注释的位置(Annotation placement)
对象和数组(Arrays and Objects)
Swagger-PHP 检测基于上下文的值(Swagger-PHP detects values based on context)
不要重复自己(Don't Repeat Yourself):
Vendor 扩展(Vendor extensions)
关于Swagger的更多信息(More information about Swagger)
Last updated