openapi: generate

This commit is contained in:
2025-04-03 11:08:32 -07:00
committed by Quaternions
parent 54b4cf2d13
commit 1e012af52e
16 changed files with 726 additions and 282 deletions

View File

@@ -1179,7 +1179,7 @@ func (s *Server) handleCreateMapfixRequest(args [0]string, argsEscaped bool, w h
}
}()
var response *ID
var response *MapfixID
if m := s.cfg.Middleware; m != nil {
mreq := middleware.Request{
Context: ctx,
@@ -1194,7 +1194,7 @@ func (s *Server) handleCreateMapfixRequest(args [0]string, argsEscaped bool, w h
type (
Request = *MapfixCreate
Params = struct{}
Response = *ID
Response = *MapfixID
)
response, err = middleware.HookMiddleware[
Request,
@@ -1328,7 +1328,7 @@ func (s *Server) handleCreateScriptRequest(args [0]string, argsEscaped bool, w h
}
}()
var response *ID
var response *ScriptID
if m := s.cfg.Middleware; m != nil {
mreq := middleware.Request{
Context: ctx,
@@ -1343,7 +1343,7 @@ func (s *Server) handleCreateScriptRequest(args [0]string, argsEscaped bool, w h
type (
Request = *ScriptCreate
Params = struct{}
Response = *ID
Response = *ScriptID
)
response, err = middleware.HookMiddleware[
Request,
@@ -1477,7 +1477,7 @@ func (s *Server) handleCreateScriptPolicyRequest(args [0]string, argsEscaped boo
}
}()
var response *ID
var response *ScriptPolicyID
if m := s.cfg.Middleware; m != nil {
mreq := middleware.Request{
Context: ctx,
@@ -1492,7 +1492,7 @@ func (s *Server) handleCreateScriptPolicyRequest(args [0]string, argsEscaped boo
type (
Request = *ScriptPolicyCreate
Params = struct{}
Response = *ID
Response = *ScriptPolicyID
)
response, err = middleware.HookMiddleware[
Request,
@@ -1626,7 +1626,7 @@ func (s *Server) handleCreateSubmissionRequest(args [0]string, argsEscaped bool,
}
}()
var response *ID
var response *SubmissionID
if m := s.cfg.Middleware; m != nil {
mreq := middleware.Request{
Context: ctx,
@@ -1641,7 +1641,7 @@ func (s *Server) handleCreateSubmissionRequest(args [0]string, argsEscaped bool,
type (
Request = *SubmissionCreate
Params = struct{}
Response = *ID
Response = *SubmissionID
)
response, err = middleware.HookMiddleware[
Request,