Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try-fix-doc-in-params-tag #1846

Merged
merged 2 commits into from
May 17, 2023
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
254 changes: 127 additions & 127 deletions packages/autorest.typescript/test/commands/smoke-test-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,133 +46,133 @@ const getArmReadmes = (): SpecDefinition[] => {
};

export const readmes: SpecDefinition[] = [
// ...getArmReadmes(),
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/sql/resource-manager/readme.md"
// ),
// branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
// params: [
// AutorestParams.GenerateTest,
// AutorestParams.ModelDedup,
// AutorestParams.GenerateSamples,
// AutorestParams.AzureArm,
// AutorestParams.AzureSdkForJs
// ],
// buildTag: "ci_1"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/web/resource-manager/readme.md"
// ),
// params: [
// AutorestParams.GenerateTest,
// AutorestParams.GenerateSamples,
// AutorestParams.AzureSdkForJs
// ],
// branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
// buildTag: "ci_2"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/monitor/data-plane/readme.md"
// ),
// params: [AutorestParams.Security],
// buildTag: "ci_2"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/graphrbac/data-plane/readme.md"
// ),
// buildTag: "ci_2"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/cosmos-db/resource-manager/readme.md"
// ),
// params: [AutorestParams.ModelDedup],
// branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
// buildTag: "ci_2"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/compute/resource-manager/readme.md"
// ),
// params: [
// AutorestParams.GenerateTest,
// AutorestParams.ModelDedup,
// AutorestParams.GenerateSamples,
// AutorestParams.AzureSdkForJs
// ],
// branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
// buildTag: "ci_2"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/network/resource-manager/readme.md"
// ),
// params: [
// AutorestParams.GenerateTest,
// AutorestParams.GenerateSamples,
// AutorestParams.AzureSdkForJs,
// AutorestParams.AzureArm
// ],
// branch: "25bea13c86145a7620e363826a9ae476c18adb5f",
// buildTag: "ci_3"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/keyvault/resource-manager/readme.md"
// ),
// params: [
// AutorestParams.GenerateTest,
// AutorestParams.GenerateSamples,
// AutorestParams.AzureSdkForJs,
// AutorestParams.AzureArm
// ],
// branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
// buildTag: "ci_3"
// },
// {
// path: joinPath(
// `${__dirname}`,
// "..",
// "..",
// "./.tmp/specs/specification/storage/resource-manager/readme.md"
// ),
// params: [
// AutorestParams.ModelDedup,
// AutorestParams.GenerateTest,
// AutorestParams.GenerateSamples,
// AutorestParams.AzureSdkForJs
// ],
// branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
// buildTag: "ci_3"
// },
...getArmReadmes(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get this merged, those test case are comment out by accident.

{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/sql/resource-manager/readme.md"
),
branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
params: [
AutorestParams.GenerateTest,
AutorestParams.ModelDedup,
AutorestParams.GenerateSamples,
AutorestParams.AzureArm,
AutorestParams.AzureSdkForJs
],
buildTag: "ci_1"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/web/resource-manager/readme.md"
),
params: [
AutorestParams.GenerateTest,
AutorestParams.GenerateSamples,
AutorestParams.AzureSdkForJs
],
branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
buildTag: "ci_2"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/monitor/data-plane/readme.md"
),
params: [AutorestParams.Security],
buildTag: "ci_2"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/graphrbac/data-plane/readme.md"
),
buildTag: "ci_2"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/cosmos-db/resource-manager/readme.md"
),
params: [AutorestParams.ModelDedup],
branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
buildTag: "ci_2"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/compute/resource-manager/readme.md"
),
params: [
AutorestParams.GenerateTest,
AutorestParams.ModelDedup,
AutorestParams.GenerateSamples,
AutorestParams.AzureSdkForJs
],
branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
buildTag: "ci_2"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/network/resource-manager/readme.md"
),
params: [
AutorestParams.GenerateTest,
AutorestParams.GenerateSamples,
AutorestParams.AzureSdkForJs,
AutorestParams.AzureArm
],
branch: "25bea13c86145a7620e363826a9ae476c18adb5f",
buildTag: "ci_3"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/keyvault/resource-manager/readme.md"
),
params: [
AutorestParams.GenerateTest,
AutorestParams.GenerateSamples,
AutorestParams.AzureSdkForJs,
AutorestParams.AzureArm
],
branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
buildTag: "ci_3"
},
{
path: joinPath(
`${__dirname}`,
"..",
"..",
"./.tmp/specs/specification/storage/resource-manager/readme.md"
),
params: [
AutorestParams.ModelDedup,
AutorestParams.GenerateTest,
AutorestParams.GenerateSamples,
AutorestParams.AzureSdkForJs
],
branch: "925e8285703ddd461588d8f5fbf14bd97c286fab",
buildTag: "ci_3"
},
{
path: joinPath(
`${__dirname}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BodyComplexRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `BodyComplexRestClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qiaozha @joheredi Do you think we could add the @typescript-eslint/naming-convention validation in our build?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least not for rest level client, they will easily break this rule .

*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BodyFileClient } from "./clientDefinitions";

/**
* Initialize a new instance of `BodyFileClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BodyFormDataClient } from "./clientDefinitions";

/**
* Initialize a new instance of `BodyFormDataClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BodyStringRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `BodyStringRestClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { CustomUrlRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `CustomUrlRestClient`
* @param host type: string, A string value that is used as a global part of the parameterized host
* @param options type: ClientOptions, the parameter for all optional parameters
* @param host - A string value that is used as a global part of the parameterized host
* @param options - the parameter for all optional parameters
*/
export default function createClient(
host: string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DPGCustomizationClient } from "./clientDefinitions";

/**
* Initialize a new instance of `DPGCustomizationClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { HeaderRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `HeaderRestClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { HttpInfrastructureRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `HttpInfrastructureRestClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { LRORestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `LRORestClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { MediaTypesClient } from "./clientDefinitions";

/**
* Initialize a new instance of `MediaTypesClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { MultipleInheritanceRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `MultipleInheritanceRestClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import { MultipleUrlParameterRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `MultipleUrlParameterRestClient`
* @param endpoint type: string, The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com
* @param serviceVersion type: "v2"|"v1", the version of api
* @param credentials type: TokenCredential, uniquely identify client credential
* @param options type: ClientOptions, the parameter for all optional parameters
* @param endpoint - The catalog endpoint of your Purview account. Example: https://{accountName}.purview.azure.com
* @param serviceVersion - the version of api
* @param credentials - uniquely identify client credential
* @param options - the parameter for all optional parameters
*/
export default function createClient(
endpoint: string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { PagingClient } from "./clientDefinitions";

/**
* Initialize a new instance of `PagingClient`
* @param options type: ClientOptions, the parameter for all optional parameters
* @param options - the parameter for all optional parameters
*/
export default function createClient(
options: ClientOptions = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { SecurityAADRestClient } from "./clientDefinitions";

/**
* Initialize a new instance of `SecurityAADRestClient`
* @param credentials type: TokenCredential, uniquely identify client credential
* @param options type: ClientOptions, the parameter for all optional parameters
* @param credentials - uniquely identify client credential
* @param options - the parameter for all optional parameters
*/
export default function createClient(
credentials: TokenCredential,
Expand Down
Loading