Skip to content

Commit

Permalink
regen and update test
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft committed Nov 14, 2024
1 parent 1190ee0 commit 2150213
Show file tree
Hide file tree
Showing 252 changed files with 1,551 additions and 506 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.InternalOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.models.PublicDecoratorModelInInternal;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.InternalOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.models.PublicDecoratorModelInInternal;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.PublicOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.PublicDecoratorModelInPublic;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.PublicOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.PublicDecoratorModelInPublic;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.RelativeModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.implementation.models.OuterModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.OuterModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.RelativeModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.implementation.models.OuterModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.OuterModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.SharedModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.SharedModel;
import _specs_.azure.clientgenerator.core.access.sharedmodelinoperation.models.SharedModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.SharedModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.SharedModel;
import _specs_.azure.clientgenerator.core.access.sharedmodelinoperation.models.SharedModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

/**
* <!-- start generated doc -->
* Package containing the data models for Access.
* Test for internal decorator.
* <!-- end generated doc -->
*/
package _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.models;
package _specs_.azure.clientgenerator.core.access.internaloperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* Test for internal decorator.
* <!-- end generated doc -->
*/
package _specs_.azure.clientgenerator.core.access.models;
package _specs_.azure.clientgenerator.core.access.internaloperation.models;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.models;
package _specs_.azure.clientgenerator.core.access.publicoperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.models;
package _specs_.azure.clientgenerator.core.access.publicoperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* Test for internal decorator.
* <!-- end generated doc -->
*/
package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.publicoperation.models;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

/**
* <!-- start generated doc -->
* Package containing the data models for Access.
* Test for internal decorator.
* <!-- end generated doc -->
*/
package _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.models;
package _specs_.azure.clientgenerator.core.access.sharedmodelinoperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

/**
* <!-- start generated doc -->
* Package containing the data models for Access.
* Test for internal decorator.
* <!-- end generated doc -->
*/
package _specs_.azure.clientgenerator.core.access.sharedmodelinoperation.models;
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package _specs_.azure.clientgenerator.core.usage;

import _specs_.azure.clientgenerator.core.usage.implementation.ModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.usage.models.InputModel;
import _specs_.azure.clientgenerator.core.usage.models.OutputModel;
import _specs_.azure.clientgenerator.core.usage.models.RoundTripModel;
import _specs_.azure.clientgenerator.core.usage.modelinoperation.models.InputModel;
import _specs_.azure.clientgenerator.core.usage.modelinoperation.models.OutputModel;
import _specs_.azure.clientgenerator.core.usage.modelinoperation.models.RoundTripModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package _specs_.azure.clientgenerator.core.usage;

import _specs_.azure.clientgenerator.core.usage.implementation.ModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.usage.models.InputModel;
import _specs_.azure.clientgenerator.core.usage.models.OutputModel;
import _specs_.azure.clientgenerator.core.usage.models.RoundTripModel;
import _specs_.azure.clientgenerator.core.usage.modelinoperation.models.InputModel;
import _specs_.azure.clientgenerator.core.usage.modelinoperation.models.OutputModel;
import _specs_.azure.clientgenerator.core.usage.modelinoperation.models.RoundTripModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.usage.models;
package _specs_.azure.clientgenerator.core.usage.modelinoperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.usage.models;
package _specs_.azure.clientgenerator.core.usage.modelinoperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.usage.models;
package _specs_.azure.clientgenerator.core.usage.modelinoperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.usage.models;
package _specs_.azure.clientgenerator.core.usage.modelinoperation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

/**
* <!-- start generated doc -->
* Package containing the data models for Usage.
* Test for internal decorator.
* <!-- end generated doc -->
*/
package _specs_.azure.clientgenerator.core.usage.modelinoperation.models;
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.example.basic;
package azure.example.basic;

import _specs_.azure.example.basic.implementation.AzureExampleClientImpl;
import _specs_.azure.example.basic.models.ActionRequest;
import _specs_.azure.example.basic.models.ActionResponse;
import azure.example.basic.implementation.AzureExampleClientImpl;
import azure.example.basic.models.ActionRequest;
import azure.example.basic.models.ActionResponse;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.example.basic;
package azure.example.basic;

import _specs_.azure.example.basic.implementation.AzureExampleClientImpl;
import _specs_.azure.example.basic.models.ActionRequest;
import _specs_.azure.example.basic.models.ActionResponse;
import azure.example.basic.implementation.AzureExampleClientImpl;
import azure.example.basic.models.ActionRequest;
import azure.example.basic.models.ActionResponse;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.example.basic;
package azure.example.basic;

import _specs_.azure.example.basic.implementation.AzureExampleClientImpl;
import azure.example.basic.implementation.AzureExampleClientImpl;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ServiceClientBuilder;
import com.azure.core.client.traits.ConfigurationTrait;
Expand Down Expand Up @@ -50,8 +50,7 @@ public final class AzureExampleClientBuilder implements HttpTrait<AzureExampleCl
private static final String SDK_VERSION = "version";

@Generated
private static final Map<String, String> PROPERTIES
= CoreUtils.getProperties("_specs_-azure-example-basic.properties");
private static final Map<String, String> PROPERTIES = CoreUtils.getProperties("azure-example-basic.properties");

@Generated
private final List<HttpPipelinePolicy> pipelinePolicies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.example.basic;
package azure.example.basic;

import com.azure.core.util.ServiceVersion;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.example.basic.implementation;
package azure.example.basic.implementation;

import _specs_.azure.example.basic.BasicServiceVersion;
import azure.example.basic.BasicServiceVersion;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.ExpectedResponses;
import com.azure.core.annotation.HeaderParam;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* Test for loading JSON example and generating sample code.
* <!-- end generated doc -->
*/
package _specs_.azure.example.basic.implementation;
package azure.example.basic.implementation;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.example.basic.models;
package azure.example.basic.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.Generated;
Expand Down
Loading

0 comments on commit 2150213

Please sign in to comment.