ash-project / ash_json_api

The JSON:API extension for the Ash Framework
https://hexdocs.pm/ash_json_api
MIT License
55 stars 41 forks source link

Fix: avoid failing openapi generation for non existing resource actions #198

Closed davidebriani closed 4 weeks ago

davidebriani commented 4 weeks ago

AshJsonApi fails while generating the OpenApi schema for some resources when they don't have both create and update actions defined. This change avoid assuming that the actions are defined and let the generation work.

Fixes #197

Contributor checklist

zachdaniel commented 4 weeks ago

🚀 Thank you for your contribution! 🚀