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

it.ness.queryable.plugin.openapi.OpenApiMojo Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
package it.ness.queryable.plugin.openapi;

import it.ness.queryable.plugin.QuerableBaseMojo;
import it.ness.queryable.util.MojoUtils;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;

/**
 * Queryable is maven plugin for filter defs.
 */
@Mojo(name = "openapi",
        defaultPhase = LifecyclePhase.PROCESS_RESOURCES,
        threadSafe = true)
public class OpenApiMojo extends QuerableBaseMojo {

    public void execute() {
        init(getLog());
        // example
        // https://github.com/n-essio/kimera_app_api/blob/main/docs/openapi.yaml
        MojoUtils.openapisource(parameters, log);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy