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)