Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
32 stars 80 forks source link

tsp, mgmt, sdk integration #2712

Closed weidongxu-microsoft closed 2 months ago

weidongxu-microsoft commented 2 months ago

The meaning of sdkIntegration in ARM is a bit different from that of DPG.

Basically it should be always enabled, if target is the SDK repo.


One remaining problem is the tag in readme/changelog/pom.

Swagger readme have tag, but there is no such concept in typespec. Still not sure how we best handle this. Maybe we need an emitter option, e.g. readme-tag.

image

XiaofeiCao commented 2 months ago

Can we remove this package-tag when generating from typespec?

One blocker that I can think of is the single_service_packages.md, where packages are grouped by package tags.

weidongxu-microsoft commented 2 months ago

The remove is simple. But since at least at present, we still have such mapping (as even if Java generate from tsp, RP would still have a readme and tag for other languages).

Though we may consider adding another line about "api-version", so in future we may switch to api-version based reference.