-
Notifications
You must be signed in to change notification settings - Fork 122
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
Open API / Swagger specification #52
Comments
Its a big task... Need to put all these methods in editor: https://docs.madelineproto.xyz/API_docs/methods/ I cant do it. But will gladly approve such pull request. |
Perhaps this can be somehow automated. May be need to parse *.json and *.tl files from https://github.com/danog/schemas and generate a swagger.yml based on it. I assume the documentation repository https://github.com/danog/MadelineProtoDocs is also generated automatically. But I have not yet figured out where the generator code is. One could take it as a basis. Do you have any information about this? |
Okay, I found https://github.com/danog/MadelineProto/tree/master/tools/build_docs In the near future I will look this and it may turn out on the basis of this to a proof of concept for swagger.yml generator |
You can contact madelineProto creator @danog for additional info. |
Seems like fun, I'll take a look tomorrow, if I finish the phpdoc generator, first))) |
The first step for xtrime-ru#52 I will add as far as possible
Hi! It would be very convenient to have a swagger file with a description of all requests and responses.
It would also automatically generate client libraries for any programming language.
https://editor.swagger.io/
The text was updated successfully, but these errors were encountered: