opyeb openapilab

openapilab · Guides

OpenAPI guides

Five articles on OpenAPI 3.1 structure, lint rules, $ref and circular references, mock and snippet generation, and the 3.1 migration.

Five articles: document structure, the lint rules, `$ref` and cycles, how mocks and snippets are generated, and moving from 3.0 to 3.1.

Basics and structure

BasicsThe shape of an OpenAPI 3.1 documentTop-level fields and the 3.0/3.1 split.LintWhat the linter watches: rules and common mistakesThree severity levels and the five most common errors.

Lint and references

ReferencesResolving $ref and living with circular referencesWhat $ref points at and where expansion stops.OutputHow Mock JSON and the curl and fetch snippets are builtValue priority and how snippets are assembled.

Snippets and migration

MigrationWhat to check when moving from 3.0 to 3.1What changes and in which order to check it.

Once you have read the explanation, check it against the tool.

Open the tool