Added
- An OpenAPI file generated from code updates the draft of an existing specification. Routebase matches endpoints by method and path and schemas and components by name, so IDs, history, folders and the links of tests, mock rules and monitors stay in place. A preview lists every change and marks the breaking ones, and a value edited in Routebase since the last push appears with both versions. You push with
routebase spec push,spec-pushin the GitHub Action,push_specover MCP or Update from file in the overview of a specification, which needs specs:write and specs:delete. - Routebase for ASP.NET Core writes the OpenAPI document on every build and pushes it into Routebase. The NuGet package
Routebase.AspNetCoreproduces the document as JSON and YAML for Microsoft.AspNetCore.OpenApi, Swashbuckle and NSwag on .NET 10 and .NET 11. A CI build on the default branch pushes into the draft of each linked specification and reports the rating and style guide findings as build warnings, while other branches show a preview. Connect build… in the context menu of a project or a specification walks you through the setup, with a build key in one click and a prompt for your coding agent. - Tests can call an API on
localhost, sent from your own device. Try It, single test cases, suite runs and scenarios send such a request through the browser tab or desktop window that started the run, while assertions and the run history stay in Routebase. Every new address needs one approval on the device, which Settings → Preferences → Local test targets revokes, and each result carries the badge Ran on this device. In the web app the local API has to allow the Routebase origin through CORS, which Routebase for ASP.NET Core does on its own in Development, while the desktop app sends without CORS. - A push with breaking changes waits for a decision. The card Breaking changes from code in Spec Settings sets whether such a push goes through, waits for a decision or waits for a decision in the app. A refused push writes nothing and links to a decision page that lists each breaking change with its reason. The page offers Accept and update the draft, Reject, the code has to change and Open a branch with a merge request, which leaves the draft as it is until the merge.
- Text written in Routebase survives an update from code. When a push meets a summary or description that was edited in Routebase, you keep the text in Routebase or replace it with the document, one value at a time or with Keep all. A kept value stays kept on later pushes from the app, the build, the CLI, the GitHub Action and MCP until you release it. The card Text edited in Routebase in the specification settings lists the kept values, and Keep text edited in Routebase keeps such edits on every push without asking.
- The first push into an empty specification sets up its mock server and smoke tests. Routebase creates the mock server with its rules, a smoke suite with one linked test per endpoint and a first run against the mock, each step only with the permissions of the caller. When a build key lacks those permissions, the overview of the specification shows Spec setup, and Set up now runs the remaining steps with yours.
- A push from code can target a major version line. For a specification that keeps 3.x next to 4.x, a push can name the major version and goes into the open draft of that line. A line without an open draft gets the next patch version of its latest release as a new draft.
routebase spec push --line, the Action inputline,lineonpush_specandLineonRoutebaseSpecLinkall take the line, and the connect page asks for it whenever a specification has more than one. - Documentation portals show an API in several major versions side by side. A second snapshot of the same specification with another major version turns both into version lines, which the portal serves under
/api/<api>/v3/and/api/<api>/v4/. A switcher in the header of the reference keeps you on the same endpoint where the other line has it, and earlier URLs redirect to the line they belonged to. Each line follows the publishes of its own major version, and the Doc Hub chooses per snapshot between the latest version of a line and a pinned version. - Each specification version can override the server URL and the base path. Spec Settings show the values of the specification as Default Base Path and Default Server URL, and the card This Version sets the overrides together with the URL the export will write. Tests, the mock server, new monitors, Try It and the portal use the base path of the version they work with.
- Smoke tests can be generated for any existing specification. Over REST and with the MCP tool
generate_smoke_tests_from_spec, Routebase creates one linked test for each endpoint without a test, and a second call adds only new endpoints. Path variables carry the name of their resource, such as{{orderId}}or{{userId}}, and required query parameters arrive with an example, a default or a variable. Refresh generated checks on a case or a suite replaces the generated assertions and leaves your own in place. - A test case can be skipped in suite runs. Skip in suite runs… in the menu of a test case takes an optional reason, and Run All, schedules, the CLI and MCP leave the case out while it stays linked to its endpoint. A run reports skipped cases without failing and JUnit lists them as
skipped, while running the case on its own or in Run Selected still sends it. The run history counts passed cases against executed ones and lists blocked, pending and skipped cases next to them. - Every published documentation portal answers as a read-only MCP server.
https://{portal}/mcpofferssearch_docsandget_pageover the published pages of the default version, without drafts or internal versions. Connect your agent in the page actions shows the endpoint with a configuration to copy for Claude Code, Cursor, VS Code and Codex. Agent access in the Features tab of the portal settings turns the endpoint off, and it stays off while the content signal for AI input disallows it. - Pull requests can preview documentation before it is published.
routebase docs push --previewbuilds a portal preview of the pushed version and prints its link and expiry. The GitHub Action commanddocs-pushwrites that link as a comment on the pull request and updates the same comment on later runs. Each preview has a link of its own, expires after the lifetime set under Preview links in the portal settings and stays out of search engines. - Portals can redirect old URLs. Redirects in the Advanced tab of the portal settings holds up to 200 rules from an old path or prefix to a page or an
httpsURL, and Import CSV reads them from a file. A rule answers only on paths the portal does not serve, so it never hides a page, and it takes effect without a rebuild. - Documentation pages take formulas and prompts for coding agents. The Math block renders LaTeX as MathML in the portal, so the page loads no script and no font for it. The Prompt block holds an instruction that readers copy into their coding agent, and it stays a fenced block in the Markdown pages and in
llms-full.txt. - Sections of a portal can share one header menu. Header Menu... on a section in the doc tree gives it a menu name, and sections with the same name appear in the portal header as one menu with a column per section. On mobile, the sidebar groups these sections under the same name.
- Every portal page gets a social card of its own. The card shows the page title, its section and the site title in the colors and the heading font of the portal. A manual Open Graph image in the portal settings still replaces the cards on every page.
- Postman environments can be imported. The variable import of an environment reads Postman environment exports next to
.envand JSON files, stores secret variables encrypted and names every variable it leaves out under Not imported. Postman and Insomnia collections show their format and folder count in the import preview, and Organize endpoints by tags starts switched on so their folders come over. - Routebase for ASP.NET Core fills in responses and suggests fixes in the editor. A source generator adds the responses of Minimal API handlers that return
Results.Ok,Results.NotFoundand similar to the document, so they appear with their schema. Where it cannot, the analyzersRBA0001andRBA0002offer Use TypedResults, Declare responses with Produces and Extract a record for the anonymous response. - The API reference of Routebase for ASP.NET Core opens your local API in Routebase. On
localhost, the menu Open in Routebase on the reference page under/routebaserates and lints the document, starts a mock server, publishes a docs portal or runs smoke tests against the local API. Routebase uploads the document only after you sign in, and each entry shows its result, such as the rating or the mock URL.
Improved
- Version comparison checks enum values of parameters and security requirements. A removed enum value and an added or removed security requirement count as breaking, so an endpoint that becomes public is flagged as well. Compare with Previous, the release wizard, the changelog and the push preview show these changes.
- Version comparison pairs a path that changes only its letter case. The entry shows the old and the new path and counts as one breaking change, because a client that calls the old path can receive a 404. A branch comparison classifies every path change in the same way.
- Branches can start from a version in review. Creating, merging and rebasing a branch work on draft and review versions, while published versions stay closed to branches.
- Monitors follow the changes of their endpoint. A breaking change in a draft puts the monitors of the endpoint into the review queue next to tests and mock rules. Deleting an endpoint in a draft sends the warning
monitor.endpoint_orphanedfor every monitor linked to it. - Derived artifacts shows what a removed endpoint leaves behind. Tests and mock rules of an endpoint that a push removed appear as needs review, and the sidebar badge counts them. Deleting the test case, the suite, the mock rule or the mock server closes the entry.
- A mock rule counts as stale only when its endpoint changed. Publishing a new version moves rules with an unchanged endpoint over to it, and the badge points to Sync from Spec for the others.
- API reference pages group parameters by where they go. Path, query, header and cookie parameters each get a section of their own, and the request body names its schema and its content type. Enum values also appear when the enum is a schema of its own, in the list view and in the table view.
- The designer shows numbers from .NET 10 documents as numbers. Microsoft.AspNetCore.OpenApi writes each number as a union of number and string with a digit pattern. The designer, the documentation and the examples show such a field as
integerornumberwith its format, and saving keeps the union as it was imported. - Imports accept boolean schemas from OpenAPI 3.1. A schema written as
trueorfalse, which the .NET schema exporter produces forobjectproperties, imports, validates and pushes like its equivalent schema. - Schema checks validate text responses as strings. A response in
text/csv,text/plain, YAML or another text format is checked as a string against its schema, and JSON responses are checked as before. - The designer offers
application/problem+jsonas a content type. Everyapplication/*+jsontype counts as JSON, so the editor shows its schema and its example. - The Test Runner names the variables a suite still needs. When the selected environment lacks a variable that the suite calls, or holds it without a value, the list above the cases names it. With projects:write, one click adds the missing keys to the environment and opens the variable sheet.
- Projects and specifications offer their ID in the context menu. Copy project ID and Copy spec ID copy the ID that Routebase for ASP.NET Core and
routebase spec pushask for. - One switch keeps every API reference of a portal on auto-sync. Keep API Reference in Sync in the Features tab of the portal settings turns on auto-sync for every embedded specification, also in published documentation versions.
Changed
Routebase.Cli3.0.0 stops a push with breaking changes and writes nothing. The command ends with exit code6, prints one line per breaking change with its reason and links the decision page.--accept-breakingaccepts the changes for a single run, and--dry-runends with6for the same file, so a pull request job checks the change before the merge. On GitHub Actions the command also writes a summary to the job, and the Actionv3installs 3.0.0 while@v2keeps the 2.x CLI.- The release wizard shows the number a version already carries. The second step states the number with a verdict on whether the changes fit it, and it warns without blocking when they call for a larger step. A version keeps the number it was created with.
- Comparisons start from the version below. Without a chosen source, the comparison, the release wizard and the changelog compare a version with the highest published or deprecated version below its number. Draft 3.0.1 is compared with 3.0.0 and draft 4.0.1 with 4.0.0, also while both lines are open.
info.versionfollows the version number. The export and the publish snapshot write the number of the version intoinfo.version, and the file name of an export uses it as well. Snapshots that were frozen earlier stay as they are.- Webhooks report work on a branch when it is merged. Edits on a branch send no
endpoint.*,schema.*orspec.draft_changedevents, and the merge sends each of them once with the ID of the row on main. Accepted pushes and merges also sendschema.created,schema.updatedandschema.deletedfor each schema they write, which reaches webhooks and notifications. - The breaking-change badge of a merge request checks parameters and security. A removed enum value of a parameter, a new required parameter, a removed parameter and a changed security requirement count as breaking. Under the default merge policy, such a merge request needs the approval of an admin.
- The mock server picks the specification of a request by its base path. In a project with several specifications, a request that carries the base path of one of them uses the versioning strategy and the rules of that specification. A bare major version such as
/v3/resolves to the latest published or deprecated 3.x version. - The version segment of a base path follows the version. With URL path versioning, a base path
/v3becomes/v4for version 4.0.0 in the export, in tests, in the portal, in monitors and in Try It. A base path without a version segment stays as it is. - A documentation version holds one snapshot per major version of a specification. A second snapshot with the same major version answers with
409 LINE_ALREADY_IN_DOCS, and a version chosen by hand turns auto-sync off for its snapshot. - Two style guide rules ask GET and error responses to describe their body.
get-response-must-describe-bodyanderror-response-must-describe-bodywarn about JSON responses without a schema, and the Design facet of the rating counts them as separate checks. Ratings can drop after this release without a change to the specification. routebase-mcp2.0.0 connects through the Routebase server only. The option--connection-stringofinitis removed, and the wizard asks for the host and the region.routebase-mcp licensesprints the licenses of the bundled components.