RepositoryFile.java (426B)
1 package com.wimdupont.personalweb.api.dto; 2 3 import com.fasterxml.jackson.annotation.JsonProperty; 4 5 public record RepositoryFile( 6 7 @JsonProperty(value = "file_path") 8 String path, 9 @JsonProperty(value = "content_sha256") 10 String contentSha256, 11 @JsonProperty(value = "content") 12 String contentBase64, 13 @JsonProperty(value = "last_commit_id") 14 String lastCommitId 15 16 ) { 17 }