https://github.com/goodluckxu-go/goapi
Go的API服务器可以生成开放的API文档 Go's API server can generate open API documents
https://github.com/goodluckxu-go/goapi
documentation fastapi framework golang openapi openapi3 openapi31 swagger
Last synced: 15 days ago
JSON representation
Go的API服务器可以生成开放的API文档 Go's API server can generate open API documents
- Host: GitHub
- URL: https://github.com/goodluckxu-go/goapi
- Owner: goodluckxu-go
- License: mit
- Created: 2024-06-24T02:43:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-14T10:02:26.000Z (20 days ago)
- Last Synced: 2026-01-14T13:42:23.624Z (19 days ago)
- Topics: documentation, fastapi, framework, golang, openapi, openapi3, openapi31, swagger
- Language: Go
- Homepage:
- Size: 1.01 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: security.go
Awesome Lists containing this project
README
# goapi
使用OpenAPI3.1文档的HTTP框架
使用说明:
- [中文文档](docs/zh/index.md)
## 用法
~~~bash
go get github.com/goodluckxu-go/goapi/v2
~~~
## 功能
- 实现了http服务,路由使用gin路由模式的前缀树方式实现
- 集成swagger+openapi3.1.0文档的访问
- 实现了openapi中验证和goapi程序验证的同步
- 实现了自定义中间件
- 实现了鉴权认证
- 实现了路由组模式
- 实现了多个程序模块组的模式
- ......
## 关于
使用类似于Python中的FastAPI的API生成文档