Skip to content

Expo Index

SteffenBlake edited this page Sep 28, 2026 · 3 revisions

Expo guide

Expo checks model rules and reports each invalid property with a JSON Pointer. Most rules allow null; mark a value as required when the application must reject it.

Start with Validation with Expo for package installation and your first model.

Models and built-in rules

  • Validation models: generate validation, run it explicitly, and choose required values.
  • String rules: check length, whitespace, and built-in formats.
  • Value rules: compare against constants and reject undefined enum values.
  • Collections: constrain collection size and validate individual items.

Application rules

Validation output

ASP.NET Core integration

  • Expo validation: validate bound Partie requests and return HTTP failures.
  • Expo OpenAPI: publish constraints in generated API documents.

Clone this wiki locally