Professional Documents
Culture Documents
{
public static SwaggerPlaceholder GetSwaggerOptions()
{
return new SwaggerPlaceholder
{
Version = "v1",
Title = "",
Description = "",
ContactName = "",
ContactEmail = "",
TechnicalOwnerEmail = "",
ProductOwnerEmail = "",
BusinessOwnerEmail = "",
OpenApiString = "",
LocalServerUrl = "",
DevServerUrl = "",
GlobalTagName = "",
GlobalTagDescription = "",
GetConfigPath = "",
GetConfigPathSummary = "",
GetConfigPathDescription = "",
GetConfigPathOperationId = "",
GetByIdPath = "",
GetByIdPathSummary = "",
GetByIdPathDescription = "",
GetByIdPathOperationId = "",
GetAllPath = "",
GetAllPathSummary = "",
GetAllPathDescription = "",
GetAllPathOperationId = "",
PostSummary = "",
PostDescription = "",
PostOperationId = "",
PutSummary = "",
PutDescription = "",
PutOperationId = "",
DeleteSummary = "",
DeleteDescription = "",
DeleteOperationId = "",
};
}
}
string githubUsername = "anshuman-01-26";
string githubToken = "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";
var credentials =
Convert.ToBase64String(Encoding.ASCII.GetBytes($"{githubUsername}:{githubToken}"));
httpClient.DefaultRequestHeaders.Authorization = new
AuthenticationHeaderValue("Basic", credentials);