File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1616 "source.fixAll.biome" : " explicit" ,
1717 "source.organizeImports.biome" : " explicit"
1818 }
19- }
19+ }
Original file line number Diff line number Diff line change @@ -35,22 +35,24 @@ export class ResolvedSwaggerSchema {
3535 externalUrlOrPath : null ,
3636 } ) ;
3737 } else {
38- const externalUrlOrPath = ref . split ( "#" ) [ 0 ] !
39- let externalOpenapiFileName = ( externalUrlOrPath . split ( '/' ) . at ( - 1 ) || '' )
38+ const externalUrlOrPath = ref . split ( "#" ) [ 0 ] ! ;
39+ let externalOpenapiFileName = externalUrlOrPath . split ( "/" ) . at ( - 1 ) || "" ;
4040
41- if ( externalOpenapiFileName . endsWith ( '.json' ) || externalOpenapiFileName . endsWith ( '.yaml' ) ) {
41+ if (
42+ externalOpenapiFileName . endsWith ( ".json" ) ||
43+ externalOpenapiFileName . endsWith ( ".yaml" )
44+ ) {
4245 externalOpenapiFileName = externalOpenapiFileName . slice ( 0 , - 5 ) ;
43- } else if ( externalOpenapiFileName . endsWith ( ' .yml' ) ) {
46+ } else if ( externalOpenapiFileName . endsWith ( " .yml" ) ) {
4447 externalOpenapiFileName = externalOpenapiFileName . slice ( 0 , - 4 ) ;
4548 }
4649
47-
4850 this . parsedRefsCache . set ( ref , {
4951 ref,
5052 isLocal,
5153 externalUrlOrPath,
5254 externalOpenapiFileName,
53- } ) ;
55+ } ) ;
5456 }
5557 }
5658
You can’t perform that action at this time.
0 commit comments