diff --git a/compiler/src/steps/validate-model.ts b/compiler/src/steps/validate-model.ts index 7f28d15652..fa3fd581cf 100644 --- a/compiler/src/steps/validate-model.ts +++ b/compiler/src/steps/validate-model.ts @@ -173,7 +173,7 @@ export default async function validateModel (apiModel: model.Model, restSpec: Ma const additionalRoots: TypeName[] = [ // ErrorResponse is not referenced anywhere, but any API could return it if an error happens. - { namespace: '_types', name: 'ErrorResponseBase' }, + { namespace: '_types', name: 'ErrorResponseBase' } ] additionalRoots.forEach(t => validateTypeRef(t, undefined, new Set()))