Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 509dad4

Browse files
committed
improve test case, #66
1 parent 81c6342 commit 509dad4

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/testInt/resources/tests/javadoc/generated/api/Api.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ public interface Api {
2424
*
2525
* more
2626
*
27-
* @param foo this is a <em>parameter</em> description
27+
* @param fOO this is a <em>parameter</em> description
2828
* @return this is a <em>response</em> description
2929
*/
3030
@Mapping("/foo")
31-
Foo getFoo(@Parameter Foo foo);
31+
Foo getFoo(@Parameter Foo fOO);
3232

3333
}

src/testInt/resources/tests/javadoc/generated/model/Foo.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
public class Foo {
1212

1313
/** <em>property</em> description */
14-
@JsonProperty("foobar")
15-
private String foobar;
14+
@JsonProperty("foo-bar")
15+
private String fooBar;
1616

17-
public String getFoobar() {
18-
return foobar;
17+
public String getFooBar() {
18+
return fooBar;
1919
}
2020

21-
public void setFoobar(String foobar) {
22-
this.foobar = foobar;
21+
public void setFooBar(String fooBar) {
22+
this.fooBar = fooBar;
2323
}
2424

2525
}

src/testInt/resources/tests/javadoc/inputs/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ paths:
1919
more
2020
2121
parameters:
22-
- name: foo
22+
- name: f-o-o
2323
description: this is a *parameter* description
2424
example: this is an example
2525
in: query
@@ -41,7 +41,7 @@ components:
4141
this is the *Foo* schema description
4242
type: object
4343
properties:
44-
foobar:
44+
foo-bar:
4545
description: >
4646
*property* description
4747
type: string

0 commit comments

Comments
 (0)