-
Notifications
You must be signed in to change notification settings - Fork 13
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
Patch: Fix documentation preview with nested $ref model #46
Patch: Fix documentation preview with nested $ref model #46
Conversation
@rovellipaolo - Thanks for the PR. We're looking at it. |
@rovellipaolo - Left two comments. |
I left one more comment @rovellipaolo |
@rovellipaolo - Approved. Please merge it and I'll release it as a patch. (At one point I'll fix the pipeline so that the release could happen automatically) You know what I'll merge it. I don't think you can. |
@rovellipaolo - I tried to release your patch but the pipeline failed for some reason. I'll fix it tomorrow. |
@rovellipaolo - v1.3.1 is released. |
Fix generating a documentation preview locally, with
serverless generateDocumentation
command, when the template contains a reference to another local model with the$ref
keyword.For example the following template:
will generate (after this fix) the following documentation preview:
As you can see the
$ref
value is now"#/components/schemas/Address"
(correct).For more information see: #45