-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inlcude csharp rename decorator when openai-to-typespec generating tsp #4907
Conversation
You may test this build by running Add the following CLI flags
Or with all autorest --version:https://tinyurl.com/2yo8u522 --use:https://tinyurl.com/2dcckehg or use the following in your autorest configuration: # For changes to autorest core
version: "https://tinyurl.com/2yo8u522"
# For changes to modelerfour
use-extension:
"@autorest/modelerfour": "https://tinyurl.com/2dcckehg" If this build is good for you, give this comment a thumbs up. (👍) And you should run `autorest --reset` again once you're finished testing to remove it. |
packages/extensions/openapi-to-typespec/test/schemaRegistry/readme.md
Outdated
Show resolved
Hide resolved
packages/extensions/openapi-to-typespec/src/emiters/emit-client.ts
Outdated
Show resolved
Hide resolved
packages/extensions/openapi-to-typespec/src/emiters/emit-main.ts
Outdated
Show resolved
Hide resolved
You may test this build by running Add the following CLI flags
Or with all autorest --version:https://tinyurl.com/22rkfbl8 --use:https://tinyurl.com/27a3yxzy or use the following in your autorest configuration: # For changes to autorest core
version: "https://tinyurl.com/22rkfbl8"
# For changes to modelerfour
use-extension:
"@autorest/modelerfour": "https://tinyurl.com/27a3yxzy" If this build is good for you, give this comment a thumbs up. (👍) And you should run `autorest --reset` again once you're finished testing to remove it. |
You may test this build by running Add the following CLI flags
Or with all autorest --version:https://tinyurl.com/29zmp32p --use:https://tinyurl.com/25dgnrwk or use the following in your autorest configuration: # For changes to autorest core
version: "https://tinyurl.com/29zmp32p"
# For changes to modelerfour
use-extension:
"@autorest/modelerfour": "https://tinyurl.com/25dgnrwk" If this build is good for you, give this comment a thumbs up. (👍) And you should run `autorest --reset` again once you're finished testing to remove it. |
You may test this build by running Add the following CLI flags
Or with all autorest --version:https://tinyurl.com/26hoqkrg --use:https://tinyurl.com/22je3wv3 or use the following in your autorest configuration: # For changes to autorest core
version: "https://tinyurl.com/26hoqkrg"
# For changes to modelerfour
use-extension:
"@autorest/modelerfour": "https://tinyurl.com/22je3wv3" If this build is good for you, give this comment a thumbs up. (👍) And you should run `autorest --reset` again once you're finished testing to remove it. |
another concern: if i change the script to use this latest converter version without using the latest csharp codegen version, there will be no error, right? is it backward compatible? |
You may test this build by running Add the following CLI flags
Or with all autorest --version:https://tinyurl.com/24l3cogo --use:https://tinyurl.com/2depyzzf or use the following in your autorest configuration: # For changes to autorest core
version: "https://tinyurl.com/24l3cogo"
# For changes to modelerfour
use-extension:
"@autorest/modelerfour": "https://tinyurl.com/2depyzzf" If this build is good for you, give this comment a thumbs up. (👍) And you should run `autorest --reset` again once you're finished testing to remove it. |
…csharp-rename' into openai-to-typespec-csharp-rename
There should be no change if a normal swagger config is used. The change should only have impact when an autorest.md with csharp related rename configuration is used. and all test passed. thanks. |
You may test this build by running Add the following CLI flags
Or with all autorest --version:https://tinyurl.com/2xmrc92x --use:https://tinyurl.com/2635h6cn or use the following in your autorest configuration: # For changes to autorest core
version: "https://tinyurl.com/2xmrc92x"
# For changes to modelerfour
use-extension:
"@autorest/modelerfour": "https://tinyurl.com/2635h6cn" If this build is good for you, give this comment a thumbs up. (👍) And you should run `autorest --reset` again once you're finished testing to remove it. |
Fixes Azure/autorest.csharp#4236.
Generate csharp renaming decorator when openai-to-typespec generating tsp. (include rename of resource, resource.property, model, model.property, enum, enum.member and operation name)
related autorest.csharp change can be found at Azure/autorest.csharp#4380