refactor: Prefer --postfixServices over --postfix if both are set

This commit is contained in:
Mark Brockhoff 2022-07-14 11:46:47 +02:00
parent 72a82264f1
commit 92d2a9b416

View File

@ -43,7 +43,7 @@ if (OpenAPI) {
exportModels: JSON.parse(params.exportModels) === true,
exportSchemas: JSON.parse(params.exportSchemas) === true,
indent: params.indent,
postfixServices: params.postfix ?? params.postfixServices,
postfixServices: params.postfixServices ?? params.postfix,
postfixModels: params.postfixModels,
request: params.request,
})