rename
rename
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"git.company.lan/gopkg/gin"
|
||||
)
|
||||
|
||||
type Book struct {
|
||||
@@ -11,7 +11,6 @@ type Book struct {
|
||||
Year *uint16 `json:"year"`
|
||||
}
|
||||
|
||||
//
|
||||
// @Summary Get a list of books in the the store
|
||||
// @Description get string by ID
|
||||
// @Accept json
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"git.company.lan/gopkg/gin"
|
||||
)
|
||||
|
||||
// @title Swagger Example API
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package v2
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"git.company.lan/gopkg/gin"
|
||||
)
|
||||
|
||||
type Book struct {
|
||||
@@ -11,7 +11,6 @@ type Book struct {
|
||||
Year *uint16 `json:"year"`
|
||||
}
|
||||
|
||||
//
|
||||
// @Summary Get a list of books in the the store
|
||||
// @Description get string by ID
|
||||
// @Accept json
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package v2
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"git.company.lan/gopkg/gin"
|
||||
)
|
||||
|
||||
// @title Swagger Example API
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"git.company.lan/gopkg/gin"
|
||||
ginSwagger "git.company.lan/gopkg/gin-swagger"
|
||||
v1 "git.company.lan/gopkg/gin-swagger/example/multiple/api/v1"
|
||||
v2 "git.company.lan/gopkg/gin-swagger/example/multiple/api/v2"
|
||||
_ "git.company.lan/gopkg/gin-swagger/example/multiple/docs"
|
||||
swaggerFiles "github.com/swaggo/files"
|
||||
ginSwagger "github.com/swaggo/gin-swagger"
|
||||
v1 "github.com/swaggo/gin-swagger/example/multiple/api/v1"
|
||||
v2 "github.com/swaggo/gin-swagger/example/multiple/api/v2"
|
||||
_ "github.com/swaggo/gin-swagger/example/multiple/docs"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user