File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/Microsoft.OpenApi.Readers/V3 Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -244,20 +244,20 @@ public static OpenApiSchema LoadSchema(ParseNode node)
244
244
245
245
if ( pointer != null )
246
246
{
247
- if ( node . Context . PushLoop ( schemaLoopId , pointer ) )
248
- {
249
- var schema = mapNode . GetReferencedObject < OpenApiSchema > ( ReferenceType . Schema , pointer ) ;
250
- node . Context . PopLoop ( schemaLoopId ) ;
251
- return schema ;
252
- } else
253
- {
254
- node . Context . ClearLoop ( schemaLoopId ) ;
247
+ // if (node.Context.PushLoop(schemaLoopId, pointer))
248
+ // {
249
+ // var schema = mapNode.GetReferencedObject<OpenApiSchema>(ReferenceType.Schema, pointer);
250
+ // node.Context.PopLoop(schemaLoopId);
251
+ // return schema;
252
+ // } else
253
+ // {
254
+ // node.Context.ClearLoop(schemaLoopId);
255
255
//TODO. How do we make the object graph have a cycle. Or should we break the cycle in the graph?
256
256
return new OpenApiSchema ( )
257
257
{
258
258
Reference = node . Context . VersionService . ConvertToOpenApiReference ( pointer , ReferenceType . Schema )
259
259
} ;
260
- }
260
+ // }
261
261
}
262
262
263
263
var domainObject = new OpenApiSchema ( ) ;
You can’t perform that action at this time.
0 commit comments