Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions contracts/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ tags:
description: Health checks, schema introspection, and system status
- name: jobs
description: Cross-cutting async job status polling
- name: external-apis
description: Integrations with external APIs (Weather, Zipcode)
- name: weather
description: Weather forecast lookup via external API
- name: zipcode
description: Address and postal code geocoding via external API

paths:
# ── Layer 1: Input ──────────────────────────────────────────────
Expand Down Expand Up @@ -102,7 +104,5 @@ paths:
# ── Layer 9: External APIs ─────────────────────────────────────
/api/v1/weather/forecast:
$ref: "path/weather.yaml#/forecast"
/api/v1/zipcode/postal-code:
$ref: "path/zipcode.yaml#/postal_code"
/api/v1/zipcode/location:
$ref: "path/zipcode.yaml#/location"
/api/v1/zipcode/lookup-address:
$ref: "path/zipcode.yaml#/lookup_address"
2 changes: 1 addition & 1 deletion contracts/path/weather.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ forecast:
Fetch hourly weather data for the given location and date range.
Coordinates must be provided as decimal degrees (e.g. `40.7128` for latitude, `-74.0060` for longitude).
tags:
- external-apis
- weather
parameters:
- name: latitude
in: query
Expand Down
2 changes: 1 addition & 1 deletion contracts/path/zipcode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ lookup_address:
place name, state, county, and country.
The list is ordered by relevance (most relevant first, up to 10 results).
tags:
- external-apis
- zipcode
parameters:
- name: address
in: query
Expand Down
Loading