github.com/SAP/cloud-mta-build-tool@v1.2.27/internal/conttype/model.go (about) 1 package conttype 2 3 // ContentTypes - data structure for content types configuration 4 type ContentTypes struct { 5 ContentTypes []ContentType `yaml:"content-types"` 6 } 7 8 // ContentType - content types 9 type ContentType struct { 10 Extension string `yaml:"extension"` 11 ContentType string `yaml:"content-type"` 12 }