Allow configuration of annotation processing
See original GitHub issueWe should allow the configuration of annotation processing via MP Config, for example, which packages to scan (improves performance for large apps).
For example, a dev should be able to do this inside META-INF/microprofile-config.properties
openapi.packagesToScan=abc,def,
openapi.server=myhost:8443
...
openapi.filter=mypackage.myFilter
The implementation of this spec would get those values injected (or can manually query for them).
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Configure annotation processors | IntelliJ IDEA Documentation
Select the desired annotation profile. Select Enable annotation processing and configure the following options: Obtain processors from project ...
Read more >How to configure Java Annotation Processor(s) in Eclipse?
Right click on the project and select Properties. · Open Java Compiler -> Annotation Processing. Check "Enable annotation processing". · Open Java ...
Read more >Using annotation processor in IDE - Immutables
IntelliJ IDEA ————- To configure annotation processing in IntelliJ IDEA, use dialog Preferences > Project Settings > Compiler > Annotation Processors. Obtain ...
Read more >Chapter 12. Annotation Processor
Go to "File", then "Settings", · Expand the node "Compiler", then "Annotation Processors" · Choose "Enable annotation processing" and enter the following as...
Read more >Annotation Processing Preferences - Eclipse Help
The Annotation Processing preference pane permits configuration of preferences that apply to all processors in a project or workspace.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Latest list of configurable properties:
mp.openapi.model.reader Configuration property to specify the fully qualified name of the OASModelReader implementation.
mp.openapi.filter Configuration property to specify the fully qualified name of the OASFilter implementation.
mp.openapi.scan.disable Configuration property to disable annotation scanning.
mp.openapi.scan.packages Configuration property to specify the list of packages to scan.
mp.openapi.scan.classes Configuration property to specify the list of classes to scan.
mp.openapi.servers Configuration property to specify the list of global servers that provide connectivity information.
mp.openapi.servers.path. Prefix of the configuration property to specify an alternative list of servers to service all operations in a path.
mp.openapi.servers.operation. Prefix of the configuration property to specify an alternative list of servers to service an operation.
mp.openapi.extensions. Recommended prefix for vendor specific configuration properties.
Perfectly fine with me 😃 I think it should be consistent with other specs. I have created a thread in the Google group at https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/microprofile/LujyD0OYrP0