Skip to content

Add make target to update Quay API spec from upstream#50

Open
dpinte wants to merge 1 commit intomainfrom
document-quay-api-spec-generation
Open

Add make target to update Quay API spec from upstream#50
dpinte wants to merge 1 commit intomainfrom
document-quay-api-spec-generation

Conversation

@dpinte
Copy link
Member

@dpinte dpinte commented Jan 16, 2026

Summary

  • Add update-quay-api-spec Makefile target that automates fetching and converting the Quay API specification
  • Target fetches Swagger 2.0 spec from a Quay instance, converts to OpenAPI 3.0.1, and removes unused OAuth2 security definitions
  • Add documentation to README explaining the process and prerequisites

Closes #43

Test plan

  • Run make -n update-quay-api-spec to verify the target syntax
  • Run make update-quay-api-spec to test the full process (requires podman/docker)
  • Verify generated spec matches expected format
  • Run make generate-quay-api and go build . to ensure no regressions

🤖 Generated with Claude Code

Add `update-quay-api-spec` Makefile target that fetches the Swagger 2.0
spec from a Quay instance, converts it to OpenAPI 3.0.1 using
swagger-converter, and removes unused OAuth2 security definitions.

This documents and automates the previously undocumented process for
obtaining and updating code_generator/quay_api.json.

Closes #43

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

How is quay_api.json being obtained?

1 participant