Ash.Api.Dsl (ash v1.47.8) View Source
A small DSL for declaring APIs
Apis are the entrypoints for working with your resources.
Table of Contents
List the resources present in this API
resources do resource MyApp.User resource MyApp.Post resource MyApp.Comment end
A reference to a resource
:as- false A short name for the resource.
Can be used in calls to Api modules, e.g
:resource- Required. The module of the resource