add support for dynamic tables
This commit is contained in:
@ -9,6 +9,15 @@ import "google/api/annotations.proto";
|
||||
|
||||
option go_package = "./;pb";
|
||||
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
info: {
|
||||
title: "Your API Title"
|
||||
version: "v1.0"
|
||||
description: "Your API description"
|
||||
}
|
||||
host: "localhost:8080" // Set the server host
|
||||
};
|
||||
|
||||
service {{ .AppNameCaps }} {
|
||||
option (gorm.server).autogen = true;
|
||||
// Add your service methods here
|
||||
|
Reference in New Issue
Block a user