ash-project / ash_json_api

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

improvement: Filter for resources that have a json_api type defined #79

Closed skanderm closed 1 year ago

skanderm commented 1 year ago

Fixes a bug where included resources that don't have a json_api type show up in the top-level schema with a blank key.

{
  ...,
  "schemas": {
      "": {
        "additionalProperties": false,
        "description": "A \"Resource object\" representing a ", ...},
  ...
}