Skip to content

Commit

Permalink
docs: meta image should not be required
Browse files Browse the repository at this point in the history
  • Loading branch information
hayzamjs committed Sep 7, 2024
1 parent 6f7ccb0 commit a9160f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func CreateDocumentation(services *services.ServiceRegistry, w http.ResponseWrit
ProjectName string `json:"projectName" validate:"required"`
BaseURL string `json:"baseURL" validate:"required"`
Favicon string `json:"favicon"`
MetaImage string `json:"metaImage" validate:"required"`
MetaImage string `json:"metaImage"`
NavImage string `json:"navImage"`
NavImageDark string `json:"navImageDark"`
CustomCSS string `json:"customCSS" validate:"required"`
Expand Down Expand Up @@ -148,7 +148,7 @@ func EditDocumentation(services *services.ServiceRegistry, w http.ResponseWriter
BaseURL string `json:"baseURL" validate:"required"`
Version string `json:"version" validate:"required"`
Favicon string `json:"favicon"`
MetaImage string `json:"metaImage" validate:"required"`
MetaImage string `json:"metaImage"`
NavImage string `json:"navImage"`
NavImageDark string `json:"navImageDark"`
CustomCSS string `json:"customCSS" validate:"required"`
Expand Down

0 comments on commit a9160f9

Please sign in to comment.