Skip to main content
Doctorine reference
On this pageOverview

Your spec declares no securitySchemes

SDK auth cannot be derived from the document, so generation falls back to a low-confidence bearer-token convention proposal.

spec.auth.security-schemes-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

SDK auth cannot be derived from the document, so generation falls back to a low-confidence bearer-token convention proposal.

How to fix it

  1. Declare components.securitySchemes for the API’s real auth, or confirm the proposed bearer config in doctorine.sdk.yml.
Documentation menu