Skip to content

Your spec declares no securitySchemes

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.

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.