Open geekus opened 1 year ago
Hi, yes, I want to add it at generation time. I could do that. I already have a mutator, but I also have several specs that would need different headers, and I'd like to use the same mutator for all specs, and there are no options to add arguments per spec to the mutator which would be the ideal solution, like with transformers. 🤔 Although I realize they are two different things.
Thanks a lot for a great tool!
I'd like to add some config that adds a custom header to each spec verb/operation, or if this is not possible per API spec could suffice. Is either possible? Couldn't figure it out. Thought maybe this
requestOptions
(https://orval.dev/reference/configuration/output#requestoptions) could be used but it's not clear to me how to structure the object. Tried this but it did not seem to have any effect: