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)
365365 {
366366 if ( tag . Target is null )
367367 {
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.") ;
369369 }
370370 }
371371 }
Original file line number Diff line number Diff line change @@ -887,7 +887,7 @@ public async Task SerializeAsJsonAsyncThrowsIfTagReferenceIsUnresolved(OpenApiSp
887887 } ;
888888
889889 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 ) ;
891891 }
892892 }
893893}
You can’t perform that action at this time.
0 commit comments