Skip to content

Generate per-operation auth descriptors with a precedence ladder #63

Description

@OmarAlJarrah

Problem

Auth requirements are per-operation; a two-boolean scheme doesn't generalise.

Proposed change

Generate one flag per security scheme plus a precedence ladder per operation. sdk-core's auth step consumes the descriptor + available credentials and throws a tailored "requires X" error. Keep core scheme-agnostic; per-cloud/OAuth specifics stay in adapters.

Acceptance

  • Per-operation auth descriptor
  • Core stays scheme-agnostic

Priority: medium · Effort: medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegenfuture KotlinPoet codegenenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions