Accept-Header and Content-Type-Header in parameters of openapi.yaml are not allowed #625
Closed
3 tasks done
Labels
bug
Something isn't working
What happened?
Now my question (and probably the issue of the library): Is there a way to suppress these parameters in the openapi.yaml?
My environment:
php -v
): 8.2.0composer show laravel/framework
orcomposer show laravel/lumen-framework
): 10.1.4composer show knuckleswtf/scribe
): 4.16.0My Scribe config (from
php artisan scribe:config:diff
): ------ SAME AS DEFAULT CONFIG ------Additional infos:
![image](https://user-images.githubusercontent.com/39046617/221051929-9881bdb1-38ec-46eb-8401-7e63a21974ac.png)
Just to mention why this is a problem for me: I have to use swagger for displaying my documentation/api and with your library there are always two useless fields in the documentation in every request (as seen in the screenshot). And this two fields don't even do anything and are probably distracting from the real parameters.
The text was updated successfully, but these errors were encountered: