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

com.deepoove.swagger.diff.model.ChangedEndpoint Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package com.deepoove.swagger.diff.model;

import java.util.Map;

import io.swagger.models.HttpMethod;
import io.swagger.models.Operation;

public class ChangedEndpoint implements Changed{

	private String pathUrl;

	private Map newOperations;
	private Map missingOperations;

	private Map changedOperations;

	public Map getNewOperations() {
		return newOperations;
	}

	public void setNewOperations(Map newOperations) {
		this.newOperations = newOperations;
	}

	public Map getMissingOperations() {
		return missingOperations;
	}

	public void setMissingOperations(
			Map missingOperations) {
		this.missingOperations = missingOperations;
	}
	

	public Map getChangedOperations() {
		return changedOperations;
	}

	public void setChangedOperations(
			Map changedOperations) {
		this.changedOperations = changedOperations;
	}

	public String getPathUrl() {
		return pathUrl;
	}

	public void setPathUrl(String pathUrl) {
		this.pathUrl = pathUrl;
	}

	public boolean isDiff() {
//		newOperations.isEmpty() 
//		|| !missingOperations.isEmpty()
//		|| 
		return !changedOperations.isEmpty();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy