Upgrading¶
When adopting a new Okatana OpenAPI file:
- replace
resources/openapi.yamlwith the authoritative new file; - run
mvn testand inspectEndpointCoverageTest; - diff request schemas, enums, statuses, and descriptions;
- add typed operations for new paths;
- update models only where new formal schemas exist;
- preserve omission/null behavior for PATCH fields;
- regenerate the endpoint matrix and OpenAPI contract reference;
- compile the example project;
- run
mkdocs build --strict; - update the SDK semantic version according to compatibility impact.
Avoid generating fields from undocumented observed responses and presenting them as contract guarantees. Use DynamicResource until the upstream schema is explicit.