Skip to content

Conversation

@platformsh-devrel
Copy link
Contributor

This PR updates the API Docs.

@github-actions
Copy link

Your Upsun Fixed environment has successfully deployed. 🚀

See the site:

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the API documentation specification to improve maintainability and consistency by extracting inline parameter definitions into reusable component references and adding detailed schema property definitions.

Changes:

  • Replaced inline parameter definitions with component references ($ref) for common parameters like pagination, filtering, and time ranges
  • Added explicit property definitions to previously generic object schemas (RegionProvider, RegionDataCenter, RegionEnvImpact, RegionCompliance)
  • Consolidated response definitions by creating reusable NoContent response component
  • Enhanced API response schemas with count property and additionalProperties: false constraints

Reviewed changes

Copilot reviewed 2 out of 6 changed files in this pull request and generated no comments.

File Description
shared/pages/openapispec-upsun.yaml Refactored parameter definitions to use component references, added schema property details, and improved response consistency
shared/pages/openapispec-upsun.json JSON equivalent of YAML changes with identical refactoring patterns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gilzow gilzow merged commit 307ae2d into main Jan 20, 2026
15 checks passed
@gilzow gilzow deleted the update-api-doc branch January 20, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants