Skip to content

Add string for gridpoints and fix ISO interval #798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
18 changes: 13 additions & 5 deletions assets/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2731,11 +2731,19 @@ components:
gridId:
type: string
gridX:
type: integer
minimum: 0
description: >
The X coordinate for the forecast grid zone. This value is a string for the /gridpoints/{wfo}/{x},{y} endpoint and a non-negative integer for the others.
This behavior may change and the gridpoints endpoint will conform to the integer value.
oneOf:
- integer
- string
gridY:
type: integer
minimum: 0
description: >
The Y coordinate for the forecast grid zone. This value is a string for the /gridpoints/{wfo}/{x},{y} endpoint and a non-negative integer for the others.
This behavior may change and the gridpoints endpoint will conform to the integer value.
oneOf:
- integer
- string
weather:
type: object
properties:
Expand Down Expand Up @@ -3070,7 +3078,7 @@ components:
3. Duration and end time

The string "NOW" can also be used in place of a start/end time.
oneOf:
anyOf:
-
type: string
pattern: ^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(Z|[+-]\d{2}:?\d{2}?)|NOW)\/(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(Z|[+-]\d{2}:?\d{2}?)|NOW)$
Expand Down