When using go-swagger, an enum that cannot unmarshall into its schema triggers a runtime panic. A warning when validating the spec would help preventing that.