Repository navigation
Commit a7fd804
authored
feat(console): describe the websocket protocols in the openapi document (#1282)
* feat(console): describe the websocket protocols in the openapi document
The /api/console/sock entry of the OpenAPI document was an empty
operation, so a client author learned nothing about the socket from it.
Describe the two protocols that share the path, the hello that opens
version 1, and the client and server frames. The description is
additive: no route, parameter or schema changes.
Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
* build(ui): regenerate the api types for the console socket description
Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
---------
Signed-off-by: TheMeinerLP <github@themeinerlp.dev>1 parent 0101b3f commit a7fd804
4 files changed
Lines changed: 32 additions & 0 deletions
File tree
- docs/openapi
- reposilite-backend/src
- integration/kotlin/com/reposilite/web
- main/kotlin/com/reposilite/console/infrastructure
- reposilite-frontend/src/types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4227 | 4227 | | |
4228 | 4228 | | |
4229 | 4229 | | |
| 4230 | + | |
4230 | 4231 | | |
4231 | 4232 | | |
4232 | 4233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
85 | 107 | | |
86 | 108 | | |
87 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
209 | 217 | | |
210 | 218 | | |
211 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1591 | 1591 | | |
1592 | 1592 | | |
1593 | 1593 | | |
| 1594 | + | |
1594 | 1595 | | |
1595 | 1596 | | |
1596 | 1597 | | |
| |||
0 commit comments