Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE occurs when outputting an OpenAPI document since 2.5.0 #2561

Merged

Commits on Apr 4, 2024

  1. Add components parameter when calling AnnotationsUtils.

    The swagger-core's AnnotationsUtils has added an overload of the getHeaders method.
    A scenario where an NPE occurs if the components is not added as an argument has emerged.
    footaku committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    679fb4d View commit details
    Browse the repository at this point in the history
  2. Testing pattern with specifying Schema in response headers.

    Confirm that setting Header annotations specified in the Schema attribute in ApiResponse's headers attribute does not result in errors.
    footaku committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    7e78f05 View commit details
    Browse the repository at this point in the history