Skip to content

Commit

Permalink
core: remove defunct setting of parameters after requestBody change
Browse files Browse the repository at this point in the history
  • Loading branch information
karlvr committed Apr 16, 2020
1 parent 596c6db commit d91570a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ function toCodegenOperation(path: string, method: string, operation: OpenAPI.Ope

...extractCodegenTypeInfo(requestBodyContents[0]),
}

if (!parameters) {
parameters = []
}
}
} else {
consumes = toConsumeMediaTypes(operation as OpenAPIV2.OperationObject, state)
Expand Down

0 comments on commit d91570a

Please sign in to comment.