We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue has been migrated from #13147.
Tracking issue for https://github.com/matrix-org/synapse/milestone/9
List files which contain rest endpoints as follows:
As with matrix-org/synapse#12651 (comment), we should concentrate on finding something which provides good error messages first, and good type information second. I think Pydantic is the best choice; I've had a go with it in https://github.com/matrix-org/synapse/commits/dmr/oidc-config-pydantic for validating some of our config. The rest endpoint payloads should be considerably simpler to validate.
$ rg -l --case-sensitive "def .*(POST|PUT|DELETE|GET).*\(" synapse | sort | sed -e 's/^/- [ ] /'
To generate todo lists for each individual file, use the following write-only program:
sed -n -e 's/.*class \(.*\)(.*Servlet):.*/- [ ] \1/p' -e 's/.*def on_\(.*\)(.*/ - \1/p' synapse/rest/client/devices.py
synapse/rest/client/filter.py
synapse/rest/client/keys.py
The text was updated successfully, but these errors were encountered:
width=0
height=0
No branches or pull requests
This issue has been migrated from #13147.
Tracking issue for https://github.com/matrix-org/synapse/milestone/9
List files which contain rest endpoints as follows:
As with matrix-org/synapse#12651 (comment), we should concentrate on finding something which provides good error messages first, and good type information second. I think Pydantic is the best choice; I've had a go with it in https://github.com/matrix-org/synapse/commits/dmr/oidc-config-pydantic for validating some of our config. The rest endpoint payloads should be considerably simpler to validate.
To generate todo lists for each individual file, use the following write-only program:
app
federation
http
metrics
rest/admin
rest/client
synapse/rest/client/filter.py
#14265synapse/rest/client/keys.py
#14266rest/key
rest/media
rest/synapse/client
rest miscellaneous
The text was updated successfully, but these errors were encountered: