I am trying to use $ref parameters in my openapi yaml, however as soon as I insert a $ref entry no code is generated (the folder is but it contains no files) and no error is thrown.
I took the code from #24, so my minimum working example is:
openapi.yaml
openapi: "3.0.0"
paths:
/foo:
parameters:
- $ref: "#/components/parameters/MyParam"
components:
parameters:
MyParam:
name: foo
schema:
type: string
But the same happens with my actual openapi definition. As soon as I add a $ref parameter, no code is generated.
command:
fastapi-codegen -i openapi.yaml -o app
I am using fastapi-code-generator version 0.3.5
Can someone help? Thanks!
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too