Skip to content

pathsToMatch and packagesToScan only work in camel-case in application.yml #338

Closed
@waschmittel

Description

@waschmittel
springdoc.pathsToMatch # works
springdoc.packagesToScan # works
springdoc.paths-to-match # is ignored
springdoc.packages-to-scan # is ignored

I assume this is because of the SpEL expressions definied in org.springdoc.core.Constants

This is especially unfortunate because the non-camel-case variant is specified in spring-configuration-metadata.json which is read by my IDE for auto-completion of application.yml

It took me a while to find out why it didn't work for me.

But I'm still very happy that I finally have OpenApi 3.0 :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions