From 053bc2ae3c95fc02440c4c1b0047b184a57a833e Mon Sep 17 00:00:00 2001 From: Thomas Faller Date: Mon, 6 Jun 2022 17:10:31 +0200 Subject: [PATCH] Update README config example to use the new schema --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5cc41ccd4..73b7d568c 100644 --- a/README.md +++ b/README.md @@ -589,8 +589,9 @@ output: externalref.gen.go package: externalref generate: - - types - - skip-prune + models: true +output-options: + skip-prune: true import-mapping: ./packageA/spec.yaml: github.com/deepmap/oapi-codegen/internal/test/externalref/packageA ./packageB/spec.yaml: github.com/deepmap/oapi-codegen/internal/test/externalref/packageB