Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Ole Lensmar
Added: Dec 2, 2020 10:02 AM
Views: 5
  1. curl -k -X POST "https://localhost/generator/api/generate" -H "accept: application/octet-stream" -H "Content-Type: application/json" -d "{\"lang\":\"ambassadorGenerator\",\"specURL\":\"https://petstore3.swagger.io/api/v3/openapi.json\",\"type\":\"CONFIG\",\"codegenVersion\":\"V3\",\"options\":{ \"additionalProperties\":{\"targetService\":\"petstore\"}}}"