Skip to content

Commit

Permalink
remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Apr 5, 2024
1 parent 33923e6 commit 2a26ad4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions generator/client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,15 +235,6 @@ export function generateApi(spec: OpenAPIV3.Document, destDir: string) {

const successType = contentRef(successResponse);

if (successType === "void" && !conf.responses["204"]) {
console.log(path);
if (successResponse && "content" in successResponse) {
console.log(successResponse.content["application/json"].schema);
}
console.log(successType);
console.log();
}

docComment(conf.summary || conf.description, schemaNames, io);

w0(`${methodName}: (`);
Expand Down

0 comments on commit 2a26ad4

Please sign in to comment.