Closed
Description
Describe the bug
In an OpenApiCustomiser, calling OpenApi.getServers() may return null.
To Reproduce
- Using latest master
- Add a bean of type OpenApiCustomiser which invokes getServers()
- Request the open api document using header
Accept-Language: en-US
- Request the open api document using header
Accept-Language: de-DE
- The second request fails with a NullpointerException in the OpenApiCustomiser as openApi.getServers() returns null
Metadata
Metadata
Assignees
Labels
No labels