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

tech.jhipster.lite.project.infrastructure.primary.RestModuleToApply Maven / Gradle / Ivy

There is a newer version: 1.18.1
Show newest version
package tech.jhipster.lite.project.infrastructure.primary;

import io.swagger.v3.oas.annotations.media.Schema;
import tech.jhipster.lite.project.domain.ModuleSlug;

@Schema(name = "ModuleToApply", description = "Information for a module to apply")
record RestModuleToApply(@Schema(description = "Slug of the module to apply") String slug) {
  public static RestModuleToApply from(ModuleSlug moduleSlug) {
    return new RestModuleToApply(moduleSlug.get());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy