summaryrefslogtreecommitdiffstats
path: root/golang/gen/restapi/configure_fatcat.go
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-10 19:57:16 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-10 19:57:16 -0700
commit63dc69bbcdbee264383b919f9a8a3b1a83358be7 (patch)
tree1b74955ed3b9938f2e7d2b690ab59c9f33c91c99 /golang/gen/restapi/configure_fatcat.go
parent71c6b0a4418511a6c0046742512066fc27e51b21 (diff)
downloadfatcat-63dc69bbcdbee264383b919f9a8a3b1a83358be7.tar.gz
fatcat-63dc69bbcdbee264383b919f9a8a3b1a83358be7.zip
a bunch more skeleton
Diffstat (limited to 'golang/gen/restapi/configure_fatcat.go')
-rw-r--r--golang/gen/restapi/configure_fatcat.go20
1 files changed, 19 insertions, 1 deletions
diff --git a/golang/gen/restapi/configure_fatcat.go b/golang/gen/restapi/configure_fatcat.go
index 94e7f3e2..e101a019 100644
--- a/golang/gen/restapi/configure_fatcat.go
+++ b/golang/gen/restapi/configure_fatcat.go
@@ -14,7 +14,7 @@ import (
"git.archive.org/bnewbold/fatcat/golang/gen/restapi/operations"
)
-//go:generate swagger generate server --target ../gen --name fatcat --spec ../fatcat-openapi2.yml --exclude-main
+//go:generate swagger generate server --target ../gen --name fatcat --spec ../fatcat-openapi2.json --exclude-main
func configureFlags(api *operations.FatcatAPI) {
// api.CommandLineOptionsGroups = []swag.CommandLineOptionsGroup{ ... }
@@ -37,9 +37,27 @@ func configureAPI(api *operations.FatcatAPI) http.Handler {
api.GetCreatorIDHandler = operations.GetCreatorIDHandlerFunc(func(params operations.GetCreatorIDParams) middleware.Responder {
return middleware.NotImplemented("operation .GetCreatorID has not yet been implemented")
})
+ api.GetCreatorLookupHandler = operations.GetCreatorLookupHandlerFunc(func(params operations.GetCreatorLookupParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetCreatorLookup has not yet been implemented")
+ })
+ api.GetEditgroupIDHandler = operations.GetEditgroupIDHandlerFunc(func(params operations.GetEditgroupIDParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetEditgroupID has not yet been implemented")
+ })
+ api.GetEditorUsernameHandler = operations.GetEditorUsernameHandlerFunc(func(params operations.GetEditorUsernameParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetEditorUsername has not yet been implemented")
+ })
+ api.GetEditorUsernameChangelogHandler = operations.GetEditorUsernameChangelogHandlerFunc(func(params operations.GetEditorUsernameChangelogParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetEditorUsernameChangelog has not yet been implemented")
+ })
api.PostCreatorHandler = operations.PostCreatorHandlerFunc(func(params operations.PostCreatorParams) middleware.Responder {
return middleware.NotImplemented("operation .PostCreator has not yet been implemented")
})
+ api.PostEditgroupHandler = operations.PostEditgroupHandlerFunc(func(params operations.PostEditgroupParams) middleware.Responder {
+ return middleware.NotImplemented("operation .PostEditgroup has not yet been implemented")
+ })
+ api.PostEditgroupIDAcceptHandler = operations.PostEditgroupIDAcceptHandlerFunc(func(params operations.PostEditgroupIDAcceptParams) middleware.Responder {
+ return middleware.NotImplemented("operation .PostEditgroupIDAccept has not yet been implemented")
+ })
api.ServerShutdown = func() {}