mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 02:21:17 +02:00
Swagger.v1.json template (#3572)
* Turn swagger.v1.json into template * Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
This commit is contained in:
1 parent
412583a3f2
commit
a74426d631
14 files changed
+74
-21
No files matched your search
@@ -527,11 +527,11 @@ var (
|
||||
|
||||
// API settings
|
||||
API = struct {
|
||||
EnableSwaggerEndpoint bool
|
||||
MaxResponseItems int
|
||||
EnableSwagger bool
|
||||
MaxResponseItems int
|
||||
}{
|
||||
EnableSwaggerEndpoint: true,
|
||||
MaxResponseItems: 50,
|
||||
EnableSwagger: true,
|
||||
MaxResponseItems: 50,
|
||||
}
|
||||
|
||||
U2F = struct {
|
||||
|
||||
Reference in new issue
Block a user