mirror of https://github.com/langgenius/dify.git
use squid for ssrf
This commit is contained in:
parent
92fa87e729
commit
309875650d
|
|
@ -14,7 +14,7 @@ def test_parse_openapi_to_tool_bundle_operation_id(app):
|
|||
openapi = {
|
||||
"openapi": "3.0.0",
|
||||
"info": {"title": "Simple API", "version": "1.0.0"},
|
||||
"servers": [{"url": "https://api.example.com"}],
|
||||
"servers": [{"url": "http://localhost:3000"}],
|
||||
"paths": {
|
||||
"/": {
|
||||
"get": {
|
||||
|
|
@ -60,7 +60,7 @@ def test_parse_openapi_to_tool_bundle_properties_all_of(app):
|
|||
openapi = {
|
||||
"openapi": "3.0.0",
|
||||
"info": {"title": "Simple API", "version": "1.0.0"},
|
||||
"servers": [{"url": "https://api.example.com"}],
|
||||
"servers": [{"url": "http://localhost:3000"}],
|
||||
"paths": {
|
||||
"/api/resource": {
|
||||
"get": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue