apucher commented on code in PR #8830: URL: https://github.com/apache/pinot/pull/8830#discussion_r889340386
########## pinot-spi/src/main/java/org/apache/pinot/spi/utils/CommonConstants.java: ########## @@ -41,6 +41,7 @@ private CommonConstants() { public static final String DEFAULT_METRICS_FACTORY_CLASS_NAME = "org.apache.pinot.plugin.metrics.yammer.YammerMetricsFactory"; + public static final String DEFAULT_SWAGGER_AUTHORIZATION_VALUE = "oauth"; Review Comment: maybe change the name to `SWAGGER_AUTHORIZATION_KEY` - and reuse it in both, the `@ApiKeyAuthDefinition` and the `@Authorization` annotations rather then the hardcoded `"oauth"` string? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org