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

com.reprezen.genflow.api.openapi.OpenApiGenTemplate Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
/*******************************************************************************
 * Copyright © 2013, 2017 Modelsolv, Inc.
 * All Rights Reserved.
 *
 * NOTICE: All information contained herein is, and remains the property
 * of ModelSolv, Inc. See the file license.html in the root directory of
 * this project for further information.
 *******************************************************************************/
package com.reprezen.genflow.api.openapi;

import com.reprezen.genflow.api.GenerationException;
import com.reprezen.genflow.api.template.GenTemplate;

public abstract class OpenApiGenTemplate extends GenTemplate {

	@Override
	public Class getPrimaryType() throws GenerationException {
		return OpenApiDocument.class;
	}

	public void defineOpenApiSource() throws GenerationException {
		define(primarySource().ofType(OpenApiSource.class));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy