Skip to content

Conversation

@bencap
Copy link
Collaborator

@bencap bencap commented Dec 23, 2025

This pull request enhances the OpenAPI documentation for the score set upload and patch endpoints by explicitly defining the multipart form data schema for file uploads and associated metadata. These changes improve API usability and clarity for clients interacting with these endpoints.

OpenAPI schema improvements for file upload endpoints:

  • Added detailed openapi_extra definitions to the create_score_set endpoint, specifying the multipart form data schema for required and optional files (scores_file, counts_file, score_columns_metadata, count_columns_metadata), including descriptions and data types.
  • Enhanced the upload_score_set_variant_data endpoint with an explicit multipart form schema in openapi_extra, including all updateable score set properties and optional file uploads, improving the OpenAPI documentation for clients.

@bencap bencap requested review from jstone-dev and sallybg December 23, 2025 19:13
@bencap bencap linked an issue Dec 23, 2025 that may be closed by this pull request
Base automatically changed from release-2025.5.1 to release-2025.6.0 January 14, 2026 17:38
@bencap bencap requested a review from davereinhart January 14, 2026 18:42
…ints by indicating required fields as property
Copy link
Collaborator

@davereinhart davereinhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I pushed a minor change to define multipart required fields properly.

@bencap bencap merged commit af9f3d1 into release-2025.6.0 Jan 14, 2026
6 checks passed
@bencap bencap deleted the docs/bencap/610/open-api-docs-for-score-set-metadata branch January 14, 2026 23:50
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.

Add custom OpenAPI documentation to routes with score metadata upload

3 participants