HN user

ndimares

19 karma

Email: nolan.dm.sullivan@gmail.com

Posts6
Comments35
View on HN

We literally just did something like this on Gram, not exactly what you're saying, but it's pretty close... https://www.speakeasy.com/blog/how-we-reduced-token-usage-by...

We have a platform (Gram) which is serverless MCP. Now users can launch MCP servers that only have 3 tools, search, describe, execute. Gram handles the tool routing, and execution (acting sort of like the sandbox). So the client only ever needs to know about those three tools. Everything else is abstracted.

Caveat that I work for Speakeasy, but there are a few tools you can look at:

- Speakeasy

- Fern

- Stainless

First SDK with Speakeasy is free and we also have discounts for companies who are just starting out.

Feel free to shoot me an email if we can be useful: nolan@spakeasy.com :)

Vitest vs. Jest 2 years ago

Hi, I work at Speakeasy. Thanks for this. I'll look into this and correct the post. Thanks :)

Hi all! we wrote this post a couple weeks ago. The TL;DR is that we recently built an API Key authorization flow that can integrate into any API provider's Gateway and makes it trivially easy for them to provide their users self-service API key management: https://speakeasyapi.dev/docs/product-reference/speakeasy-pl...

To get that working we first evaluated every commonly-used auth method before deciding on a fairly unique approach, Signed Tokens as API Keys, but with 1 Signing Key Per API key.

Happy to answer any questions people have about this novel approach, or anything API auth related. If anyone wants to try out the tool here's the sign up for the waitlist: https://speakeasyapi.dev/request-access/

I knew I was a distractible person, but I never realised the degree to which having the URL and tabs at the top of my browser was a drag on my productivity until I began using Arc. Now, I basically always keep Arc in focus mode and it has had a really positive impact on my concentration. There are definitely things about the browser that bother me, but this one benefit has been enough to make it my new default.

Hi I'm actually working on a guide for this exact topic. My basic thoughts are that there's currently no magic bullet solution and it depends primarily on your technical ability and resourcing:

-0 technical skills: notion or atlassian -pseudotechnical (github & markdown skill): gitbook, or readme -technical with resourcing constraints: docusaurus, or hugo or mkDocs. -technical w/o constraints: custom react site: Markdoc + Next.js or Gatsby

The company I'm at is currently technical w/ constraints. We use docusaurus and we use a plugin for autogenerating the openapi documentation: https://github.com/PaloAltoNetworks/docusaurus-openapi-docs

It works. The results are not spectacular, merely passable. We think in the near future we will build our own plugin for the community. If you ever want to char docs, get in touch!

There is a lot of activity in the space of SDK generators. If you have an OpenAPI schema, you should be able to find tooling that can get you 80% of the way there. Here's a small app our team put together a couple weeks ago that you might like: https://easysdk.xyz/

We've expanded support for Python and Go since we made this. If you're interested in testing out the multi-language version, let me know!

Some other solutions: -OpenAPI: http://github.com/openapitools/openapi-generator -(language specific) Go SDK: https://github.com/deepmap/oapi-codegen

Best of luck with finding a solution that works for your use case!

I really like https://getstream.io/ docs. For me, SDK support is important, as are examples and templates that I can play with & build off of. I also like the API usage dashboard that Stream supplies when you login. Which veers into the terriory of dev portal, but worth mentioning.

Also, in terms of tools for actually building documentation, I recommend looking at https://docusaurus.io/ for clean, customisable documentation.

I've never used any of the products, but there are some interesting developments in the "code visualisation" space, i.e. https://www.codesee.io/. My sense is that right now they're mainly targeting use case #1 that you mentioned, but I'm interested in whether they will grow to be useful for use case #3 which you mentioned.

The project I work on (speakeasyapi.dev) is more focused on the public API side for now, but we've looked at the microservice problem. We've come at it from the angle of providing an SDK which can track the traffic to a service. That way you can be aware of your services true surface area vs. what's documented.

Curious to hear other ways people are solving these problems.

Hey very cool blog post. Have you guys looked at adding client SDKs for your API? Also wondering if the go-swagger generated openAPI specs have any gaps or if it is sufficiently complete in your eyes.

Docusaurus 2.0 4 years ago

I think it depends on your end users. If you're building a product for devs, personally, I think it's worth investing in a great docs experience and more 'advanced' features. Docs are going to be one of your most used interfaces. But you should make sure that making docs 'pretty' isn't detracting from usability. If you're making internal docs, then ya, I agree with you, keep it dead simple.