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

io.swagger.codegen.v3.utils.ImplementationVersion Maven / Gradle / Ivy

There is a newer version: 3.0.62
Show newest version
package io.swagger.codegen.v3.utils;

public class ImplementationVersion {
    public static String read() {
        // Assumes this version is required at runtime. This could be modified to use a properties file like the CLI.
        String compiledVersion = ImplementationVersion.class.getPackage().getImplementationVersion();
        if(compiledVersion != null) {
            return compiledVersion;
        }

        return "unset";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy