com.xliic.openapi.bundler.ReferenceResolutionFailure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-bundler Show documentation
Show all versions of openapi-bundler Show documentation
Bundles multiple OpenAPI files (in JSON or YAML formats) using external references into one JSON file.
package com.xliic.openapi.bundler;
import java.net.URI;
public class ReferenceResolutionFailure {
public final String message;
public final URI sourceFile;
public final String sourcePointer;
public final String target;
public final Throwable cause;
public ReferenceResolutionFailure(String message, URI file, String pointer, String target, Throwable cause) {
this.message = message;
this.sourceFile = file;
this.sourcePointer = pointer;
this.target = target;
this.cause = cause;
}
@Override
public String toString() {
return String.format("%s in %s at $s", message, sourceFile, sourcePointer);
}
}