Skip to content

Fix BoxLang crash: expand file paths in $ref values before passing to SwaggerSDK - #50

Open
lmajano with Copilot wants to merge 2 commits into
developmentfrom
copilot/fix-cbswagger-file-resolve-error
Open

Fix BoxLang crash: expand file paths in $ref values before passing to SwaggerSDK#50
lmajano with Copilot wants to merge 2 commits into
developmentfrom
copilot/fix-cbswagger-file-resolve-error

Fix BoxLang crash: expand local file paths in parseMetadataValue for …

0e93d4d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / boxlang@1 ColdBox ^8.0.0 Test Results failed Feb 22, 2026 in 0s

1 errors, 14 fail, 1 pass in 1s

16 tests  +1    1 ✅ +1   1s ⏱️ ±0s
 2 suites ±0    0 💤 ±0 
 1 files   ±0   14 ❌ ±0   1 🔥 ±0 

Results for commit 0e93d4d. ± Comparison against earlier commit 0e7c88e.

Annotations

Check warning on line 0 in tests.specs.OpenAPIConstraintsGeneratorTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

OpenAPI Constraints Generator can generate constraints using parameters.json and requestBody.json (tests.specs.OpenAPIConstraintsGeneratorTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
Expected [[Unknown Object]: {
  country : {
    type : "string",
    required : false
  },
  city : {
    type : "string",
    required : true
  },
  state : {
    type : "string",
    required : true
  },
  address2 : {
    typ...] but received [[Unknown Object]: {
  country : {
    type : "string",
    required : true
  },
  city : {
    type : "string",
    required : true
  },
  state : {
    type : "string",
    required : true
  },
  address2 : {
    type...]
28: 							"firstname" : { "required" : true, "type" : "string" },
29: 							"lastname"  : { "required" : true, "type" : "string" },
30: 							"email"     : { "required" : true, "type" : "string" }
31: 						},
32: 						"type" : "struct"
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/OpenAPIConstraintsGeneratorTest.cfc:30

Check failure on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the creation document generated by createDocFromRoutes (tests.specs.RoutesParserTest) with error

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
The key [NAME] was not found in the struct. Valid keys are ([ordered, casesensitive, type, unmodifiable, soft])

					ortus.boxlang.runtime.types.exceptions.KeyNotFoundException: The key [NAME] was not found in the struct. Valid keys are ([ordered, casesensitive, type, unmodifiable, soft])
	at ortus.boxlang.runtime.types.Struct.dereference(Struct.java:951)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereference(DynamicInteropService.java:1989)
	at ortus.boxlang.runtime.dynamic.Referencer.get(Referencer.java:63)
	at boxgenerated.boxclass.modules.swagger__sdk.models.openapi.Parser$cfc$Func_parseDocumentReferences._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/modules/swagger-sdk/models/OpenAPI/Parser.cfc:155)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.context.BaseBoxContext.invokeFunction(BaseBoxContext.java:672)
	at ortus.boxlang.runtime.context.FunctionBoxContext.invokeFunction(FunctionBoxContext.java:659)
	at boxgenerated.boxclass.modules.swagger__sdk.models.openapi.Parser$cfc$Func_parse._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/modules/swagger-sdk/models/OpenAPI/Parser.cfc:98)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.runnables.BoxClassSupport.dereferenceAndInvoke(BoxClassSupport.java:536)
	at boxgenerated.boxclass.modules.swagger__sdk.models.openapi.Parser$cfc.dereferenceAndInvoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/modules/swagger-sdk/models/OpenAPI/Parser.cfc)
	at ortus.boxlang.runtime.bifs.global.system.Invoke._invoke(Invoke.java:108)
	at ortus.boxlang.runtime.bifs.BIF.invoke(BIF.java:131)
	at ortus.boxlang.runtime.bifs.BIFDescriptor.invoke(BIFDescriptor.java:205)
	at ortus.boxlang.runtime.context.FunctionBoxContext.invokeFunction(FunctionBoxContext.java:641)
	at boxgenerated.boxclass.coldbox.system.ioc.Provider$cfc$Func_onMissingMethod._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/coldbox/system/ioc/Provider.cfc:94)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.runnables.BoxClassSupport.dereferenceAndInvoke(BoxClassSupport.java:449)
	at boxgenerated.boxclass.coldbox.system.ioc.Provider$cfc.dereferenceAndInvoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/coldbox/system/ioc/Provider.cfc)
	at ortus.boxlang.runtime.runnables.BoxClassSupport.dereferenceAndInvoke(BoxClassSupport.java:477)
	at boxgenerated.boxclass.coldbox.system.ioc.Provider$cfc.dereferenceAndInvoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/coldbox/system/ioc/Provider.cfc)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2216)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2190)
	at ortus.boxlang.runtime.dynamic.Referencer.getAndInvoke(Referencer.java:89)
	at boxgenerated.boxclass.cbswagger.models.Routesparser$cfc$Func_createDocFromRoutes._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/models/RoutesParser.cfc:75)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.runnables.BoxClassSupport.dereferenceAndInvoke(BoxClassSupport.java:449)
	at boxgenerated.boxclass.cbswagger.models.Routesparser$cfc.dereferenceAndInvoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/models/RoutesParser.cfc)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2216)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2190)
	at ortus.boxlang.runtime.dynamic.Referencer.getAndInvoke(Referencer.java:89)
	at boxgenerated.boxclass.tests.specs.Routesparsertest$cfc$Closure_8._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:66)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.types.Struct.dereferenceAndInvoke(Struct.java:983)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2216)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2190)
	at ortus.boxlang.runtime.dynamic.Referencer.getAndInvoke(Referencer.java:89)
	at boxgenerated.boxclass.testbox.system.Basespec$cfc$Func_aroundStub._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/BaseSpec.cfc:1743)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.types.Struct.dereferenceAndInvoke(Struct.java:1022)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2308)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2284)
	at ortus.boxlang.runtime.dynamic.Referencer.getAndInvoke(Referencer.java:136)
	at boxgenerated.boxclass.testbox.system.Basespec$cfc$Closure_12._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/BaseSpec.cfc:1293)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.context.BaseBoxContext.invokeFunction(BaseBoxContext.java:672)
	at ortus.boxlang.runtime.context.FunctionBoxContext.invokeFunction(FunctionBoxContext.java:659)
	at boxgenerated.boxclass.testbox.system.Basespec$cfc$Func_runAroundEachClosures._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/BaseSpec.cfc:1260)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.context.BaseBoxContext.invokeFunction(BaseBoxContext.java:672)
	at ortus.boxlang.runtime.context.FunctionBoxContext.invokeFunction(FunctionBoxContext.java:659)
	at boxgenerated.boxclass.testbox.system.Basespec$cfc$Func_runSpec._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/BaseSpec.cfc:1035)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.runnables.BoxClassSupport.dereferenceAndInvoke(BoxClassSupport.java:536)
	at boxgenerated.boxclass.tests.specs.Routesparsertest$cfc.dereferenceAndInvoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2308)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2284)
	at ortus.boxlang.runtime.dynamic.Referencer.getAndInvoke(Referencer.java:136)
	at boxgenerated.boxclass.testbox.system.runners.Bddrunner$cfc$Func_testSuite._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/runners/BDDRunner.cfc:323)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.context.BaseBoxContext.invokeFunction(BaseBoxContext.java:689)
	at ortus.boxlang.runtime.context.FunctionBoxContext.invokeFunction(FunctionBoxContext.java:685)
	at boxgenerated.boxclass.testbox.system.runners.Bddrunner$cfc$Func_run._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/runners/BDDRunner.cfc:110)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.runnables.BoxClassSupport.dereferenceAndInvoke(BoxClassSupport.java:449)
	at boxgenerated.boxclass.testbox.system.runners.Bddrunner$cfc.dereferenceAndInvoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/runners/BDDRunner.cfc)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2216)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2190)
	at ortus.boxlang.runtime.dynamic.Referencer.getAndInvoke(Referencer.java:89)
	at boxgenerated.boxclass.testbox.system.Testbox$cfc$Func_testBundle._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/TestBox.cfc:766)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.context.BaseBoxContext.invokeFunction(BaseBoxContext.java:689)
	at ortus.boxlang.runtime.context.FunctionBoxContext.invokeFunction(FunctionBoxContext.java:685)
	at boxgenerated.boxclass.testbox.system.Testbox$cfc$Func_runRaw._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/TestBox.cfc:465)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.context.BaseBoxContext.invokeFunction(BaseBoxContext.java:689)
	at ortus.boxlang.runtime.context.FunctionBoxContext.invokeFunction(FunctionBoxContext.java:685)
	at boxgenerated.boxclass.testbox.system.Testbox$cfc$Func_run._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/TestBox.cfc:351)
	at ortus.boxlang.runtime.types.Function.invoke(Function.java:302)
	at ortus.boxlang.runtime.runnables.BoxClassSupport.dereferenceAndInvoke(BoxClassSupport.java:536)
	at boxgenerated.boxclass.testbox.system.Testbox$cfc.dereferenceAndInvoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/TestBox.cfc)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2308)
	at ortus.boxlang.runtime.interop.DynamicInteropService.dereferenceAndInvoke(DynamicInteropService.java:2284)
	at ortus.boxlang.runtime.dynamic.Referencer.getAndInvoke(Referencer.java:136)
	at boxgenerated.templates.testbox.system.runners.Htmlrunner$cfm._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/testbox/system/runners/HTMLRunner.cfm:56)
	at ortus.boxlang.runtime.runnables.BoxTemplate.invoke(BoxTemplate.java:63)
	at ortus.boxlang.runtime.context.BaseBoxContext.includeTemplate(BaseBoxContext.java:757)
	at ortus.boxlang.runtime.components.system.Include._invoke(Include.java:57)
	at ortus.boxlang.runtime.components.Component.invoke(Component.java:183)
	at ortus.boxlang.runtime.components.ComponentDescriptor.invoke(ComponentDescriptor.java:284)
	at ortus.boxlang.runtime.context.BaseBoxContext.invokeComponent(BaseBoxContext.java:601)
	at boxgenerated.templates.tests.Runner$cfm._invoke(/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/runner.cfm:13)
	at ortus.boxlang.runtime.runnables.BoxTemplate.invoke(BoxTemplate.java:63)
	at ortus.boxlang.runtime.context.BaseBoxContext.includeTemplate(BaseBoxContext.java:757)
	at ortus.boxlang.runtime.application.ApplicationClassListener.onRequest(ApplicationClassListener.java:128)
	at ortus.boxlang.web.WebRequestExecutor.execute(WebRequestExecutor.java:105)
	at ortus.boxlang.servlet.BoxLangServlet.service(BoxLangServlet.java:113)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at runwar.servlet.RegexPathInfoFilter.doFilter(RegexPathInfoFilter.java:57)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at runwar.undertow.SSLCertHeaderHandler.handleRequest(SSLCertHeaderHandler.java:171)
	at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:75)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:271)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.call(ServletInitialHandler.java:130)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.call(ServletInitialHandler.java:127)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:251)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleRequest(ServletInitialHandler.java:171)
	at io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at runwar.undertow.WelcomeFileHandler.handleRequest(WelcomeFileHandler.java:49)
	at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104)
	at runwar.undertow.SiteDeployment$1.handleRequest(SiteDeployment.java:169)
	at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:141)
	at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:141)
	at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:113)
	at io.undertow.server.handlers.DisallowedMethodsHandler.handleRequest(DisallowedMethodsHandler.java:62)
	at io.undertow.predicate.PredicatesHandler.handleRequest(PredicatesHandler.java:113)
	at io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
	at runwar.undertow.LifecyleHandler.handleRequest(LifecyleHandler.java:150)
	at runwar.undertow.SiteDeployment$4.handleRequest(SiteDeployment.java:360)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:418)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:938)
	at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
	at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2691)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2670)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1615)
	at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests casting (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
85: 
86: 			it( "Tests casting", function(){
87: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
88: 
89: 				var doc = APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:87

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the API Document against the routing configuration (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
109: 			it( "Tests the API Document against the routing configuration", function(){
110: 				var swaggerUtil = wirebox.getInstance( "OpenAPIUtil@SwaggerSDK" );
111: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
112: 
113: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:111

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the API Document for module introspection (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
144: 			it( "Tests the API Document for module introspection", function(){
145: 				var swaggerUtil = Wirebox.getInstance( "OpenAPIUtil@SwaggerSDK" );
146: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
147: 
148: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:146

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests that route-based parameters are appended to all method params (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
178: 
179: 			it( "Tests that route-based parameters are appended to all method params", function(){
180: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
181: 
182: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:180

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the ability to parse parameter metadata definitions (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
206: 
207: 			it( "Tests the ability to parse parameter metadata definitions", function(){
208: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
209: 
210: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:208

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the ability to parse response metadata definitions (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
232: 
233: 			it( "Tests the ability to parse response metadata definitions", function(){
234: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
235: 
236: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:234

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests that an empty default response will be removed if status code responses are present (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
257: 
258: 			it( "Tests that an empty default response will be removed if status code responses are present", function(){
259: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
260: 
261: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:259

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the ability to parse summary and description metadata definitions (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
273: 
274: 			it( "Tests the ability to parse summary and description metadata definitions", function(){
275: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
276: 
277: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:275

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the ability to parse operationId metadata definitions (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
294: 
295: 			it( "Tests the ability to parse operationId metadata definitions", function(){
296: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
297: 
298: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:296

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Verifies that path typing parameters are removed and that the key omits the type (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
313: 
314: 			it( "Verifies that path typing parameters are removed and that the key omits the type", function(){
315: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
316: 				expect( variables ).toHaveKey( "samplesPath" );
317: 
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:315

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the ability to parse convention path response definition files (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
334: 
335: 			it( "Tests the ability to parse convention path response definition files", function(){
336: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
337: 
338: 				var normalizedDoc = variables.APIDoc.getNormalizedDocument();
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:336

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the ability to parse convention path requestBody files (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
394: 
395: 			it( "Tests the ability to parse convention path requestBody files", function(){
396: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
397: 
398: 				if ( !directoryExists( variables.samplesPath ) ) {
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:396

Check warning on line 0 in tests.specs.RoutesParserTest

See this annotation in the file changed.

@github-actions github-actions / boxlang@1 ColdBox ^8.0.0 Test Results

Tests core RouteParser Methods Tests the ability to parse convention path parameter files (tests.specs.RoutesParserTest) failed

/github/workspace/cbswagger/test-harness/tests/results/test-results-junit.xml [took 0s]
Raw output
No APIDoc was found to test.  Could not continue.
431: 
432: 			it( "Tests the ability to parse convention path parameter files", function(){
433: 				expect( variables ).toHaveKey( "APIDoc", "No APIDoc was found to test.  Could not continue." );
434: 
435: 				if ( !directoryExists( variables.samplesPath ) ) {
/home/runner/work/cbSwagger/cbSwagger/cbswagger/test-harness/tests/specs/RoutesParserTest.cfc:433