Closed
Description
Description
After the refactoring, requestBody
is missing content
as a nested property. To doublecheck that it is supposed to be there, I tried generating it with the npm version vs the one in github.
NPM version (what I expected):
requestBody: {
content: {
"application/json": {
/** Format: email */
email?: string;
label?: string;
};
};
};
Current version (what I believe is wrong):
requestBody: {
"application/json": {
/** Format: email */
email?: string;
label?: string;
};
};
Reproduction
Sync with the current codebase and run the generator. Note that the test is also missing this property.
Checklist
- I’m willing to open a PR (see CONTRIBUTING.md)