oscerd commented on code in PR #28183:
URL: https://github.com/apache/camel/pull/28183#discussion_r4336039303


##########
core/camel-core-model/src/main/java/org/apache/camel/model/rest/OpenApiDefinition.java:
##########
@@ -62,6 +62,10 @@ public class OpenApiDefinition extends 
OptionalIdentifiedDefinition<OpenApiDefin
     @Metadata(description = "Used for inclusive filtering of mock data from 
directories. The pattern is using Ant-path style pattern. Multiple patterns can 
be specified separated by comma.",
               label = "advanced", defaultValue = "classpath:camel-mock/**")
     private String mockIncludePattern;
+    @XmlAttribute
+    @Metadata(description = "Which external references ($ref) the OpenAPI 
specification may use: all allows any reference, local allows references to the 
classpath and the file system only, and none allows only references inside the 
document. A reference the option does not allow fails the start.",
+              enums = "all,local,none", defaultValue = "all")

Review Comment:
   Fixed in 8e60618a6883: `label = "security"` on the `openApi` attribute, so 
`openApi.json` (and the catalog and YAML DSL schema mirrors) now list 
`externalReferences` in the security group like the endpoint and component 
options.
   
   _Claude Code on behalf of oscerd_



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to