Skip to content

Commit 1ce6d39

Browse files
committed
Remove debugging code
1 parent 92b767f commit 1ce6d39

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

models/OpenAPI/Parser.cfc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,8 @@ component name="OpenAPIParser" accessors="true" {
280280
**/
281281
private function fetchDocumentReference( required string $ref ){
282282

283-
/* if ( $ref == chr( 35 ) & chr( 35 ) & "/components/requestBodies/PostBody" ) {
284-
writeDump( var=$ref, output="console" );
285-
} */
286-
287-
288283
// double pound ## means we want to preserve the swagger $ref pointer (just remove the extra #)
289284
if( left( $ref, 2 ) == chr( 35 ) & chr( 35 ) ){
290-
writeDump( var=right( $ref, ( len( $ref ) - 1 ) ), output="console" );
291285
return { "$ref": right( $ref, ( len( $ref ) - 1 ) ) };
292286
//resolve internal refrences before looking for externals
293287
} else if( left( $ref, 1 ) == chr( 35 )){

test-harness/tests/specs/ColdboxSpec.cfc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ component extends="BaseOpenAPISpec"{
4545
it( "Can parse the apiDoc", function(){
4646
var apiDoc = parseApiDoc();
4747

48-
debug( serializeJson( apiDoc ) );
49-
5048
// it can have multiple servers
5149
expect( apiDoc ).toHaveKey( "servers" );
5250
expect( apiDoc.servers ).toBeArray();

0 commit comments

Comments
 (0)