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:
copilot-swe-agent[bot]
2026-05-17 21:28:39 +00:00
committed by GitHub
parent 15a9eb28d9
commit f3bee70c23
15 changed files with 84 additions and 15 deletions
+12 -1
View File
@@ -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({