File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed 
src/Microsoft.OpenApi/Services 
test/Microsoft.OpenApi.Tests/PublicApi Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -14,22 +14,10 @@ namespace Microsoft.OpenApi.Services
1414    /// </summary> 
1515    public  class  OpenApiWorkspace 
1616    { 
17-         private  readonly  Dictionary < Uri ,  OpenApiDocument >  _documents  =  new ( ) ; 
1817        private  readonly  Dictionary < string ,  Uri >  _documentsIdRegistry  =  new ( ) ; 
1918        private  readonly  Dictionary < Uri ,  Stream >  _artifactsRegistry  =  new ( ) ;         
2019        private  readonly  Dictionary < Uri ,  IOpenApiReferenceable >  _IOpenApiReferenceableRegistry  =  new ( ) ; 
2120
22-         /// <summary> 
23-         /// A list of OpenApiDocuments contained in the workspace 
24-         /// </summary> 
25-         public  IEnumerable < OpenApiDocument >  Documents 
26-         { 
27-             get 
28-             { 
29-                 return  _documents . Values ; 
30-             } 
31-         } 
32- 
3321        /// <summary> 
3422        /// The base location from where all relative references are resolved 
3523        /// </summary> 
@@ -108,17 +96,6 @@ public void AddDocumentId(string key, Uri value)
10896            } 
10997        } 
11098
111-         /// <summary> 
112-         /// Add an OpenApiDocument to the workspace. 
113-         /// </summary> 
114-         /// <param name="location"></param> 
115-         /// <param name="document"></param> 
116-         public  void  AddDocument ( string  location ,  OpenApiDocument  document ) 
117-         { 
118-             document . Workspace  =  this ; 
119-             _documents . Add ( ToLocationUrl ( location ) ,  document ) ; 
120-         } 
121- 
12299        /// <summary> 
123100        /// Retrieves the document id given a key. 
124101        /// </summary> 
Original file line number Diff line number Diff line change @@ -1507,8 +1507,6 @@ namespace Microsoft.OpenApi.Services
15071507        public OpenApiWorkspace(Microsoft.OpenApi.Services.OpenApiWorkspace workspace) { }
15081508        public OpenApiWorkspace(System.Uri baseUrl) { }
15091509        public System.Uri BaseUrl { get; }
1510-         public System.Collections.Generic.IEnumerable<Microsoft.OpenApi.Models.OpenApiDocument> Documents { get; }
1511-         public void AddDocument(string location, Microsoft.OpenApi.Models.OpenApiDocument document) { }
15121510        public void AddDocumentId(string key, System.Uri value) { }
15131511        public int ComponentsCount() { }
15141512        public bool Contains(string location) { }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments