latest--ogen.jsonschema
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/ogen/_shared/latest--ogen.jsonschema.json |
| Parent schema | ogen |
JSON Schema for ogen code generator configuration. See https://ogen.dev/docs/config.
Properties
Parser configuration options.
6 nested properties
Enables type inference for schemas. Schema parser will try to detect schema type by its properties.
Enables remote references resolving. See https://github.com/ogen-go/ogen/issues/385.
Maximum depth of schema generation.
Allowed HTTP Authorization schemes in a Security Scheme Object. If empty, the ones registered in https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml are used.
[
"basic",
"bearer",
"concealed",
"digest",
"dpop",
"gnap",
"hoba",
"mutual",
"negotiate",
"oauth",
"privatetoken",
"scram-sha-1",
"scram-sha-256",
"vapid"
]
Enables interpretation of cross-type schema constraints. When enabled, constraints like pattern on numbers or maximum on strings are allowed and interpreted during code generation.
Enables strict duplicate normalized path checks. When enabled, duplicate normalized paths are always rejected per strict OpenAPI interpretation. Otherwise, paths with different parameter names and different HTTP methods are allowed, and operations are disambiguated by path + params + method.
Generator configuration options.
6 nested properties
Generator features configuration.
3 nested properties
Features to enable. Applied after disable list, so entries here take priority.
[
"paths/client",
"paths/server",
"webhooks/client",
"webhooks/server",
"ogen/otel",
"ogen/unimplemented"
]
Features to disable. Applied before enable list, so entries in enable list take priority.
[]
Start from an empty feature set instead of default features before applying disable and enable lists.
Operation filtering configuration options.
2 nested properties
Regular expression to filter paths. If empty, all paths are accepted.
HTTP methods to keep. If empty, all methods are accepted.
[]
Functions that are not yet implemented and should be skipped during generation. "all" is a special list value that skips all not-implemented functions.
[]
Controls convenient error helper generation. See https://ogen.dev/docs/concepts/convenient_errors.
Maps exact content types to known encodings.
{}
Default encoding to use for wildcard content types (e.g. / or application/*) when the schema is not binary. If empty, wildcard content types are treated as unsupported.
Path to write the expanded OpenAPI spec file. If empty, the expanded spec is not written.