Skip to content

Use schemathesis in stapi-fastapi tests (maybe) #43

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

Closed
gadomski opened this issue Apr 2, 2025 · 1 comment
Closed

Use schemathesis in stapi-fastapi tests (maybe) #43

gadomski opened this issue Apr 2, 2025 · 1 comment
Assignees
Labels
[package] stapi-fastapi FastAPI server implementation

Comments

@gadomski
Copy link
Member

gadomski commented Apr 2, 2025

Right now pystapi-validator is using schemathesis to do API validation in a kinda hackey way (in my opinion). To me, it would make more sense to use schemathesis in the stapi-fastapi test suite. Let's try that out and see how it goes.

@gadomski
Copy link
Member Author

gadomski commented Apr 2, 2025

I'm going to close this as OBE, as we're planning on generating OpenAPI schema from stapi-fastapi (e.g. #45), so it feels kind of circular and useless to validate it against itself.

@gadomski gadomski closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[package] stapi-fastapi FastAPI server implementation
Projects
No open projects
Development

No branches or pull requests

2 participants