cURL
curl --request POST \ --url https://app.apigene.ai/api/spec_from_file/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form global_spec=false \ --form shared_security_info=false \ --form create_mcp=false
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Create spec from uploaded file.
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Successful Response