Summary
docs/openapi/viron-api.json defines EnvironmentDTO with properties environmentId, name, width, height. The actual DTO (src/main/java/preponderous/viron/dto/EnvironmentDto.java) has environmentId, name, creationDate — no width/height. The spec schema does not match the wire representation.
Evidence
EnvironmentDto.java: fields environmentId, name, creationDate.
docs/openapi/viron-api.json → components.schemas.EnvironmentDTO: {environmentId, name, width, height}.
Proposed fix
Update the spec's EnvironmentDTO schema to { environmentId: integer, name: string, creationDate: string }.
Notes
Found during #135 (entity-resource spec authoring). Out of scope for that PR (entity-only); filed for a spec-accuracy pass.
Filed by Claude on behalf of Daniel Stephenson.
Summary
docs/openapi/viron-api.jsondefinesEnvironmentDTOwith propertiesenvironmentId,name,width,height. The actual DTO (src/main/java/preponderous/viron/dto/EnvironmentDto.java) hasenvironmentId,name,creationDate— nowidth/height. The spec schema does not match the wire representation.Evidence
EnvironmentDto.java: fieldsenvironmentId,name,creationDate.docs/openapi/viron-api.json→components.schemas.EnvironmentDTO:{environmentId, name, width, height}.Proposed fix
Update the spec's
EnvironmentDTOschema to{ environmentId: integer, name: string, creationDate: string }.Notes
Found during #135 (entity-resource spec authoring). Out of scope for that PR (entity-only); filed for a spec-accuracy pass.
Filed by Claude on behalf of Daniel Stephenson.