-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix relative path + try improve debug * Cleanup --------- Co-authored-by: Mathieu Gamache <[email protected]>
- Loading branch information
1 parent
b9fbfc3
commit 7052ac5
Showing
6 changed files
with
111 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug Create-Schemas", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"program": "${workspaceFolder}/packages/create-schemas/src/bin.ts", | ||
"args": [ | ||
"${workspaceFolder}\\debug\\v1.yaml", | ||
"-o ${workspaceFolder}\\debug\\schema.ts" | ||
], | ||
"stopOnEntry": false, | ||
"outputCapture": "std", | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
export interface paths { | ||
"/good-vibes-points/{userId}": { | ||
parameters: { | ||
query?: never; | ||
header?: never; | ||
path?: never; | ||
cookie?: never; | ||
}; | ||
/** Get the current number of good vibe for a user */ | ||
get: operations["GetGoodVibesPoint"]; | ||
put?: never; | ||
post?: never; | ||
delete?: never; | ||
options?: never; | ||
head?: never; | ||
patch?: never; | ||
trace?: never; | ||
}; | ||
} | ||
export type webhooks = Record<string, never>; | ||
export interface components { | ||
schemas: { | ||
GetGoodVibePointsResult: { | ||
/** Format: int32 */ | ||
point: number; | ||
}; | ||
ProblemDetails: { | ||
type?: string | null; | ||
title?: string | null; | ||
/** Format: int32 */ | ||
status?: number | null; | ||
detail?: string | null; | ||
instance?: string | null; | ||
[key: string]: unknown; | ||
}; | ||
}; | ||
responses: never; | ||
parameters: never; | ||
requestBodies: never; | ||
headers: never; | ||
pathItems: never; | ||
} | ||
export type $defs = Record<string, never>; | ||
export interface operations { | ||
GetGoodVibesPoint: { | ||
parameters: { | ||
query?: never; | ||
header?: never; | ||
path: { | ||
userId: string; | ||
}; | ||
cookie?: never; | ||
}; | ||
requestBody?: never; | ||
responses: { | ||
/** @description Success */ | ||
200: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content: { | ||
"application/json": components["schemas"]["GetGoodVibePointsResult"]; | ||
}; | ||
}; | ||
/** @description Bad Request */ | ||
400: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content: { | ||
"application/json": components["schemas"]["ProblemDetails"]; | ||
}; | ||
}; | ||
}; | ||
}; | ||
} | ||
export type GetGoodVibePointsResult = components["schemas"]["GetGoodVibePointsResult"]; | ||
export type ProblemDetails = components["schemas"]["ProblemDetails"]; | ||
|
||
export type Endpoints = keyof paths; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters