/docs/{service}
返回指定微服务的 Scalar UI 交互式文档页面,仅加载该服务的 OpenAPI 规范
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
service |
path |
string |
Yes | 服务名称(例: identity-service) |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | Scalar UI HTML 页面 | string |
| 400 | 请求参数无效 | object |
| 500 | 服务器内部错误 | object |