Skip to content

Your spec declares no servers

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.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.