Skip to content

(WIP) Support for providing of parameters at path level and overriding them…#71

Closed
portnov wants to merge 1 commit intoHaskell-OpenAPI-Code-Generator:masterfrom
portnov:pathitem_parameters
Closed

(WIP) Support for providing of parameters at path level and overriding them…#71
portnov wants to merge 1 commit intoHaskell-OpenAPI-Code-Generator:masterfrom
portnov:pathitem_parameters

Conversation

@portnov
Copy link
Copy Markdown

@portnov portnov commented Feb 6, 2022

… at operation level.

This should fix #17.

@portnov portnov changed the title Support for providing of parameters at path level and overriding them… (WIP) Support for providing of parameters at path level and overriding them… Feb 6, 2022
Copy link
Copy Markdown
Member

@joel-bach joel-bach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your PR, I would definitely like to merge it!
Could you regenerate the golden files (see https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator#development) and maybe also check if the example code has changed?
At least the golden part is needed to get CI passing.

@portnov
Copy link
Copy Markdown
Author

portnov commented Feb 8, 2022

Yes, thanks to tests I already see one bug (due to use of Data.Map parameters can be incorrectly reordered). I intend to fix tests this week.

@joel-bach
Copy link
Copy Markdown
Member

I assume this PR will not be completed, so I'll close it. Feel free to reopen it if you have updates.

@joel-bach joel-bach closed this Nov 8, 2025
robinp pushed a commit to robinp/Haskell-OpenAPI-Client-Code-Generator that referenced this pull request Feb 1, 2026
…or#71

Original PR: Haskell-OpenAPI-Code-Generator#71

Taken over as-is, with minor cleanup and following some renames that
happened in the meantime.

Golden changes seems benign, but order changes due to Map use. Will
clean those up and regen goldens, plus add some test case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support parameters on Path Item level

2 participants