summaryrefslogtreecommitdiff
path: root/vendor/github.com/emicklei/go-restful-swagger12/swagger_builder.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/emicklei/go-restful-swagger12/swagger_builder.go')
-rw-r--r--vendor/github.com/emicklei/go-restful-swagger12/swagger_builder.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/vendor/github.com/emicklei/go-restful-swagger12/swagger_builder.go b/vendor/github.com/emicklei/go-restful-swagger12/swagger_builder.go
deleted file mode 100644
index 05a3c7e76..000000000
--- a/vendor/github.com/emicklei/go-restful-swagger12/swagger_builder.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package swagger
-
-type SwaggerBuilder struct {
- SwaggerService
-}
-
-func NewSwaggerBuilder(config Config) *SwaggerBuilder {
- return &SwaggerBuilder{*newSwaggerService(config)}
-}
-
-func (sb SwaggerBuilder) ProduceListing() ResourceListing {
- return sb.SwaggerService.produceListing()
-}
-
-func (sb SwaggerBuilder) ProduceAllDeclarations() map[string]ApiDeclaration {
- return sb.SwaggerService.produceAllDeclarations()
-}
-
-func (sb SwaggerBuilder) ProduceDeclarations(route string) (*ApiDeclaration, bool) {
- return sb.SwaggerService.produceDeclarations(route)
-}