Adding HTTP status codes responses #2907
Closed
BlackBucketCL
started this conversation in
General
Replies: 1 comment 1 reply
-
You can see examples here. Essentially, when an operation returns a model, that model is checked for a field with the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm new to Typespec and I don't know how to assign different status codes in the response. Let's say I need to send a 409 response or any other specific HTTP status code.
Can you help me with that please?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions