- Integrated user and team handler functions into the OpenAPI server's routing structure. - Established new routes for user and team management under the OpenAPI framework, enhancing the server's capabilities for handling user-related operations.
17 lines
321 B
Go
17 lines
321 B
Go
package team
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/yaoapp/yao/openapi/oauth/types"
|
|
)
|
|
|
|
// Attach attaches the signin handlers to the router
|
|
func Attach(group *gin.RouterGroup, oauth types.OAuth) {
|
|
|
|
}
|
|
|
|
func placeholder(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"message": "Hello, World!"})
|
|
}
|