Skip to content

Commit

Permalink
Toggled off the parameter route for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrull committed Apr 25, 2018
1 parent ace9894 commit 2e8979d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/cmd/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (factory *InterruptFactory) TCPServer(contentRootPath string, host string,
func (factory *InterruptFactory) routerWithAllRoutes(contentRootPath string) http.Router {
router := http.NewRouter()
router.AddRoute(capability.NewRoute())
router.AddRoute(playground.NewParameterRoute())
//router.AddRoute(playground.NewParameterRoute())
router.AddRoute(playground.NewReadOnlyRoute())
router.AddRoute(playground.NewReadWriteRoute())
router.AddRoute(teapot.NewRoute())
Expand Down
2 changes: 1 addition & 1 deletion main/cmd/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var _ = Describe("InterruptFactory", func() {
Expect(typedServer.Routes()).To(ContainElement(BeAssignableToTypeOf(capability.NewRoute())))
})

It("has a playground route for parameter decoding", func() {
XIt("has a playground route for parameter decoding", func() {
Expect(typedServer.Routes()).To(ContainElement(BeAssignableToTypeOf(playground.NewParameterRoute())))
})

Expand Down

0 comments on commit 2e8979d

Please sign in to comment.