oas: [5/n] improve oas schemas (#9066)

Improve oas schemas [5/n]
This commit is contained in:
Shahed Nasser
2024-09-10 15:03:18 +03:00
committed by GitHub
parent a944226025
commit 5eafa5a184
15 changed files with 124 additions and 77 deletions

View File

@@ -55,7 +55,7 @@ type AuthRequests = {
class OasKindGenerator extends FunctionKindGenerator {
public name = "oas"
protected allowedKinds: SyntaxKind[] = [ts.SyntaxKind.FunctionDeclaration]
private MAX_LEVEL = 4
private MAX_LEVEL = 5
readonly REQUEST_TYPE_NAMES = [
"MedusaRequest",
"RequestWithContext",