Skip to content

Upgrade to latest version of spectra - #7

Merged
andreashasse merged 5 commits into
mainfrom
upgrade_spectra
Jan 10, 2026
Merged

andreashasse merged 5 commits into
mainfrom
upgrade_spectra

Conversation

@andreashasse

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 upgrades the spectra dependency to version 0.2.0 and enhances the test suite with helper functions and additional test coverage for documentation endpoints.

Changes:

  • Upgraded spectra dependency from version 0.1.1 to 0.2.0
  • Added helper functions (url/2, http_get/1-2, http_post/3, http_put/3) to reduce code duplication in tests
  • Added test coverage for documentation endpoints (/swagger, /redoc, /api-docs)

Reviewed changes

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

File Description
rebar.config Updated spectra dependency version from 0.1.1 to 0.2.0
test/elli_openapi_integration_SUITE.erl Added helper functions for HTTP requests and URL building; refactored existing tests to use helpers; added three new test cases for documentation endpoints

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

@andreashasse
andreashasse merged commit 1160843 into main Jan 10, 2026
2 checks passed
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.

2 participants