Directory structures
This is the typical structure you would expect for a full-stack Astro OpenAPI project.
Some of these conventions are mandatory.
.
βββ public
β   β
β   βββ api
β       β
β       βββ openapi.json         # Auto-generated by `bundler`,
β                                # mandatory for `gui-*`,
βββ src                          # your 3rd parties toolsβ¦
    β
    βββ definitions
    β   β
    β   βββ NewPet.schema.yaml
    β   βββ Pet.schema.yaml
    β   βββ openapi.yaml         # Mandatory for `backend`
    β
    βββ services
    β   β
    β   βββ index.ts             # Mandatory for `backend`,
    β   β                        # index must exports `operations` object.
    β   βββ pets.ts
    β
    βββ types
        βββ openapi.d.ts         # Auto-generated by `typegen`,
                                 # mandatory for `client` and `backend`