Skip to content

Enable experimental OPEN_API_3_1 support for schematesis; Update openapi.json look up logic#796

Merged
filippomc merged 11 commits intodevelopfrom
feature/enable-schemathesis-v3
Mar 18, 2025
Merged

Enable experimental OPEN_API_3_1 support for schematesis; Update openapi.json look up logic#796
filippomc merged 11 commits intodevelopfrom
feature/enable-schemathesis-v3

Conversation

@afonsobspinto
Copy link
Copy Markdown
Member

@afonsobspinto afonsobspinto commented Mar 13, 2025

Closes https://metacell.atlassian.net/browse/CH-178

Implemented solution

  • Enables experimental OPEN_API_3_1 support for schematesis;
  • Updates look up for openapi.json logic (tries local file then / and on failure /api)
  • Adds schemathesis hook to filter out unsafe path parameters

How to test this PR

✦ ❯ harness-test . -i {application} -a

Sanity checks:

  • The pull request is explicitly linked to the relevant issue(s)
  • The issue is well described: clearly states the problem and the general proposed solution(s)
  • In this PR it is explicitly stated how to test the current change
  • The labels in the issue set the scope and the type of issue (bug, feature, etc.)
  • The relevant components are indicated in the issue (if any)
  • All the automated test checks are passing
  • All the linked issues are included in one Sprint
  • All the linked issues are in the Review state
  • All the linked issues are assigned

Breaking changes (select one):

  • The present changes do not change the preexisting api in any way
  • This PR and the issue are tagged as a breaking-change and the migration procedure is well described above

Possible deployment updates issues (select one):

  • There is no reason why deployments based on CloudHarness may break after the current update
  • This PR and the issue are tagged as alert:deployment

Test coverage (select one):

  • Tests for the relevant cases are included in this pr
  • The changes included in this pr are out of the current test coverage scope

Documentation (select one):

  • The documentation has been updated to match the current changes
  • The changes included in this PR are out of the current documentation scope

@afonsobspinto afonsobspinto marked this pull request as ready for review March 13, 2025 23:34
@afonsobspinto afonsobspinto requested a review from filippomc March 13, 2025 23:34
@afonsobspinto
Copy link
Copy Markdown
Member Author

Thanks for the review @Stranger6667 👍

@filippomc filippomc merged commit 3f1c821 into develop Mar 18, 2025
8 checks passed
@filippomc filippomc deleted the feature/enable-schemathesis-v3 branch March 18, 2025 13:34
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.

3 participants