Explore the PlugApp implementation structure
masterThe PlugApp example is organized into three main components to demonstrate how open_api_spex integrates with a Plug-based API:
- API Specification:
lib/plug_app/api_spec.exdefines the outline of the OpenAPI specification. - Schemas:
lib/plug_app/schemas.excontains the modules used for defining request and response schemas. - Routing:
lib/plug_app/router.excontains the Plug router that handles incoming requests.