jonathanlocke
4 years agoNew Contributor
Help with ModelConverters and Related Classes
I'm doing an integration with Swagger and I'm having trouble understanding how to use ModelConverters to resolve references between Schemas. The source code is a bit difficult for me to understand. Does anyone know how this works? Thanks! -- Jon
I'm no expert of the Java stuff, but can take a stab at helping.
Are you referring to https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Extensions#extending-core-resolver ?
If so are you in an JAX-RS context or trying to use swagger-core (the library that does most of the OpenAPI stuff) outside of JAX-RS?
If you have a minimal example of what you'd like to achieve, it'll help encourage more concrete answers 🙂