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
2 changes: 1 addition & 1 deletion core
Submodule core updated 221 files
1 change: 1 addition & 0 deletions eng/sdk/sync_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
skip_artifacts: List[str] = [
"azure-ai-anomalydetector", # deprecated
# expect failure on below
"azure-ai-projects", # wait for service dev update tsp-location.yaml
# "azure-developer-devcenter", # 2 breaks introduced into stable api-version
# "azure-ai-vision-face", # SDK in development
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.azure.mgmttest.network.fluent.models.NetworkSecurityGroupInner;
import com.azure.mgmttest.networkwatcher.fluent.models.PacketCaptureResultInner;
import com.azure.mgmttest.nonstringexpandableenum.fluent.models.ScheduledQueryRuleProperties;
import com.azure.mgmttest.nonstringexpandableenum.models.AlertSeverity;
import com.azure.mgmttest.postgresqlhsc.fluent.models.ServerConfigurationInner;
import com.azure.mgmttest.resources.fluent.models.ResourceGroupInner;
import com.azure.mgmttest.resources.models.IdentityUserAssignedIdentities;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ public void testModelInheritErrorResponse() throws IOException {
Assertions.assertEquals("MESSAGE", model.error().getMessage());
}

@Test
public void testNoResourceAutoGeneratedClass() {
Assertions.assertThrows(ClassNotFoundException.class, () -> Class.forName("com.azure.mgmttest.storage.models.ResourceAutoGenerated"));
}

@Test
@Disabled("live test")
public void testStorage() {
Expand Down
11 changes: 8 additions & 3 deletions fluent-tests/swagger/readme.storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
> see https://aka.ms/autorest
This is the AutoRest configuration file for Resource.
---

Different reference to common-types/resource-management/v1/types.json and common-types/resource-management/v5/types.json would cause de-duplication of "Resource" to "ResourceAutoGenerated" in m4.
But "ResourceAutoGenerated" should not be generated in code.

``` yaml $(java)
input-file:
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/storage/resource-manager/Microsoft.Storage/stable/2021-01-01/storage.json
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/storage/resource-manager/Microsoft.Storage/stable/2021-01-01/blob.json
```
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/blob.json
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/networkSecurityPerimeter.json
```
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autorest/java",
"version": "4.1.57",
"version": "4.1.58",
"description": "The Java extension for classic generators in AutoRest.",
"scripts": {
"autorest": "autorest",
Expand Down
6 changes: 6 additions & 0 deletions typespec-extension/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 0.32.1 (2025-08-16)

Compatible with compiler 1.3.0.

- Bug fixes and improvements.

## 0.32.0 (2025-08-08)

Compatible with compiler 1.3.0.
Expand Down
142 changes: 71 additions & 71 deletions typespec-extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading