Skip to content

Using springdoc with the Actuator integration causes a deprecation warning #2024

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

Closed
Okeanos opened this issue Dec 25, 2022 · 2 comments
Closed
Labels
wontfix This will not be worked on

Comments

@Okeanos
Copy link

Okeanos commented Dec 25, 2022

Describe the bug

Steps to reproduce the behavior:

  • What version of spring-boot you are using? Spring Boot 3.0.1, however, this warning is issued since 2.1.0.
  • What modules and versions of springdoc-openapi are you using? Springdoc version 2.0.2 with springdoc-openapi-starter-webmvc-ui
  • What is the actual and the expected result using OpenAPI Description (yml or json)? not applicable

When using the default configuration for springdoc for the actuator integration a deprecation warning is triggered that complains about invalid characters.

To Reproduce

application.yml

springdoc:
  api-docs:
    enabled: true
  swagger-ui:
    enabled: true
  show-actuator: true
  use-management-port: true

management:
  endpoints:
    enabled-by-default: true
    web:
      exposure:
        include: [ "openapi", "swagger-ui" ]
WARN o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'swagger-ui' contains invalid characters, please migrate to a valid format.

Expected behavior

No warning should be issued.

@chillosu
Copy link

Seeing this as well.

@bnasslahsen
Copy link
Collaborator

@Okeanos and @chillosu,

Yes, aware of it. Not blocking at the moment.
This is related to #1603

@bnasslahsen bnasslahsen added the wontfix This will not be worked on label Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants