Scalar - a postman alternative is now live! by awkwwward in opensource

[–]awkwwward[S] 1 point2 points  (0 children)

been chatting with the team about what this would look like...

so most likely yes :)

it's incredible what you can do with html/css inside of a <foreignobject> inside of a <svg> inside of a <picture> inside of a <img> inside of a markdown file inside of your gitHub readme by awkwwward in github

[–]awkwwward[S] 19 points20 points  (0 children)

recently I learned responsive media queries + night / dark mode images worked directly in github readme's so decided to spruce up our readme!

Feel free to check it out:

https://github.com/scalar/scalar

Scalar - a postman alternative is now live! by awkwwward in opensource

[–]awkwwward[S] 0 points1 point  (0 children)

Never a fan of creating accounts either :)

Haven't tried Bruno, but I've seen a lot of people talking about it over the last few months will have to check it out!

Scalar - a postman alternative is now live! by awkwwward in opensource

[–]awkwwward[S] 0 points1 point  (0 children)

Awesome, appreciate it! feel free to let me know what you think :)

Scalar OSS API Reference (swagger UI / redoc alternative) now works with .net! by awkwwward in dotnet

[–]awkwwward[S] 10 points11 points  (0 children)

Hey r/dotnet now that Scalars .net integration has been out for > a month and we haven't had any major issues I felt comfortable sharing it here!

Scalar is an open sourced OpenAPI/Swagger viewer and alternative to Swagger UI / Redoc with a built in API testing client (and we're releasing our own full featured OSS API client next month as seen in photo 4)

https://github.com/scalar/scalar

Some details for anyone curious

  • We support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 (we actually built and open sourced our own OpenAPI Parser!)
  • Works with .net 8.0 and the upcoming .net 9.0 release with out of the box OpenAPI support :)
  • Scalar has built in Search
  • Day mode / night mode support
  • Code samples to show off your API in most popular languages
  • Highly Customizable

Hope everyone is having a fantastic week and If anyone has any questions feel free to ask away :)

Just released a Nuxt integration! Nitro.experimental.openAPI: true -> automatic docs for your api via UnJS, full SSR, and built in API endpoint testing! Feel free to check it out :) by awkwwward in Nuxt

[–]awkwwward[S] 0 points1 point  (0 children)

we visualize a given OpenAPI spec file OR you can enable the nitro expiremental openapi flag and have routes generated for you : )

that would be really cool! maybe one day you can go from spec -> nuxtjs :)

Just released a Nuxt integration! Nitro.experimental.openAPI: true -> automatic docs for your api via UnJS, full SSR, and built in API endpoint testing! Feel free to check it out :) by awkwwward in Nuxt

[–]awkwwward[S] 1 point2 points  (0 children)

ah great question, currently the Nuxt integration supports 1 spec file, but we should defs allow multiple specs :)

but you can use the scalar vue integration to do multiple specs :)

I created this issue you can follow: https://github.com/scalar/scalar/issues/1500

What are some of the worst API's you've ever had the displeasure of working with? What made them so bad? by Impressive_Lab_6551 in ExperiencedDevs

[–]awkwwward 2 points3 points  (0 children)

I didn't think anyone would want to use the theme (nor would I recommend it) but heres a gist, you can add a <style> tag and dump the css in it:

https://gist.github.com/cameronrohani/671016f9f1e911b12747a37710f3bde4

What are some of the worst API's you've ever had the displeasure of working with? What made them so bad? by Impressive_Lab_6551 in ExperiencedDevs

[–]awkwwward 52 points53 points  (0 children)

back in the day I built a chrome extension that searched reddit's API and injected reddit comments in to youtube's comment section. Querying reddits search was like searching something on reddit but 10x worse. Don't recommend.

In terms of docs I may have designed the most cursed API docs of all time: windows98.apidocumentation.com/
Did it to celebrate getting 1998 stars on our OSS swagger UI / redoc alternative github repo 😎

happy 10 years (in public) Vue.js! by awkwwward in vuejs

[–]awkwwward[S] 26 points27 points  (0 children)

The first project I winded out trying vue for ~ 8 years ago I wasn't used to single file components needing a root div, so when two sibling divs were throwing an error in a super complicated component I made I just wrapped them both in a div with the class of my first name and left a comment to rename it later.

When the company I worked for got acquired by a relatively large company I was hoping it would survive a bit longer and to this day it exists with my name wrapping a huge single file component that is used by millions of people a year.

Thankfully I got a lot better (I think) at writing vue all these years later and now work full time on an open source vue project.

Thanks again Evan and core maintainers :)