forked from oapi-codegen/oapi-codegen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support x-go-name for top level schemas
This fixes oapi-codegen#583. Add support for x-go-name to Schemas, Parameters, Responses, and RequestBodies. This means we also need to have spec-aware refPath resolution, so I refactored that a bit. The x-go-name is not post-processed and is assumed to be a valid Go identifier.
- Loading branch information
marcinromaszewicz
committed
May 21, 2022
1 parent
8e67052
commit f0d9841
Showing
9 changed files
with
236 additions
and
162 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ package: components | |
generate: | ||
- types | ||
- skip-prune | ||
- spec |
Oops, something went wrong.