I have a file with the "$ref" and want that it will be resolved with the format for example:
spec:
spaceDevelopers:
$ref: '../someThing.yml'
I would like to resolve the $ref: '../spaceDevelopers.yml'
Inside the file in Java. I have searched for a library, but could not find a good example, how to do it.
My resources are: https://swagger.io/docs/specification/using-ref/ And https://github.com/kalaspuffar/swagger-reader/blob/master/src/main/java/org/ea/swagger/NewReader.java
I would appreciate if someone could give me a code snippet, because I can not imagine, how to do it.
Thank you