Trying to generate a JSON spec for my API that I can import into Swagger. This module works great for entity bases services and also works for getting the basic spec generated for a non entity API using REST.
But my issue is generating the parameters and model for custom API in swagger. Is it possible to create a hook to customize the generation of the spec and have the ability to add your own parameter definitions and such ?
If not this might be a good feature to add.
attached is a screen shot of the section (from an existing order entity API) i'm trying to populate for a non entity API

| Comment | File | Size | Author |
|---|---|---|---|
| Selection_079.png | 25.49 KB | mdupree |
Comments
Comment #2
tedbowAre you using this REST I assume?
Comment #3
mdupree commented@tedbow Yes, were are using REST
Comment #4
mdupree commentedComment #5
mycw1991 commented@tedbow is there a follow up for this feature request?
Comment #6
richgerdesAt this point no work has been done to implement this by either @tedbow or I.
I just committed the patch for #2874877: Refactor OpenApiController. The patch makes the generator system plugin based, which will make the implementation of other api docs much similar.
If you are willing to make an attempt at a plugin for implementing the other rest endpoints, or extending the existing one to include them. I would be willing to review the patch and help get it merged
Comment #7
mycw1991 commented@richgerdes
Thank you for your work! I have not yet had the chance to go over the refactor patch.
I will be keep my eyes this module so that I might contribute.
Comment #8
HibaAbdulmonem commentedany updates on supporting rest views???