drone/internal/api
Johannes Batzill f655c2fae3 Add Standalone API to Harness Router (#40)
To simplify UI code we are going to expose both Harness API and Standalone API (restricted to harness embedded functionalities) when running in harness mode.

Furthermore, this PR adds a middleware that allows us to reuse standalone Handlers for Harness API for operations that don't require any request/response manipulation.
2022-10-19 18:35:40 -07:00
..
auth [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
controller Add Standalone API to Harness Router (#40) 2022-10-19 18:35:40 -07:00
handler Add Standalone API to Harness Router (#40) 2022-10-19 18:35:40 -07:00
middleware [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
openapi Add Standalone API to Harness Router (#40) 2022-10-19 18:35:40 -07:00
render [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
request Add Standalone API to Harness Router (#40) 2022-10-19 18:35:40 -07:00
usererror [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00
api.go [MAINT] golangci-lint config changed (#31) 2022-10-13 14:39:15 +02:00