Interface MetadataMapper


public interface MetadataMapper
MapStruct mapper responsible for converting AppInfo domain data into the OpenAPI About* models used by the metadata API.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final MetadataMapper
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.metabocloud.about.openapi.model.AboutDocumentation
    Maps documentation‑related metadata from AppInfo into the AboutDocumentation section of the metadata response.
    fr.metabocloud.about.openapi.model.AboutMain
    toMain(AppInfo source)
    Maps application general information from AppInfo into the AboutMain section of the metadata response.
    fr.metabocloud.about.openapi.model.AboutOwnershipAccessibility
    Maps ownership and accessibility metadata from AppInfo into the AboutOwnershipAccessibility section of the metadata response.
    fr.metabocloud.about.openapi.model.AboutVersion
    Maps version‑related metadata from AppInfo into the AboutVersion section of the metadata response.
  • Field Details

  • Method Details

    • toMain

      fr.metabocloud.about.openapi.model.AboutMain toMain(AppInfo source)
      Maps application general information from AppInfo into the AboutMain section of the metadata response.
      Parameters:
      source - The application information data object
      Returns:
      A populated AboutMain instance describing the main metadata
    • toDocumentation

      fr.metabocloud.about.openapi.model.AboutDocumentation toDocumentation(AppInfo source)
      Maps documentation‑related metadata from AppInfo into the AboutDocumentation section of the metadata response.
      Parameters:
      source - The application information data object
      Returns:
      A populated AboutDocumentation instance describing the main metadata
    • toVersion

      fr.metabocloud.about.openapi.model.AboutVersion toVersion(AppInfo source)
      Maps version‑related metadata from AppInfo into the AboutVersion section of the metadata response.
      Parameters:
      source - The application information data object
      Returns:
      A populated AboutVersion instance describing the main metadata
    • toOwnershipAccessibility

      fr.metabocloud.about.openapi.model.AboutOwnershipAccessibility toOwnershipAccessibility(AppInfo source)
      Maps ownership and accessibility metadata from AppInfo into the AboutOwnershipAccessibility section of the metadata response.
      Parameters:
      source - The application information data object
      Returns:
      A populated AboutOwnershipAccessibility instance describing the main metadata