-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bug where nullApi.java would be generated. Instead, generated D…
…efaultApi.java to match the default path /{pathParam} (#3821)
- Loading branch information
1 parent
2a2eefe
commit ec7f2a0
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
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
25 changes: 25 additions & 0 deletions
25
modules/openapi-generator/src/test/resources/3_0/issue_1347.yaml
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
openapi: 3.0.2 | ||
info: | ||
title: Name demo | ||
version: 1.0 | ||
paths: | ||
/{country}/document: | ||
get: | ||
summary: Get a document | ||
tags: | ||
- document | ||
operationId: getDocument | ||
parameters: | ||
- name: country | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
responses: | ||
"201": | ||
description: The document | ||
"500": | ||
description: Server error | ||
tags: | ||
- name: document | ||
description: Document tag |