(Feat): Initial Commit
Some checks failed
Build & Test / build-test (push) Has been cancelled
Build & Test / swagger-codegen-cli (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled

This commit is contained in:
2026-07-03 19:41:31 +05:30
commit 7e940c83a7
461 changed files with 45002 additions and 0 deletions

37
api/config/main.yml Normal file
View File

@@ -0,0 +1,37 @@
# This is our base swagger file and the primary mixin target.
# Everything in definitions|paths/*.yml will be mixed through
# and finally flattened into the actual swagger.yml in this dir.
consumes:
- application/json
produces:
- application/json
swagger: "2.0"
info:
title: allaboutapps.dev/aw/go-starter
version: 0.1.0
description: API documentation
paths: {}
securityDefinitions:
Bearer:
type: apiKey
name: Authorization
in: header
description: |-
Access token for application access, **must** include "Bearer " prefix.
Example: `Bearer b4a94a42-3ea2-4af3-9699-8bcbfee6e6d2`
x-keyPrefix: "Bearer "
Management:
type: apiKey
in: query
description: Management secret, used for monitoring and infrastructure related calls
name: mgmt-secret
definitions:
# Any definitions that are not yet used within paths/*.yml are automatically removed from the resulting swagger.yml.
# You may reference some definitions that you *always* want to be included here.
# --
# Always include orderDir so we can test binding it to db queries directly.
orderDir:
type: string
enum:
- asc
- desc