Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@
"commandName": "Executable",
"executablePath": "$(SolutionDir)/../dist/generator/Microsoft.TypeSpec.Generator.exe"
},
"http-documentation": {
"commandLineArgs": "$(SolutionDir)/TestProjects/Spector/http/documentation -g StubLibraryGenerator",
"commandName": "Executable",
"executablePath": "$(SolutionDir)/../dist/generator/Microsoft.TypeSpec.Generator.exe"
},
"http-encode-array": {
"commandLineArgs": "$(SolutionDir)/TestProjects/Spector/http/encode/array -g StubLibraryGenerator",
"commandName": "Executable",
"executablePath": "$(SolutionDir)/../dist/generator/Microsoft.TypeSpec.Generator.exe"
},
"http-encode-bytes": {
"commandLineArgs": "$(SolutionDir)/TestProjects/Spector/http/encode/bytes -g StubLibraryGenerator",
"commandName": "Executable",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"package-name": "Documentation"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Documentation", "src\Documentation.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU
{8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU
{A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU
{FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU
{85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU
{28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU
{28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU
{28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU
{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>This is the Documentation client library for developing .NET applications with rich experience.</Description>
<AssemblyTitle>SDK Code Generation Documentation</AssemblyTitle>
<Version>1.0.0-beta.1</Version>
<PackageTags>Documentation</PackageTags>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.ClientModel" Version="1.8.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// <auto-generated/>

#nullable disable

using System;
using System.ClientModel.Primitives;
using Documentation._Lists;
using Documentation._TextFormatting;

namespace Documentation
{
public partial class DocumentationClient
{
public DocumentationClient() : this(new Uri("http://localhost:3000"), new DocumentationClientOptions()) => throw null;

public DocumentationClient(Uri endpoint, DocumentationClientOptions options) => throw null;

public ClientPipeline Pipeline => throw null;

public virtual Lists GetListsClient() => throw null;

public virtual TextFormatting GetTextFormattingClient() => throw null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// <auto-generated/>

#nullable disable

using System.ClientModel.Primitives;

namespace Documentation
{
public partial class DocumentationClientOptions : ClientPipelineOptions
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// <auto-generated/>

#nullable disable

using Documentation._Lists;

namespace Documentation
{
public static partial class DocumentationModelFactory
{
public static BulletPointsModel BulletPointsModel(BulletPointsEnum prop = default) => throw null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// <auto-generated/>

#nullable disable

using System.ClientModel;
using System.ClientModel.Primitives;
using System.Threading;
using System.Threading.Tasks;

namespace Documentation._Lists
{
public partial class Lists
{
protected Lists() => throw null;

public ClientPipeline Pipeline => throw null;

public virtual ClientResult BulletPointsOp(RequestOptions options) => throw null;

public virtual Task<ClientResult> BulletPointsOpAsync(RequestOptions options) => throw null;

public virtual ClientResult BulletPointsOp(CancellationToken cancellationToken = default) => throw null;

public virtual Task<ClientResult> BulletPointsOpAsync(CancellationToken cancellationToken = default) => throw null;

public virtual ClientResult BulletPointsModel(BinaryContent content, RequestOptions options = null) => throw null;

public virtual Task<ClientResult> BulletPointsModelAsync(BinaryContent content, RequestOptions options = null) => throw null;

public virtual ClientResult BulletPointsModel(BulletPointsModel input, CancellationToken cancellationToken = default) => throw null;

public virtual Task<ClientResult> BulletPointsModelAsync(BulletPointsModel input, CancellationToken cancellationToken = default) => throw null;

public virtual ClientResult Numbered(RequestOptions options) => throw null;

public virtual Task<ClientResult> NumberedAsync(RequestOptions options) => throw null;

public virtual ClientResult Numbered(CancellationToken cancellationToken = default) => throw null;

public virtual Task<ClientResult> NumberedAsync(CancellationToken cancellationToken = default) => throw null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// <auto-generated/>

#nullable disable

namespace Documentation._Lists
{
public enum BulletPointsEnum
{
/// <summary>
/// Simple bullet point. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// - One: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// - Two: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// </summary>
Simple,
/// <summary>
/// Bullet point with **bold text**. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// - **One**: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// - **Two**: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// </summary>
Bold,
/// <summary>
/// Bullet point with *italic text*. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// - *One*: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// - *Two*: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.
/// </summary>
Italic
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// <auto-generated/>

#nullable disable

using System;
using System.ClientModel.Primitives;
using System.Text.Json;

namespace Documentation._Lists
{
public partial class BulletPointsModel : IJsonModel<BulletPointsModel>
{
internal BulletPointsModel() => throw null;

void IJsonModel<BulletPointsModel>.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;

protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;

BulletPointsModel IJsonModel<BulletPointsModel>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;

protected virtual BulletPointsModel JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;

BinaryData IPersistableModel<BulletPointsModel>.Write(ModelReaderWriterOptions options) => throw null;

protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;

BulletPointsModel IPersistableModel<BulletPointsModel>.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;

protected virtual BulletPointsModel PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;

string IPersistableModel<BulletPointsModel>.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// <auto-generated/>

#nullable disable

namespace Documentation._Lists
{
public partial class BulletPointsModel
{
public BulletPointsModel(BulletPointsEnum prop) => throw null;

public BulletPointsEnum Prop => throw null;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// <auto-generated/>

#nullable disable

using System.ClientModel.Primitives;
using Documentation._Lists;

namespace Documentation
{
[ModelReaderWriterBuildable(typeof(BulletPointsModel))]
public partial class DocumentationContext : ModelReaderWriterContext
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// <auto-generated/>

#nullable disable

using System.ClientModel;
using System.ClientModel.Primitives;
using System.Threading;
using System.Threading.Tasks;

namespace Documentation._TextFormatting
{
public partial class TextFormatting
{
protected TextFormatting() => throw null;

public ClientPipeline Pipeline => throw null;

public virtual ClientResult BoldText(RequestOptions options) => throw null;

public virtual Task<ClientResult> BoldTextAsync(RequestOptions options) => throw null;

public virtual ClientResult BoldText(CancellationToken cancellationToken = default) => throw null;

public virtual Task<ClientResult> BoldTextAsync(CancellationToken cancellationToken = default) => throw null;

public virtual ClientResult ItalicText(RequestOptions options) => throw null;

public virtual Task<ClientResult> ItalicTextAsync(RequestOptions options) => throw null;

public virtual ClientResult ItalicText(CancellationToken cancellationToken = default) => throw null;

public virtual Task<ClientResult> ItalicTextAsync(CancellationToken cancellationToken = default) => throw null;

public virtual ClientResult CombinedFormatting(RequestOptions options) => throw null;

public virtual Task<ClientResult> CombinedFormattingAsync(RequestOptions options) => throw null;

public virtual ClientResult CombinedFormatting(CancellationToken cancellationToken = default) => throw null;

public virtual Task<ClientResult> CombinedFormattingAsync(CancellationToken cancellationToken = default) => throw null;
}
}
Loading
Loading