OpenAPITools / OpenAPITools/openapi-generator
[java-client][google-api-client] authentication support?
Open
Nobody has claimed this yet.
Client: Java
Enhancement: Feature
Feature: Authentication
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
It seems to me that the google-api-client does not support authentication yet.
Tested with:
openapi: 3.0.1
info:
title: ping test
version: '1.0'
servers:
- url: 'http://localhost:8082/'
/ping/basicSecurity:
post:
operationId: pingBasicSec
responses:
'200':
description: OK
security:
- httpBasic: []
/ping/bearerSecurity:
post:
operationId: pingBearerSec
responses:
'200':
description: OK
security:
- bearerAuth: []
components:
securitySchemes:
httpBasic:
scheme: basic
type: http
bearerAuth:
scheme: bearer
bearerFormat: token
type: http
I have opened this for tracking.
If anyone is interested by the feature, please comment bellow.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Java client generation and authentication handling for the OpenAPI securitySchemes shown in the issue. Use the supplied basic and bearer security definitions as the first reproduction case. Done should be defined as generated clients supporting the tested authentication schemes, with coverage for both endpoints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100