API Reference PhoenixSpec v#0.1.1
View SourceModules
Automatically generate OpenAPI 3.1 specs from Phoenix JSON views and Ecto schemas.
Shared AST utilities for parsing Elixir source files.
Mix compiler that automatically regenerates OpenAPI specs when source files change.
Discovers response modules associated with controllers in a Phoenix application.
Generates an OpenAPI 3.1 specification from extracted view and schema information.
Shared defaults for generated PhoenixSpec output.
Extracts request body schemas from Phoenix controller actions.
Introspects Ecto schemas to extract field names, types, and associations.
Extracts HTTP response status codes from Phoenix controller actions.
Maps Ecto schema types to OpenAPI 3.1 schema objects.
Generates TypeScript type definitions from extracted view and schema information.
Extracts response shapes from Phoenix JSON view modules by analyzing their AST.
Mix Tasks
Generates an OpenAPI 3.1 specification from your Phoenix application.