Fix: fix apiserver snake case (#2944)

Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
This commit is contained in:
Tianxin Dong
2021-12-16 21:14:25 +08:00
committed by GitHub
parent 4e91e3ab8d
commit f5e04a5575
5 changed files with 73 additions and 60 deletions

View File

@@ -22,6 +22,10 @@
- Command-line flags should use dashes, not underscores
- API
- According to RFC3986, URLs are "case sensitive". KubeVela uses snake_case for API URLs.
- e.g.: `POST /v1/cloud_clusters`
- Naming
- Please consider package name when selecting an interface name, and avoid
redundancy.