-
Notifications
You must be signed in to change notification settings - Fork 22
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
add ordering paramter to openApiPaginator #564
base: master
Are you sure you want to change the base?
Conversation
@MasaKni can you provide a description for this and also please respond to the many comments I've made in your other PR #563 before I close it out. It's enough of a pain in the ass being a maintainer, so respond to comments when I make them. I have a shit ton of fucking packages I maintain and this is fucking time consuming. |
I did resolve them... It just took me time because i am also working on other projects. |
@MasaKni take a look at that merge conflict. Once that is resolved I'll pull this branch down for testing. |
resolved |
@MasaKni I see this in Swagger when I pull in this branch. This doesn't appear to work. Are there additional instructions to follow? Maybe focus on getting this working in https://editor.swagger.io/ where it also looks like the screenshot below. Won't merge this as-is. |
it does look like this when you don't hit the try it out button |
adding the possibility to order by array of fields, current behaviour adds sorting in one param
'#/x-swagger-bake/components/parameters/paginatorSort
,this creates an array of objects with
![Screenshot 2025-02-07 at 10 53 29](https://private-user-images.githubusercontent.com/65139438/410838121-320a7223-fcb1-413a-be33-61b74797dc6c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjAyNjksIm5iZiI6MTczOTYxOTk2OSwicGF0aCI6Ii82NTEzOTQzOC80MTA4MzgxMjEtMzIwYTcyMjMtZmNiMS00MTNhLWJlMzMtNjFiNzQ3OTdkYzZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDExNDYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmY2RkYjFiMDgxZDI4OWYyZDhiNzMzM2U2NTIwOTAxMDM5NGYyNmVlNDlkNGQxZTVjMmJkMjMxM2ZmZjQ1YzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Sl5pHULk4OpHnrVpLBLCahamE2HIPl7EU291JiUwnuk)
{ "field": "name", "dir": "asc" }