Skip to content

Smoke Test Finding F3: Response Parser Must Handle items Envelope (Not Just FeatureCollection) #36

Closed

Description

@Sam-Bolling

Smoke Test Finding F3: Response Parser Must Handle items Envelope (Not Just FeatureCollection)\n\n### Completed in e1e9d5c\n\nImplemented parseCollectionResponse<T> in src/ogc-api/csapi/formats/response.ts that normalizes both GeoJSON FeatureCollection (features key) and OpenSensorHub-style items envelope into a unified CollectionResponse<T> shape.\n\nDeliverables:\n- CollectionResponse<T> interface with items, links, pagination metadata\n- Handles FeatureCollection.features and items[] envelopes\n- Extracts optional numberMatched, numberReturned, timeStamp\n- 18 tests across 5 describe blocks (all pass)\n- Re-exported from formats/index.ts barrel file"

Activity

  1. added 2 commits that reference this issue on Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions