Skip to content

Commit 3626aaf

Browse files
jminiwing328
authored andcommitted
[asciidoctor] add missing tag for declared exception (#4630)
Fix Javadoc warning
1 parent e3dbd82 commit 3626aaf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/asciidoc/AsciidocSampleGeneratorTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public void testMarkupExistence() {
6464

6565
/**
6666
* ensure api-docs.json includes sample and spec files directory as attributes.
67+
* @throws Exception exception
6768
*/
6869
@Test
6970
public void testSampleAsciidocMarkupGenerationFromJsonWithAttributes() throws Exception {
@@ -75,6 +76,7 @@ public void testSampleAsciidocMarkupGenerationFromJsonWithAttributes() throws Ex
7576

7677
/**
7778
* ensure api-docs.json includes sample and spec files into markup.
79+
* @throws Exception exception
7880
*/
7981
@Test
8082
public void testSampleAsciidocMarkupGenerationFromJsonWithIncludes() throws Exception {
@@ -98,6 +100,7 @@ public void testSampleAsciidocMarkupGenerationFromJsonWithIncludes() throws Exce
98100

99101
/**
100102
* markup doc header content.
103+
* @throws Exception exception
101104
*/
102105
@Test
103106
public void testSampleAsciidocMarkupGenerationFromJsonWithContent() throws Exception {
@@ -108,6 +111,7 @@ public void testSampleAsciidocMarkupGenerationFromJsonWithContent() throws Excep
108111

109112
/**
110113
* fix: parameter name unchanged.
114+
* @throws Exception exception
111115
*/
112116
@Test
113117
public void testSampleAsciidocMarkupGenerationParameterNameUnchanged() throws Exception {
@@ -117,6 +121,7 @@ public void testSampleAsciidocMarkupGenerationParameterNameUnchanged() throws Ex
117121

118122
/**
119123
* added apikey info in access section.
124+
* @throws Exception exception
120125
*/
121126
@Test
122127
public void testSampleAsciidocMarkupGenerationAccessApiKey() throws Exception {
@@ -130,6 +135,7 @@ public void testSampleAsciidocMarkupGenerationAccessApiKey() throws Exception {
130135

131136
/**
132137
* no form params in this sample spec.
138+
* @throws Exception exception
133139
*/
134140
@Test
135141
public void testSampleAsciidocMarkupGenerationWithoutFormParameter() throws Exception {

0 commit comments

Comments
 (0)