swagger-api / swagger-api/swagger-codegen

[Swift] add support for authentications from swagger spec

Open
#2,493 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Swift Enhancement: Feature help wanted Issue: Workaround available
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Swagger spec does provide the ability to specify the authentication mechanism to be used by a particular API. It seems that Swift generation ignores that part.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Swift generator's handling of authentication definitions in the Swagger/OpenAPI input. Determine how generated Swift clients should represent the specified authentication mechanism, then verify the generated output with an appropriate generator test; done means the authentication configuration is honored.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, swift
Domain
api, authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.