Select Git revision
Calculations.java
-
Rodríguez Ortega, Alejandro authored
Added method to generate GPS Routes from vehicle points datamodel, and anonymice then deleting the first and last 50 meters of the route AND hidding the name with a hash code.
Rodríguez Ortega, Alejandro authoredAdded method to generate GPS Routes from vehicle points datamodel, and anonymice then deleting the first and last 50 meters of the route AND hidding the name with a hash code.
Swagger2SpringBoot.java 1.28 KiB
package com.tecnalia.datausage;
import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.info.License;
import io.swagger.v3.oas.models.security.SecurityRequirement;
import io.swagger.v3.oas.models.security.SecurityScheme;
import io.swagger.v3.oas.models.servers.Server;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.Properties;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.ExitCodeGenerator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan(basePackages = { "com.tecnalia.datausage", "com.tecnalia.datausage.api",
"com.tecnalia.datausage.utils", "io.dataspaceconnector.services.usagecontrol"})
public class Swagger2SpringBoot {
public static void main(String[] args) throws Exception {
new SpringApplication(Swagger2SpringBoot.class).run(args);
}
}