Skip to content

Commit 01d4fc0

Browse files
authored
fix: escape quoted media type directives (oapi-codegen#2217)
* fix: escape quoted media type directives fixes oapi-codegen#1529 * squashme: expanded tests to cover iris, fiber & echo tests * squashme: added makefile to fiber test directory, fixing root level tests * squashme: actually fixed the generate issues with fiber tests * squashme: skip fiber test for go versions <1.24 * squashme: make actually uses the execute-if-go-124 function
1 parent b7ac5db commit 01d4fc0

File tree

21 files changed

+1826
-5
lines changed

21 files changed

+1826
-5
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# yaml-language-server: $schema=../../../../../configuration-schema.json
2+
package: issue1529
3+
generate:
4+
client: true
5+
models: true
6+
embedded-spec: true
7+
echo-server: true
8+
strict-server: true
9+
output: issue1529.gen.go
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package issue1529
2+
3+
//go:generate go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen --config=config.yaml spec.yaml

0 commit comments

Comments
 (0)