Skip to content

Commit

Permalink
Add rap2 supports mock.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkqm committed Sep 2, 2021
1 parent e29817d commit 2c64776
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private static Rap2Property copyToRap2Property(Property item, PropertyScope scop
property.setType(type);
property.setDescription(item.getDescription());
property.setRequired(item.getRequired());
property.setValue(item.getDefaultValue());
property.setValue(item.getMock());
property.setDepth(1);
property.setParentId("-1");
property.setMemory(true);
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@
<change-notes><![CDATA[
<p>0.0.4</p>
<ul>
<li>Add mock rules.</li>
<li>Add rap2 supports mock.</li>
<li>Fix bean field orders.</li>
<li>Fix yapi mock error.</li>
<li>Add mock rules.</li>
<li>Fix bugs.</li>
</ul>
<p>0.0.3</p>
Expand Down
Binary file modified yapix.jar
Binary file not shown.

0 comments on commit 2c64776

Please sign in to comment.