Skip to main content
Doctorine reference
On this pageOverview

Your spec declares no servers

Without a servers list, generated clients cannot default a base URL.

spec.servers.missing

Category
API specification
Default severity
Warning
Applies to
API specification
Default outcome
Completed with warnings
Recommended action
Fix the source
Grouped by
Defect code

Why it matters

Without a servers list, generated clients cannot default a base URL.

How to fix it

  1. Add a servers entry to the spec, or configure environments in doctorine.sdk.yml.
Documentation menu