What the file is
An API is a way for one program to ask another program to do something, such as “read the status” or “create a record.” An OpenAPI spec is a standard manual for that API. It is one file, in JSON or YAML. The file lists:- the base address the calls start from
- the actions, also called endpoints, such as “get the status”
- the inputs each action expects
- the outputs each action returns
paths. Notes you type in the Custom API dialog do not add or remove actions. The file does.
A file Tess accepts
The smallest file has four pieces. Words in the file are fixed. You do not translateopenapi, info, or paths.
openapi: 3.0.3says this is OpenAPI version 3. Tess accepts 3, or a version that starts with3.infois the name of the API. Tess requires this block.pathslists the actions. Tess requires at least one.getis the action. Tess also acceptsput,post,delete,patch,head,options, andtrace.
https://api.example.com. The file above only describes the /status action.
What Tess accepts
Swagger 2.0 is an older format. Tess refuses it with this message:
This file uses an older format (Swagger 2.0). Please send the OpenAPI 3 version, or ask whoever provides the API to update it.
Where to get the file
- Ask the team that owns the API, or the company that sells it. Say you need the OpenAPI 3 spec, as JSON or YAML.
- Open the service’s developer docs and search for OpenAPI, Swagger, or API spec.
- Try common addresses on that service, such as a link ending in
/openapi.jsonor/swagger.json. - Many API tools can export this file. The export button’s name depends on the tool. Ask the provider which export is OpenAPI 3.
How to see the version
Open the file in any text editor and read the first lines. OpenAPI 3 starts like this:"openapi": "3.0.3".
Swagger 2.0 starts like this:
swagger: "2.0", Tess will not take the file until it is converted.
Convert Swagger 2.0 to OpenAPI 3
Tess does not convert the file for you. Swagger Editor does. These labels are from the current Swagger Editor source.- Open editor.swagger.io.
- Open File, then Import File, and choose your Swagger 2.0 file. You can also paste the file into the editor.
- Open Edit, then Convert to OpenAPI 3.0.x. This item appears only when the editor is holding a Swagger 2.0 file. It is hidden for a file that is already OpenAPI 3.
- A dialog titled Convert to OpenAPI 3.0.x opens. It says the conversion uses the Swagger Converter API, that the editor contents are sent to that converter, and that the editor text is replaced by the result.
- After the text updates, check that the first line is
openapi:and a version starting with3. - Open File, then Save (as JSON) or Save (as YAML), and use that download in Custom API.
https://converter.swagger.io/api/convert. Do not use this path for a spec you cannot share outside your company. Ask your provider for an OpenAPI 3 file instead.
If there is no spec
Ask the provider for an OpenAPI 3 file. Tess cannot invent the action list. If that service already offers an MCP server, you do not need this file. Add the server with Custom MCP.When the file is refused
Back to the form: Custom API.

