API Reference AshOasKit v#0.2.1
View SourceModules
OpenAPI specification generator for Ash Framework domains.
Retrieves and normalizes configuration from AshJsonApi DSL.
Phoenix controller for serving OpenAPI specifications.
Shared path and route string utilities.
Builds OpenAPI $ref objects pointing to component schemas.
Generates JSON:API compliant error response schemas for OpenAPI specs.
Builds OpenAPI filter schemas for Ash resources.
Main OpenAPI specification generator.
OpenAPI Info object and server configuration builder.
OpenAPI paths and operations builder.
Shared functionality between OpenAPI 3.0 and 3.1 generators.
OpenAPI 3.0 spec generator.
OpenAPI 3.1 spec generator.
Generates schemas for the included array in JSON:API responses.
Generates OpenAPI schemas for file upload and multipart/form-data requests.
Core OpenAPI spec generator for Ash domains.
Behaviour for Phoenix controllers to provide OpenAPI metadata.
Extracts OpenAPI paths from Phoenix router for controllers
implementing the AshOaskit.OpenApiController behaviour.
Generates detailed JSON:API query parameter schemas for OpenAPI specs.
Generates OpenAPI path operations for JSON:API relationship routes.
Operation builders for relationship routes.
Response schema builders for relationship routes.
Generates JSON:API resource identifier schemas for OpenAPI specifications.
Generates JSON:API response links schemas for OpenAPI specifications.
Generates JSON:API response meta schemas for OpenAPI specifications.
Collects AshJsonApi routes for a domain, including resource-level routes.
Router macro for serving OpenAPI specs with minimal configuration.
Plug for serving OpenAPI specifications via the Router macro.
Accumulator-based schema builder for recursive type handling.
Embedded resource schema generation.
Property builders for attributes, calculations, and aggregates.
Relationship schema building for JSON:API responses.
Resource schema generation for JSON:API responses and inputs.
Version-aware nullable schema construction for OpenAPI 3.0 and 3.1.
Generates OpenAPI security schemes and requirements for API specifications.
Builds OpenAPI sort parameter schemas for Ash resources.
Runtime support and behaviour for spec modules defined with use AshOaskit.
Behaviour for customizing OpenAPI spec generation.
Default AshOaskit.SpecBuilder implementation.
Provides support for modifying OpenAPI specifications after generation.
Builds OpenAPI tags for organizing operations in the specification.
Maps Ash types to JSON Schema types for OpenAPI 3.0 and 3.1.
Mix Tasks
Generate OpenAPI specification files from Ash domains.
Installs AshOaskit into your project.