SShortSingh.
Back to feed

How to organize a large OpenAPI spec: multi-file structure, $ref rules, and CI checks

0
·30 views

Every OpenAPI document starts as one clean file. Then it reaches forty operations and the file is 2,000 lines, then a hundred operations and pull requests conflict on every merge, then nobody edits it without a full afternoon of context. The standard advice is "split it with $ref," which is true and unhelpful — split how, along which boundaries, and what breaks in tooling when you do? This is the layout and rule set that survives 200+ operation APIs. Organize by artifact kind first, domain second.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Anthropic enforces rule to prevent AI model 'distillation' by third parties.

Anthropic has implemented a rule called 'preserved thinking' to prevent the extraction and reuse of its Claude AI's reasoning processes. This rule, which makes message history append-only for new API accounts, is a defense against other labs training their own models on Claude's outputs. The enforcement began for accounts created on or after August 31, 2026, and has required some developers to update their integrations. Anthropic states these anti-distillation measures have reduced harvested data by 90 to 99%.

0
ProgrammingDEV Community ·

Open-source AI tool TabuPulse launched for freelancers and micro-SaaS businesses

TabuPulse AI is a new open-source tool designed for freelancers and micro-SaaS founders. It uses the TabPFN-3.5 AI model to analyze tabular business data like invoices and customer metrics. The tool aims to predict cash flow delays and customer churn automatically. It provides actionable recommendations and can integrate with other AI agents via the Model Context Protocol. The project was submitted for the Hacktoberfest Open-Source AI Challenge and is available on GitHub under an MIT license.

0
ProgrammingDEV Community ·

Developer shares checklist to preserve keyboard focus after website redesigns

A developer explains that website redesigns often inadvertently break keyboard navigation by removing visual focus indicators. They assert this is a common issue stemming from CSS resets, component library changes, or new themes like dark mode. The author recommends a proactive six-point checklist to test and preserve accessibility before launching a redesigned site. They advise using the CSS selector :focus-visible to ensure focus rings are visible for keyboard users but not for mouse users. This practice is crucial for accessibility, supporting power users, screen reader users, and those with motor impairments.