fix(oapi-codegen.yaml): add yaml schema url and fix issues according to schema
This commit is contained in:
parent
14e2ed90ac
commit
9d2e456150
1 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/deepmap/oapi-codegen/HEAD/configuration-schema.json
|
||||||
package: api
|
package: api
|
||||||
generate:
|
generate:
|
||||||
- types
|
models: true
|
||||||
- fiber
|
fiber-server: true
|
||||||
- spec
|
embedded-spec: true
|
||||||
output: ./internal/api/api.gen.go
|
output: ./internal/api/api.gen.go
|
||||||
|
|
|
||||||
Reference in a new issue