-
Notifications
You must be signed in to change notification settings - Fork 163
[Components] API Documentation #733
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
Comments
I like this idea, it should not be too hard. What would be the usage in MDC from your point of view @themodernpk ? |
I imagine like:
|
I think it could be simpler: ::api-docs
url: /users
languages: [curl, php, nuxt]
methods: [get,post]
params:
hello: string
:: But first, does your API has a Swagger or has an Open API specification? |
The code can vary from language to language, eg: https://drive.google.com/file/d/1nUbbVLkz96dIWJsBFBctsOm9WQBB9WcM/view Hence, each tab (language) can have a different code (SDK) to call the same API. In your example, I am not sure how it will handle the scenario described in the video. |
Feel free to look at https://stripe.com/docs/api/products/create documentation |
Hi Nuxt Team,
I wanted to suggest an API documentation component, similar to:
https://drive.google.com/file/d/1RVZ-UyC5MFtvdTvthWayD1KQgNF29PJi/view
It should have:
It will be very helpful.
Thanks
The text was updated successfully, but these errors were encountered: