mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-28 23:15:10 +02:00
Reformat generated OpenAPI response schemas for readability
Agent-Logs-Url: https://github.com/fosrl/pangolin/sessions/7b395a8e-7fae-4f4d-952e-4030fea08262 Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
15a9eb28d9
commit
f3bee70c23
@@ -30,7 +30,18 @@ export type PickSiteDefaultsResponse = {
|
||||
newtSecret: string;
|
||||
clientAddress?: string;
|
||||
};
|
||||
const PickSiteDefaultsResponseDataSchema = z.object({exitNodeId: z.number(), address: z.string(), publicKey: z.string(), name: z.string(), listenPort: z.number(), endpoint: z.string(), subnet: z.string(), newtId: z.string(), newtSecret: z.string(), clientAddress: z.string().optional()});
|
||||
const PickSiteDefaultsResponseDataSchema = z.object({
|
||||
exitNodeId: z.number(),
|
||||
address: z.string(),
|
||||
publicKey: z.string(),
|
||||
name: z.string(),
|
||||
listenPort: z.number(),
|
||||
endpoint: z.string(),
|
||||
subnet: z.string(),
|
||||
newtId: z.string(),
|
||||
newtSecret: z.string(),
|
||||
clientAddress: z.string().optional()
|
||||
});
|
||||
|
||||
|
||||
registry.registerPath({
|
||||
|
||||
Reference in New Issue
Block a user