Category Archives: tech
Pretty-print JSON with jq
cat posts.json | jq "." > better.json
In this post we’ll look at the data I started with and what the different bits of the command to do help. Continue reading
Open Standards for APIs
Lint APIs with Redocly CLI
Fun fact: I work at Redocly and had used the tool for years, but recently realised that I have a post about a different tool in the archives of my blog, but no Redocly post. So here’s the Lorna-recommended version of OpenAPI linting with Redocly CLI. Continue reading
API Description Pipelines
Checking Links in Docs-As-Code Projects
I really appreciate having the extra confidence and support of these types of tools, and having implemented them on multiple projects at this point, I thought I’d share my advice for anyone looking to do the same. Continue reading
Reviewdog filter settings with GitHub Actions
Short tech writing style guide for developers
API Linting Levels
Add OpenAI flags to OpenAPI descriptions
x-openai-isConsequential
that you can add to your OpenAPI description, to indicate which endpoints should not be called without a human confirmation step.
I’m not doing much with OpenAI right now, but I do plenty with OpenAPI and the question “how do I add this field to my existing API description?” is one that I can answer! What’s more, you can use the advice in this post to add other extensions or additions to your OpenAPI descriptions using Overlays, this advice isn’t OpenAI-specific, but it’s used in the examples. Continue reading