routes/schema.js
/**
     * Saves schemaResult in schemaResultCache and sets content-type
     * if it is not set.
     */
Saves schemaResult in schemaResultCache and sets content-type
if it is not set.
Saves schemaResult in schemaResultCache and sets content - type if it is not set .
function cacheSchemaResult(key, schemaResult) {
        if (!('content-type' in schemaResult.headers)) {
            schemaResult.headers('content-type', 'application/json');
        }
        schemaResultCache.set(key, schemaResult);
    }
function cacheSchemaResult ( key , schemaResult ) { if ( ! ( 'content-type' in schemaResult . headers ) ) { schemaResult . headers ( 'content-type' , 'application/json' ) ; } schemaResultCache . set ( key , schemaResult ) ; }
Saves schemaResult in schemaResultCache and sets content-type
 if it is not set.
Saves schemaResult in schemaResultCache and sets content - type if it is not set .
// Make sure content-type is set if it isn't already.