fastapi[openapi.json]- swagger pagination issue - swagger

suddenly the fastapi documentation page messed up,
It looks like this:
I tried resetting the browser but seems it doesn't relate to the browser ,
as I tried accessing the pages from different clients and it looks the same.

I downgrade fastapi to 0.61.0 and it solved this,
for all later versions - same issue .

Related

Craftcms route is not working in local, but it's working on server

How are you?
Yesterday, I deployed craftcms project 2.9.2 on my local. But the route is not working for me.
For example, if I type as localhost in my browser(http://localhost), it's working but if I click any item on the home page(http://localhost/collection), it's not working, I'm facing Not Found page as default. This project is working on a cloud server.
I'm not sure why it's not working when routing.
Please help me.
Thanks!
It's possible something's misconfigured.
I'd start with the env looking for a base url that needs fixed.
I'd go to the site settings if you haven't got the base url in your env
Then I'd log in to craft and check the sections. If the paths have a full url baked in then you'll have issues.
I had a similar issue and it turned out my .env file had the dev server public paths set to = "http://localhost:9090", but they needed to be https.
Once I set them to "https://localhost:9090" the routing worked.

Rails app refreshing on localhost - event.returnValue is deprecated warning

My Rails app on localhost started randomly refreshing when using the 'back' browser arrow. Chrome(31.0.1650.48) console reads:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
I guess these issues are connected.
I also found this recent issue on jQuery bugtracker. Funny thing, but 10 hours ago everything was fine.
Anyone experiencing similar problems? What are the options?
EDIT: although I was browsing my app on localhost, I found out that a number of production websites are experiencing the same problem, showing the same console output, including 37signals
I believe this is largely due to the newest version of Chrome that you are using. I haven't found the exact details but it appears that Chrome has decided to deprecate this property which is currently used by jQuery.
Since it's just a deprecation, nothing will be broken yet, but it does mean that it will be removed in the future. Once jQuery fixes the issue you should probably try to update.
Edit: Sorry I missed the point - I would assume that the random refreshing is unrelated to the message you are seeing about event.returnValue
Check this link out Looks like the native js method 'event.returnValue' has been marked as deprecated in newer Chrome versions. http://bugs.jquery.com/ticket/14320

Pins on Pinterest link to 404 - yet link is valid

this is a really strange one.
I've set up a bunch of pins on Pinterest linking through to our services which all work fine. Then I decided to do the same on our blog articles (we use Wordpress), yet everytime I click the link (and I've done this on different computers) the link goes to a 404 page on our site. However the link is valid and if you right click the pin and open in new window it opens fine: pinterest.com/pin/105342078755648946
I have contacted Pinterest who are next to useless. I have also tried different browsers, different computers and different Pinterest accounts.
I can't see any weirdness in my htaccess files causing this so I'm a little stumped. Any suggestions?
I found this when I was searching for the same issue - so though it's an old question I thought I'd answer for anyone else who is searching!
My client was using a really old version of WordPress, when I upgraded to the latest version it fixed the issue. After a bit of digging it turns out you have to be on WordPress 1.5.2 and beyond in order to fix it - as they applied the fix in that update.

Deploying an app in private beta without any coding

I'm working on a Grails 2.0 app, deploying it on Heroku, with a launchpage on kickofflabs and a DNS on CloudFlare. I'm looking for a simple way to password-protect my app in private beta and give access to it only to a few selected people, all that without adding any code to my app.
Back when I used Cloudbees, it had a nice private mode to do just that. But I couldn't find any equivalent in Heroku, either natively or using an add-on. I also had a look at CloudFlare apps but no success there either.
Does anyone know any simple way to do that? It seems generic enough to me.
There's the Invitation Only plugin
Never used it myself though...
And not sure if it needs updating for 2.0 :-/
And I guess this needs some coding... So this answer basically doesn't answer your question... Sorry about that...
Can you not front it with Apache and use mod_jk to connect to your Tomcat with the Grails application. This way you can have .htaccess do the access control?

CodeIgniter URL

Sorry, but something weird is happening to me. I thought I should share.
Everything works fine in my CodeIgniter install doing local development, but I noticed that if I for example clicked on a link with the value of href being “controller/function” everything works fine. If I try to navigate to another page (essentially to another function inside my controller, say “controller/function1”, my CodeIgniter stacks the URL. The following is an example of what it does!
http://localhost/wayefoundation/index.php/mainpage/mainpage/programs
I was checking the community and only CodeIgniter 1.5.3 was mentioned to have some sort of bug even though I believe to check myself as well. What is happening to the URL above?
I figured it out. Sorry about the link, but I had to use site_url(). All the links were fine. I did not have a case of "accumulated links" in my address bar. So I did this for all my hrefs,
site_url("controller/method")

Resources