File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import io.swagger.v3.oas.models.OpenAPI;
24
24
// read a swagger description from the petstore
25
25
26
26
27
- OpenAPI openAPI = new OpenAPIV3Parser (). read(" http ://petstore .swagger.io/v3/openapi.json" );
27
+ OpenAPI openAPI = new OpenAPIV3Parser (). read(" https ://petstore3 .swagger.io/api /v3/openapi.json" );
28
28
29
29
```
30
30
@@ -50,7 +50,7 @@ import io.swagger.v3.parser.core.models.AuthorizationValue;
50
50
// or in a single constructor
51
51
AuthorizationValue apiKey = new AuthorizationValue (" api_key" , " special-key" , " header" );
52
52
OpenAPI openAPI = new OpenAPIV3Parser (). readWithInfo(
53
- " http ://petstore .swagger.io/v2/swagger .json" ,
53
+ " https ://petstore3 .swagger.io/api/v3/openapi .json" ,
54
54
Arrays . asList(mySpecialHeader, apiKey)
55
55
);
56
56
```
You can’t perform that action at this time.
0 commit comments