Hello,
It seems that the library is not able to correctly resolve the reusable examples (defined under "/components/examples"). When setting "setResolve(true)" and "setResolveFully(true)", it still maintains the references to the examples, instead of replacing the references. If these example components are defined in a separate file, it doesn't even include them in the resulting yaml.
When processing the following yaml with both properties set to "true":
Furthermore, when the example is defined in a separate file, the reference is retained (as demonstrated in this snippet); however, the component is not included in the resulting contract's components structure, thereby resulting in broken references.
My bad. According to OpenAPI spec (Reusable examples), it is not possible to include references under "example" structure. It is supported under "examples" instead.
Hello, It seems that the library is not able to correctly resolve the reusable examples (defined under "/components/examples"). When setting "setResolve(true)" and "setResolveFully(true)", it still maintains the references to the examples, instead of replacing the references. If these example components are defined in a separate file, it doesn't even include them in the resulting yaml.
When processing the following yaml with both properties set to "true":
it produces the following result:
Furthermore, when the example is defined in a separate file, the reference is retained (as demonstrated in this snippet); however, the component is not included in the resulting contract's components structure, thereby resulting in broken references.