Commit af80869
committed
feat: api versioning
This commit adds versioning to our API endpoints, with the current
version as `v1`. Under this scheme, each API version lives under
separate packages and is served under separate top-level prefixes, e.g.
`/v1` for the current version.
This necessitated a small refactor to make it easier to modularize the
initialization logic.
NOTE: you will need to update your restish configuration to add the
`/v1` prefix to each server. See the development doc diffs for more
details. Remember to run `restish api control-plane-local-<1,2,3> sync`
after updating the restish config.
PLAT-861 parent 9ca4728 commit af80869
File tree
47 files changed
+327
-222
lines changed- api
- gen/http
- v1
- design
- gen
- control_plane
- views
- http
- cli/control_plane
- control_plane
- client
- server
- changes/unreleased
- docs
- server
- internal
- api
- v1
- app
- host
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+327
-222
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | | - | |
5 | | - | |
| 8 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments