You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2019/01/09 13:53:00 UTC

[jira] [Created] (GERONIMO-6679) Provide x-code-samples in geronimo-openapi

Romain Manni-Bucau created GERONIMO-6679:
--------------------------------------------

             Summary: Provide x-code-samples in geronimo-openapi
                 Key: GERONIMO-6679
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6679
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
            Reporter: Romain Manni-Bucau


It can be neat to provide this extension since it is integrated in some UI like ReDoc (https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-code-samples)
The high level idea is

1. to fire any OpenAPI object created (from our cdi extension) to enable customizations through a CDI observer we can use in our plugins
2. create a new module "geronimo-openapi-code-sample-extension", observer previous event and customize the OpenAPI object to add samples for each endpoint in supported languages (at least curl, java I guess but others can be neat)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)