Skip to content

Commit

Permalink
flow add apidiffconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfan100 committed Nov 29, 2023
1 parent e3e263f commit c392fb5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/src/views/datamanager/DataDetailHttpData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ export default {
this.editorCache.info = JSON.stringify({
id: val.id,
name: val.name,
rule: val.rule
rule: val.rule,
apiDiffConfig: val.apiDiffConfig
})
this.editorCache.req = JSON.stringify({
url: val.request.url,
Expand Down
1 change: 1 addition & 0 deletions lyrebird/mock/handlers/mock_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,5 @@ def handle(self, handler_context):
'group_id': activated_group['id'],
'mock_id': hit_data['id']
})
handler_context.flow['apiDiffConfig'] = hit_data.get('apiDiffConfig')
MockDataHelper.read_mock_data(handler_context)
2 changes: 1 addition & 1 deletion lyrebird/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
IVERSION = (2, 21, 2)
IVERSION = (2, 22, 0)
VERSION = ".".join(str(i) for i in IVERSION)
LYREBIRD = "Lyrebird " + VERSION

0 comments on commit c392fb5

Please sign in to comment.