redoom commented on code in PR #15806:
URL: https://github.com/apache/dubbo/pull/15806#discussion_r2573540082


##########
dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/SwaggerOpenAPIDefinitionResolver.java:
##########


Review Comment:
   Because it has already been called once here, if it is called again, it will 
be called twice. So I directly returned the schema. I believe the  '@schema' 
annotation is failing because it's being called an extra time at the end, which 
prevents the preceding set methods from taking effect.
   @oxsean 



##########
dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/SwaggerOpenAPIDefinitionResolver.java:
##########


Review Comment:
   Because it has already been called once here, if it is called again, it will 
be called twice. So I directly returned the schema. I believe the  schema 
annotation is failing because it's being called an extra time at the end, which 
prevents the preceding set methods from taking effect.
   @oxsean 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to