Skip to content

Commit e478b75

Browse files
committed
chore: updates public api document
1 parent e861c08 commit e478b75

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ namespace Microsoft.OpenApi.Interfaces
237237
}
238238
public interface IStreamLoader
239239
{
240-
[System.Obsolete("Use the Async overload")]
241-
System.IO.Stream Load(System.Uri uri);
242240
System.Threading.Tasks.Task<System.IO.Stream> LoadAsync(System.Uri uri);
243241
}
244242
}
@@ -1401,8 +1399,6 @@ namespace Microsoft.OpenApi.Reader.Services
14011399
public class DefaultStreamLoader : Microsoft.OpenApi.Interfaces.IStreamLoader
14021400
{
14031401
public DefaultStreamLoader(System.Uri baseUrl) { }
1404-
[System.Obsolete]
1405-
public System.IO.Stream Load(System.Uri uri) { }
14061402
public System.Threading.Tasks.Task<System.IO.Stream> LoadAsync(System.Uri uri) { }
14071403
}
14081404
}
@@ -1653,8 +1649,6 @@ namespace Microsoft.OpenApi.Validations
16531649
}
16541650
public class ValidationRule<T> : Microsoft.OpenApi.Validations.ValidationRule
16551651
{
1656-
[System.Obsolete("Please use the other constructor and specify a name")]
1657-
public ValidationRule(System.Action<Microsoft.OpenApi.Validations.IValidationContext, T> validate) { }
16581652
public ValidationRule(string name, System.Action<Microsoft.OpenApi.Validations.IValidationContext, T> validate) { }
16591653
}
16601654
}
@@ -1876,8 +1870,6 @@ namespace Microsoft.OpenApi.Writers
18761870
public OpenApiWriterSettings() { }
18771871
public bool InlineExternalReferences { get; set; }
18781872
public bool InlineLocalReferences { get; set; }
1879-
[System.Obsolete("Use InlineLocalReference and InlineExternalReference settings instead")]
1880-
public Microsoft.OpenApi.Writers.ReferenceInlineSetting ReferenceInline { get; set; }
18811873
}
18821874
public class OpenApiYamlWriter : Microsoft.OpenApi.Writers.OpenApiWriterBase
18831875
{
@@ -1895,13 +1887,6 @@ namespace Microsoft.OpenApi.Writers
18951887
public override void WriteValue(string value) { }
18961888
protected override void WriteValueSeparator() { }
18971889
}
1898-
[System.Obsolete("Use InlineLocalReference and InlineExternalReference settings instead")]
1899-
public enum ReferenceInlineSetting
1900-
{
1901-
DoNotInlineReferences = 0,
1902-
InlineLocalReferences = 1,
1903-
InlineAllReferences = 2,
1904-
}
19051890
public sealed class Scope
19061891
{
19071892
public Scope(Microsoft.OpenApi.Writers.ScopeType type) { }

0 commit comments

Comments
 (0)