You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/05/19 04:33:30 UTC

[GitHub] [servicecomb-java-chassis] xhanthow opened a new issue #1762: 获取yaml中类属性的信息

xhanthow opened a new issue #1762:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1762


   如要获取parameterList的类型的信息
   ![image](https://user-images.githubusercontent.com/7291995/82284973-e4d89a00-99cc-11ea-826b-a9e4fd95b834.png)
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1762: 获取yaml中类属性的信息

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #1762:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1762#issuecomment-630605664


   Invocation.SchemaMeta.Swagger
   
   这样或许可以。得到的是 swagger 类型。 如果存在一个类与之对应,比如 provider 或者 consumer采用了RPC方式调用, Invocation.getInvocationArguments 得到的实际的类型, 采用 BeanDescriptor 可以获取到 java class 的字段信息。 


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] xhanthow commented on issue #1762: 获取yaml中类属性的信息

Posted by GitBox <gi...@apache.org>.
xhanthow commented on issue #1762:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1762#issuecomment-630663991


   ![image](https://user-images.githubusercontent.com/7291995/82302601-67248680-99ec-11ea-8696-f65df01b9078.png)
   有直接方法获取这个targetType么~除了反射


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] xhanthow closed issue #1762: 获取yaml中类属性的信息

Posted by GitBox <gi...@apache.org>.
xhanthow closed issue #1762:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1762


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org