Logo
Explore Help
Register Sign In
niuniu/lijiaoqiao
1
0
Fork 0
You've already forked lijiaoqiao
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
bb67f30be0d8e91fb5745dc2d033a67219b9d661
lijiaoqiao/projects/ai-customer-service/internal/openapi/openapi.json

28 lines
469 B
JSON
Raw Normal View History

fix: P0-1 RateLimiter并发写安全 + P0-2工单操作错误码区分 + P1 rows.Close修复 P0-1 (limits.go): Allow()方法改为全程使用写锁保护counters map读写,避免RLock写入时的data race P0-2 (ticket_workflow.go+ticket_handler.go): Assign/Resolve/Close操作先查询ticket存在性和状态,返回明确的CS_TICKET_4001/CS_TKT_4002/CS_TICKET_4092/CS_TICKET_4093错误码,handler根据错误前缀路由HTTP状态码 P1-1 (ticket_store.go): 移除GetStats中3处手动rows.Close(),只保留defer Close()
2026-05-01 20:56:25 +08:00
{
"openapi": "3.0.3",
"info": {
"title": "AI Customer Service API",
"version": "0.1.0"
},
"paths": {
"/actuator/health": {
"get": {
"responses": {
"200": {
"description": "service health"
}
}
}
},
"/api/v1/customer-service/webhook": {
"post": {
"responses": {
"200": {
"description": "message accepted"
}
}
}
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 406ms Template: 45ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API