-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to select multiple specific endpoints #703
Labels
Difficulty: Intermediate
Requires some experience
Priority: Medium
Planned for regular releases
Specification: OpenAPI
Specific to OpenAPI
Comments
Stranger6667
added
Priority: Medium
Planned for regular releases
Type: Enhancement
labels
Sep 4, 2020
Stranger6667
added
Hacktoberfest
Difficulty: Intermediate
Requires some experience
labels
Sep 14, 2020
Stranger6667
added a commit
that referenced
this issue
Aug 30, 2021
18 tasks
Stranger6667
added a commit
that referenced
this issue
Aug 30, 2021
Stranger6667
added a commit
that referenced
this issue
Aug 31, 2021
Stranger6667
added a commit
that referenced
this issue
Sep 28, 2021
Stranger6667
added a commit
that referenced
this issue
Sep 29, 2021
Stranger6667
added a commit
that referenced
this issue
Oct 2, 2021
Stranger6667
added a commit
that referenced
this issue
Oct 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Difficulty: Intermediate
Requires some experience
Priority: Medium
Planned for regular releases
Specification: OpenAPI
Specific to OpenAPI
Currently, we have two filters -
endpoint
andmethod
, but what if we want to test onlyGET /api/users
andPOST /api/orders
? It could be somehow done withmethod=["GET", "POST"]
andendpoint=["/api/users", "/api/orders"]
but it will also selectGET /api/orders
which we might not want.It would be nice if the
endpoint
option can accept a list of tuples, where each tuple is a pair of method and path, then it might be possible to select any specific endpoint for Open API.Implementation notes
BaseSchema.endpoint
to include such tuples.schemathesis.specs.openapi.filters
that will accept the full path, method, and endpoints in this formatshould_skip_endpoint
function might be a no-op for this new format. The reason for this complication is to avoid extra work of resolving methods and dispatching the "before_process_path" hook.The text was updated successfully, but these errors were encountered: