@@ -4,7 +4,7 @@ import * as api from './api';
44import type { ServiceOptions } from '@sap-cloud-sdk/generator-common/dist/options-per-service' ;
55import type { OpenAPIV3 } from 'openapi-types' ;
66
7- const options = { strictNaming : true , schemaPrefix : '' } ;
7+ const options = { strictNaming : true , schemaPrefix : '' , resolveExternal : true } ;
88describe ( 'parseOpenApiDocument()' , ( ) => {
99 it ( 'does not modify input service specification' , ( ) => {
1010 const input : OpenAPIV3 . Document = {
@@ -54,7 +54,7 @@ describe('parseOpenApiDocument()', () => {
5454 packageName : '@sap/cloud-sdk-openapi-test-service' ,
5555 directoryName : 'test-service'
5656 } ,
57- { strictNaming : false , schemaPrefix : '' }
57+ { strictNaming : false , schemaPrefix : '' , resolveExternal : true }
5858 ) ;
5959
6060 expect ( parsedDocument . schemas ) . toEqual ( [
@@ -276,7 +276,7 @@ describe('parseOpenApiDocument()', () => {
276276 packageName : '@sap/cloud-sdk-openapi-test-service' ,
277277 directoryName : 'test-service'
278278 } ,
279- { strictNaming : false , schemaPrefix : '' }
279+ { strictNaming : false , schemaPrefix : '' , resolveExternal : true }
280280 ) ;
281281
282282 expect ( parsedDocument . schemas ) . toEqual ( [
0 commit comments