Skip to content

🔥 feat: Add OpenAPI middleware #8437

🔥 feat: Add OpenAPI middleware

🔥 feat: Add OpenAPI middleware #8437

Triggered via pull request September 19, 2025 01:30
Status Failure
Total duration 1m 27s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: middleware/openapi/openapi.go#L43
fieldalignment: struct with 96 pointer bytes could be 80 (govet)
lint: middleware/openapi/openapi.go#L36
error returned from external package is unwrapped: sig: func encoding/json.Marshal(v any) ([]byte, error) (wrapcheck)
lint: middleware/openapi/config.go#L129
fieldalignment: struct with 32 pointer bytes could be 16 (govet)
lint: middleware/openapi/config.go#L123
fieldalignment: struct with 24 pointer bytes could be 16 (govet)
lint: middleware/openapi/config.go#L109
fieldalignment: struct with 64 pointer bytes could be 48 (govet)
lint: middleware/openapi/config.go#L91
var-naming: struct field Id should be ID (revive)
lint: middleware/openapi/config.go#L90
fieldalignment: struct with 152 pointer bytes could be 128 (govet)
lint: middleware/openapi/config.go#L8
fieldalignment: struct with 96 pointer bytes could be 88 (govet)
lint: group_test.go#L36
encoded-compare: use require.JSONEq (testifylint)
lint: app.go#L884
flag-parameter: parameter 'require' seems to be a control flag, avoid control coupling (revive)