Soft deprecate azure-resource-provider-folder and remove from feeds#3836
Soft deprecate azure-resource-provider-folder and remove from feeds#3836timotheeguerin wants to merge 11 commits intoAzure:mainfrom
Conversation
commit: |
|
All changed packages have been documented.
Show changes
|
|
You can try these changes here
|
…eprecate-arm-resource-provider-folder
…eprecate-arm-resource-provider-folder
To reduce changes in Azure/typespec-azure#3836
…eprecate-arm-resource-provider-folder
| azure-resource-provider-folder: "data-plane" | ||
| emitter-output-dir: "{project-root}/.." | ||
| output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" | ||
| output-file: "data-plane/{service-name}/{version-status}/{version}/openapi.json" |
There was a problem hiding this comment.
I think this should also be {emitter-output-dir}/{version-status}/{version}/openapi.json
| ): Promise<Record<K, OpenAPI2Document>> { | ||
| return compileMultipleOpenAPI( | ||
| code, | ||
| Object.fromEntries(versions.map((x) => [x, resolvePath("stable", x, "openapi.json")])), |
There was a problem hiding this comment.
Perhaps we should also try to resolve in preview, if this produces nothing?
Right now this just document as deprecated but doesn't flag a warning as we are still deciding if we should fix v1 spec or wait until they are migrated.