Skip to content

PATCH: Fix OpenAPI Schema Reference#574

Merged
mrshll1001 merged 3 commits into
3.2from
PATCH-fix-openapi-schema-reference
Jan 16, 2026
Merged

PATCH: Fix OpenAPI Schema Reference#574
mrshll1001 merged 3 commits into
3.2from
PATCH-fix-openapi-schema-reference

Conversation

@mrshll1001
Copy link
Copy Markdown
Contributor

  • schema/docs: GET /service_at_locations/{id} return
  • docs: ran hsds_schema_tools docs-all

Description

This PATCH fixes a bug with the openapi.json file which incorrectly declared the return type of the API Endpoint GET /service_at_locations/{id}.

This was previously declared as being an instance of the (compiled) service.json schema, which is incorrect since there exists a compiled service_at_location.json schema.

This PR addresses this bug, and adds an entry to the changelog which reflects it. The entry in the changelog is pre-emptively hyperlinked to the release of HSDS which would result in this PATCH being merged.

Merge checklist

  • [*] Update the changelog

If you have edited any schema files:

  • [*] Run hsds_schema.py to update datapackage.json and example files

mrshll1001 and others added 3 commits January 7, 2026 09:49
Corrected the return type of `GET /service_at_locations/{id}` from
`compiled/service.json` to `compiled/service_at_location.json`

Added this to the changelog in the docs.
Ran the compilation step for the docs. Changes to `/schema/openapi.json`
resulted in changes to `docs/extras/openapi30.json`.
@mrshll1001
Copy link
Copy Markdown
Contributor Author

This PR will be merged on 2026-01-16 if there are no objections raised.

@mrshll1001 mrshll1001 merged commit 1821965 into 3.2 Jan 16, 2026
5 checks passed
@mrshll1001 mrshll1001 deleted the PATCH-fix-openapi-schema-reference branch January 16, 2026 08:49
@mrshll1001
Copy link
Copy Markdown
Contributor Author

No objections were raised :-)

This PR has been merged and I will now create a new PATCH-level release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant