cURL
curl --request POST \ --url http://localhost:8080/api/v1/config/generate-schema \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "type": "json-schema", "name": "<string>", "sampleData": "<string>" } '
{ "filename": "<string>", "path": "<string>", "schema": "<string>" }
Uses AI to generate a JSON Schema (Draft 4) or W3C XSD from sample data. The schema is stored in MinIO.
Optional API key for authentication (enabled via application.yaml)
json-schema
xsd
Generated schema with filename and content