Discover Packages
github.com/Ithildur/EiluneKit
tools
openapi
package
Version:
v0.4.3
Opens a new window with list of versions in this module.
Published: Sep 17, 2026
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package openapi generates and validates OpenAPI 3.1 JSON from routes metadata.
Package openapi 根据 routes 元数据生成并校验 OpenAPI 3.1 JSON。
Generate returns validated OpenAPI 3.1 JSON for routeList.
Route paths must include their final prefixes and start with a single slash.
Generate 返回 routeList 对应且已通过校验的 OpenAPI 3.1 JSON。
路由 path 必须包含最终前缀并以单个斜线开头。
Options configures OpenAPI document generation.
Title and Version are required.
Options 配置 OpenAPI 文档生成。
Title 和 Version 必填。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.