当前位置:网站首页>Yyds dry inventory swagger positioning problem ⽅ formula

Yyds dry inventory swagger positioning problem ⽅ formula

2022-07-05 01:29:00 Feng, crazy

⼀、 Online problem

visit swagger⽂ File error :

#yyds Dry inventory #swagger Location problem ⽅ type _ Type conversion


⼆、 Location problem ⽅ type

1、 Locate the problem  

 ⼀ See, the type conversion failed  

#yyds Dry inventory #swagger Location problem ⽅ type _ Type conversion _02

Here it is. ⼀⾏ A reported mistake , So open AbstractSerializableParameter , And make a breakpoint at this position (412 Refers to the source code location ,idea open

Of class⽂ No ⼀ It must be 412⾏, But by double clicking ⿏ Target direct arrival )

2、debug 

#yyds Dry inventory #swagger Location problem ⽅ type _ide_03

example It's empty , It's basically certain that , Because int Data definition of type ApiImplicitParam There was no designation of example⽽ Cause conversion loss

Defeat . 

3、 Location error ⽅

example Is the attribute of the instance , adopt this visit , You can see the error address

#yyds Dry inventory #swagger Location problem ⽅ type _ Type conversion _04

#yyds Dry inventory #swagger Location problem ⽅ type _ide_05

原网站

版权声明
本文为[Feng, crazy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202141027396248.html