We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For JS modular under unbranded scenario, we need to generate the error model from the following definition:
@error model ApiError { /** A machine readable error code */ code: string; /** A human readable message */ // https://github.com/microsoft/OpenAPI/blob/main/extensions/x-ms-primary-error-message.md @OpenAPI.extension("x-ms-primary-error-message", true) message: string; }
Please also verify we could map the error by status code correctly.
model Standard4XXResponse extends ApiError { @minValue(400) @maxValue(499) @statusCode statusCode: int32; }
The text was updated successfully, but these errors were encountered:
I will scope this issue to p1 part mentioned here so updated the priority here, for p0 part we would cover in this existing issue: #2917.
@timovv will help drive the p1 part from core to codegen side.
Sorry, something went wrong.
@MaryGao, for unbranded, please teste p0 scenario with the generated service to ensure it works E2E.
MaryGao
Successfully merging a pull request may close this issue.
For JS modular under unbranded scenario, we need to generate the error model from the following definition:
Please also verify we could map the error by status code correctly.
The text was updated successfully, but these errors were encountered: