Skip to content

Commit

Permalink
Adds path / for all resources api
Browse files Browse the repository at this point in the history
With Hub v1.7.0 release we removed all the preview api's,
but in order to support backward compatibility adding a
`/` path for all the preview api's

Signed-off-by: Puneet Punamiya <[email protected]>
  • Loading branch information
PuneetPunamiya committed Mar 15, 2022
1 parent 1f8cdd1 commit 28e6b70
Show file tree
Hide file tree
Showing 9 changed files with 1,546 additions and 111 deletions.
1 change: 1 addition & 0 deletions api/v1/design/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var _ = Service("resource", func() {
Description("The resource service provides details about all kind of resources")

HTTP(func() {
Path("/")
Path("/v1")
})

Expand Down
6 changes: 3 additions & 3 deletions api/v1/gen/http/cli/hub/cli.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/v1/gen/http/openapi.json

Large diffs are not rendered by default.

Loading

0 comments on commit 28e6b70

Please sign in to comment.