Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Change mock output to json; Enable additional properties in api client
Tomas Valentafc5aa06e7af8
diff --git a/api-service/Makefile b/api-service/Makefileindex 7d44e1a72..af2b9c9db 100644--- a/api-service/Makefile+++ b/api-service/Makefile@@ -5,7 +5,7 @@ generate-playground-client:-g python-nextgen \-o ./ \--additional-properties=generateSourceCodeOnly=true \- --additional-properties=disallowAdditionalPropertiesIfNotPresent=true \+ --additional-properties=disallowAdditionalPropertiesIfNotPresent=false \--additional-properties=packageName=playground_client \--additional-properties=floatStrictType=false \--additional-properties=allowStringInDateTimeParameters=truediff --git a/api-service/playground/src/data/mockController.ts b/api-service/playground/src/data/mockController.tsindex b923b9dd5..c0a535e36 100644--- a/api-service/playground/src/data/mockController.ts+++ b/api-service/playground/src/data/mockController.ts@@ -25,7 +25,7 @@ export class MockController extends Controller {const data = mock({files: files.map(f => [f.name, f.content]),- output: 'string',+ output: 'json',interfaces: [targetInterface],})