-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Request body description is not displayed #833
Comments
After migrating to ReDoc we noticed that some of descriptions from our OpenAPI 3.0 spec that were previously visible in swagger-ui has disappeared. One of the examples is description in requestBody (this missing feature was already referenced in comment to issue #598 (comment) and in this issue). We were able to mitigate this problem by moving relevant descriptions from requestBodies up to request method level, but for the sake of completeness i decided to propose this PR. Please comment if you are interested in incorporating this feature and if you are ok with this particular implementation. |
* master: (73 commits) chore: fixes typo in error message for detecting a circular dependency in theme.ts (Redocly#852) chore: minor refactor fix: tidy up non-redoc vendor extension presentation (Redocly#847) chore(cli): redoc-cli v0.8.3 fix(cli): add node-libs-browser to the deps chore(cli): redoc-cli v0.8.2 fix: fix redoc-cli broken dependencies chore: Release 2.0.0-rc.4 🔖 feat: display requestBody description Redocly#833 (Redocly#838) fix: move swagger2openapi to deps because of missing transitive deps chore(cli): redoc-cli v0.8.0 chore: update peerDeps before release chore: Release 2.0.0-rc.3 🔖 fix: add extra deref step for anyOf/oneOf variants chore: Remove duplicate re-export from index.ts (Redocly#842) fix: pin lunr version in ReDoc chore: fix cli declarations feat: support externalValue for examples chore: update deps docs: Fixed docker README, added missing redocly repo name (Redocly#841) ...
Any updates on this issue? |
I'm also running into this problem. Not a TypeScript expert, but it looks like it is implemented in the template: |
Isn't it fixed by #838 already? |
According to the OpenAPI spec, the request body is able to have a description: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#requestBodyObject
It doesn't look like this is displayed in ReDoc.
The text was updated successfully, but these errors were encountered: