jeffhollan / LogicAppTemplateCreator

Script to convert Logic Apps into templates for deployment
MIT License
143 stars 74 forks source link

Swagger function action not supported #34

Open maakku opened 6 years ago

maakku commented 6 years ago

If function app has an api definition and logic app function uses it, there is a NullReferenceException in TemplateGenerator.cs: ((JObject)definition["actions"][action.Name]["inputs"]["function"]).Value("id")

There is no 'function' property in the action definition if using swagger definition in the function.

MLogdberg commented 6 years ago

Thanks for creating an issue about this, I'll look in to it.