good morning!!!!

Skip to content
Snippets Groups Projects
Commit 97f65ca4 authored by Trevor Judice's avatar Trevor Judice Committed by Jake Johnston
Browse files

Social Fields

parent f35d147a
No related branches found
No related tags found
1 merge request!18Social Fields
...@@ -26,10 +26,17 @@ type ServerVariable struct { ...@@ -26,10 +26,17 @@ type ServerVariable struct {
} }
type Info struct { type Info struct {
Title string `json:"title"` Title string `json:"title"`
Description string `json:"description"` Description string `json:"description"`
Version string `json:"version"` Version string `json:"version"`
Contact Contact `json:"contact,omitempty"` Contact Contact `json:"contact,omitempty"`
Socials []*SocialInfo `json:"x-social,omitempty"`
}
type SocialInfo struct {
Name string `json:"name"`
URL string `json:"url"`
Color string `json:"color"`
} }
type Contact struct { type Contact struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment