You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(spec): patch v1.54 nullables and date-time format
Hand-fix v1.54-patched.yaml so generated client survives real
Docker API responses. Same class of fixes the v1.51 spec carries.
- Convert nullable: true to OpenAPI 3.1 `type: [orig, 'null']`
union. jane open-api-3-1 ignores nullable: true; only honors
the type-array form.
- Walk components.schemas and add 'null' to every non-required
scalar/array property. Skip type:object with $ref
additionalProperties (e.g. NetworkSettings.Networks) — making
those nullable triggers a jane codegen bug where
isOnlyNumericKeys short-circuits the denormalize loop.
- Mark HostConfig and PortMap nullable at schema level.
- Rename `format: date-time` to `format: dateTime`. jane parses
date-time as `Y-m-d\TH:i:sP` which fails on Docker's
nano-precision timestamps; the typo lets the field stay as a
plain string (matches v1.51 hand-fix).
`bin/docker-api docker:list -vv` now succeeds end-to-end against
a live socket. composer test 7/7 green.
0 commit comments