-
Notifications
You must be signed in to change notification settings - Fork 827
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
Allow custom key usage in "documentation" (for example x-logo) #1710
Comments
Indeed, As pointed by the error you provided, we should update NelmioApiDocBundle/OpenApiPhp/Util.php Lines 372 to 379 in a4c4ffc
x- .
|
Note: it's possible to do nelmio_api_doc:
documentation:
x:
logo:
url: 'https://....png'
altText: Petstore logo
... I don't know what you prefer, in any case it would be good to document it :) |
I'm not fund of using |
Fixed in #2230 |
It's currently not possible to use a custom key (
x-...
), it can be useful for some frontends, for example Redoc usesx-logo
.Example:
The text was updated successfully, but these errors were encountered: