Add outlook v2 model contract
This commit is contained in:
@@ -97,5 +97,10 @@ func stringConstantsFromFile(t *testing.T, path string, prefix string, skip func
|
||||
}
|
||||
|
||||
func schemaConstantNotInCurrentContract(name string) bool {
|
||||
return name == "SchemaRawOpenWeatherHourlyForecastV1"
|
||||
switch name {
|
||||
case "SchemaRawOpenWeatherHourlyForecastV1", "SchemaWeatherOutlookV2":
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,4 +33,5 @@ const (
|
||||
SchemaWeatherStoryV1 = "weather.weather_story.v1"
|
||||
SchemaWeatherAlertV1 = "weather.alert.v1"
|
||||
SchemaWeatherOutlookV1 = "weather.outlook.v1"
|
||||
SchemaWeatherOutlookV2 = "weather.outlook.v2"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user