You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, my issue is that I hope the body value shouldn't be null, and I hope the TODO should be completed.
Swagger-codegen version
2.4.43
Suggest a fix/enhancement
It is expected that the unit test code is complete, that is, it can create and initialize different objects, and make assertions.
Additional information: I'm working in a test technology team that provide technology for test engineer. Due to the rise of AI technology, especially the LLM like ChatGPT, my manager wants to introduce the technology to resolve some problems. Now he wants to input a JSON file written in OpenAPI Specification like swagger.json to a tool, then hope that the tool can produce some request data which can be used for calling RESTful API.
@ClayGminx this would be a feature request, there can be different tests and ways that we should test a generated SDK client. We'd welcome any efforts here, but at this point it isn't within scope for the team.
issue in English
Summary
I try to generate code by following command,
When it done, I open
PetApiTest.java
, then I saw a piece of test case code,Now, my issue is that I hope the
body
value shouldn't benull
, and I hope theTODO
should be completed.Swagger-codegen version
2.4.43
Suggest a fix/enhancement
It is expected that the unit test code is complete, that is, it can create and initialize different objects, and make assertions.
Additional information: I'm working in a test technology team that provide technology for test engineer. Due to the rise of AI technology, especially the LLM like ChatGPT, my manager wants to introduce the technology to resolve some problems. Now he wants to input a JSON file written in OpenAPI Specification like
swagger.json
to a tool, then hope that the tool can produce some request data which can be used for calling RESTful API.Okay. That's all, thank you.
issue in Chinese
Because I'm Chinese, I remain my Chinese issue.
问题概述
我尝试按以下命令生成代码,
生成后,我打开
PetApiTest.java
,看到其中一个测试用例:现在问题是,我希望
body
值不是null
,并且希望TODO
代码已经自动写好了。Swagger-codegen version
2.4.43
Suggest a fix/enhancement
希望单元测试代码是完全的,也就是能够创建和初始化不同的对象,并且做出断言。
The text was updated successfully, but these errors were encountered: