mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
various small fixes
This commit is contained in:
parent
3ebc01df8c
commit
237960fc5b
11 changed files with 122 additions and 43 deletions
|
@ -29,16 +29,16 @@ const listOrgsSchema = z.object({
|
|||
.pipe(z.number().int().nonnegative())
|
||||
});
|
||||
|
||||
registry.registerPath({
|
||||
method: "get",
|
||||
path: "/user/{userId}/orgs",
|
||||
description: "List all organizations for a user.",
|
||||
tags: [OpenAPITags.Org, OpenAPITags.User],
|
||||
request: {
|
||||
query: listOrgsSchema
|
||||
},
|
||||
responses: {}
|
||||
});
|
||||
// registry.registerPath({
|
||||
// method: "get",
|
||||
// path: "/user/{userId}/orgs",
|
||||
// description: "List all organizations for a user.",
|
||||
// tags: [OpenAPITags.Org, OpenAPITags.User],
|
||||
// request: {
|
||||
// query: listOrgsSchema
|
||||
// },
|
||||
// responses: {}
|
||||
// });
|
||||
|
||||
export type ListUserOrgsResponse = {
|
||||
orgs: Org[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue