File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Microsoft.OpenApi/Models
test/Microsoft.OpenApi.Tests/Models Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
365
365
{
366
366
if ( tag . Target is null )
367
367
{
368
- throw new OpenApiException ( $ "The OpenAPI tag reference '{ tag . Reference . Id } ' does reference a valid tag.") ;
368
+ throw new OpenApiException ( $ "The OpenAPI tag reference '{ tag . Reference . Id } ' does not reference a valid tag.") ;
369
369
}
370
370
}
371
371
}
Original file line number Diff line number Diff line change @@ -887,7 +887,7 @@ public async Task SerializeAsJsonAsyncThrowsIfTagReferenceIsUnresolved(OpenApiSp
887
887
} ;
888
888
889
889
var exception = await Assert . ThrowsAsync < OpenApiException > ( ( ) => operation . SerializeAsJsonAsync ( version ) ) ;
890
- Assert . Equal ( "The OpenAPI tag reference 'two' does reference a valid tag." , exception . Message ) ;
890
+ Assert . Equal ( "The OpenAPI tag reference 'two' does not reference a valid tag." , exception . Message ) ;
891
891
}
892
892
}
893
893
}
You can’t perform that action at this time.
0 commit comments