File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
modules/swagger-parser-v3/src/test
java/io/swagger/v3/parser/test Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,15 @@ public void issue682() throws Exception {
209
209
Assert .assertNotNull (result .getOpenAPI ().getPaths ().get ("/pets" ).getGet ());
210
210
}
211
211
212
+ @ Test
213
+ public void issue941 () throws Exception {
214
+ OpenAPIV3Parser parser = new OpenAPIV3Parser ();
215
+
216
+ final OpenAPI result = parser .read ("src/test/resources/sample/SwaggerPetstore.yaml" );
217
+ Assert .assertNotNull (result );
218
+ assertEquals ("Documentation de l'API élaboré par nos soins" , result .getInfo ().getDescription ());
219
+ }
220
+
212
221
@ Test
213
222
public void issueRelativeRefs2 () throws Exception {
214
223
OpenAPIV3Parser parser = new OpenAPIV3Parser ();
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ openapi: "3.0.0"
2
2
info :
3
3
version : 1.0.0
4
4
title : Swagger Petstore
5
- description : A sample API that uses a petstore as an example to demonstrate features in the OpenAPI 3.0 specification
5
+ description : " Documentation de l' API élaboré par nos soins "
6
6
termsOfService : http://swagger.io/terms/
7
7
contact :
8
8
name : Swagger API Team
You can’t perform that action at this time.
0 commit comments