-
Notifications
You must be signed in to change notification settings - Fork 532
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
resolveFully doesn't resolve nested references or normal references for Callbacks and its PathItem usecase #1579
Comments
hi @mma5997, thanks for reporting this issue, please send a spec exposing exposing the issue. |
Hi @gracekarina , I have added a sample OAS3 spec which has most of the scenarios that I expect the resolveFully API to resolve it and place inline wherever needed and return the OpenAPI document java object when we use the OpenAPIV3Parser for reading a spec. |
Hi @gracekarina looks like its specific to callbacks definition that have request body, response etc references. Will confirm once and then update the issue accordingly. |
@gracekarina , And we also have a PR for the same... I have tested this locally and it works fine. |
@gracekarina, |
Fixed #1579 - Resolve callbacks when ResolveFully is true
Thanks @vpawar-tibco @gracekarina 🙌 |
OpenAPI version : 3.0.0
Swagger-parser 2.0.26
I am using the resolveFully parse option as mentioned here but seems its not working for most of my usecases WHICH INVOLVE CALLBACKS AND PATH ITEM FOR CALLBACKS
My use case INVOLVING CALLBACKS AND ITS PATH ITEM INSIDE IT are like below
Looks like an issue. Technically it should resolve the local references and place it as the inline definitions in the OpenAPI document java object, if I am not mistaken reading the mentioned here. And it does resolve for other normal PathItems but for not for callbacks specific use-cases mentioned 1-7.
Please refer the below OAS3 spec :
The text was updated successfully, but these errors were encountered: