Albina Blazhko
Albina Blazhko
@nickcorby Thanks for the active discussion. We will definitely review and improve our `openapi-starter`. Please feel free to ask any questions about product and functionality.
> Please also test this change in Realm/Redoc before merging as it affects the bundler. ## Tested changes in Realm/Redoc.
@jeremyfiel Yeah, you are right, need to test with all cases, i will test it tomorrow. At the first glance, everything looks good and all users, that reported this bug...
@jeremyfiel Great point, i implemented new fix for this case and tested for all type of components, provided in `remove-unused-components` decorator.
Hi @ethanmdavidson! You can try to add `spec-strict-refs` rule to your config and lint your file to check if you use refs correctly. Let me know if it helps.
@ethanmdavidson Thank you for letting me know! Could you try downgrading to version 2.1.3 and bundling your file? If that doesn't help, we can have a quick call where you...
@nickcorby Could you please provide an example on how you are using schemas and refs to them? I tested `no-unused-components` rule and cannot reproduce this behavior.
@nickcorby thank you for providing the example. In your case, in the first example, you are using refs incorrectly by the OpenAPI specification. You can prove this by setting the...
@nickcorby you raised a valid point, we will investigate the issue. The first approach, how you can solve this issue is to not provide a `components.schemas`, because `bundle` command will...
@ethanmdavidson Thank you for providing examples, it helps us to allocate what is going wrong. You need to remove `components` at all, because bundle command will automatically add all used...