SmartDocs For API Products

Not applicable

Hi,

Is there a way to create SmartDocs for API products too? I want to create documentation for API products describing all the APIs in a product as we do for APIs and its operations.

If yes then please provide some examples.

Solved Solved
0 4 369
1 ACCEPTED SOLUTION

you could use tags for API products, try this - this would generate docs for the product

https://github.com/mukundha/apigee-api-model-gener...

View solution in original post

4 REPLIES 4

you could use tags for API products, try this - this would generate docs for the product

https://github.com/mukundha/apigee-api-model-gener...

Thanks Mukundha Madhavan.

I will try this thing and connect with you in case of queries 🙂

Hi Mukundha Madhavan,

I tried with above code and followed the steps.

But while running updatedoc.js it is throwing error :

error occured {

[Error: write EPROTO]

code: 'EPROTO',

errno: 'EPROTO',

syscall: 'write',

address: undefined }

error occured

If you can upload a sample WADL for product smartdoc. Then that would also help.

Dear @Vipul Agarwal ,

Smart Docs doesn't have out of the box support for API Products. You can solve the same problem using multiple approaches.

  • User Drupal Content Types to create API Product documentation.
  • Provide links to same from SmartDocs Individual Pages to above created API Product documentation pages.
  • Provide links from SmartDocs listing page to API Product documentation pages.

It's possible and need little bit of Drupal Expertise.