All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xliic.openapi.bundler.ReferenceResolutionFailure Maven / Gradle / Ivy

Go to download

Bundles multiple OpenAPI files (in JSON or YAML formats) using external references into one JSON file.

There is a newer version: 4.0
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy