Skip to content

Align OpenAPI/Swagger Type for time.Duration (pkg/auth/remote/config.go) #4353

@Sanskarzz

Description

@Sanskarzz

Bug description

Currently, the Timeout field in pkg/auth/remote/config.go uses swaggertype:"string" example:"5m". This representation causes discrepancies in the generated OpenAPI spec compared to other time.Duration fields in the project that are represented as primitive,integer.

This issue aims to align the swaggertype tag for better consistency across the codebase.

Proposed Changes

  • Update the Timeout field in pkg/auth/remote/config.go to use swaggertype:"primitive,integer".
  • Regenerate the swagger documentation using task docs.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions