warning: typespec-java - Examples directory 'examples/2023-10-01' does not exist. @ unknown
Potential cause is the relative path and working directory, when using tsp-client (the working directory seems to be cwd, but the typespec project be under TempTypeSpecFiles/DevCenter).
Potential cause is the relative path and working directory, when using
tsp-client
(the working directory seems to be cwd, but the typespec project be underTempTypeSpecFiles/DevCenter
).had to use
to make it work in SDK repo.
Another problem is that the
operation
object is not same, if client.tsp customize via providing a new interface. https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devcenter/DevCenter/client.tspThe
listProjects
to the left and thelistProjects
to the right are 2 different operation instances.One hack could be to try
operation.sourceOperation
for example map, if not found onoperation
itself.