forked from loafle/openapi-generator-original
[java] fix javadoc configuration (#3302)
* [java] fix javadoc configuration * [java-pkmst-microservice] fix generated javadoc
This commit is contained in:
parent
3f9e374c8d
commit
3943d1cc9d
@ -12,6 +12,7 @@ if [ "$NODE_INDEX" = "1" ]; then
|
|||||||
#cp CI/pom.xml.circleci pom.xml
|
#cp CI/pom.xml.circleci pom.xml
|
||||||
java -version
|
java -version
|
||||||
mvn --quiet verify -Psamples.circleci
|
mvn --quiet verify -Psamples.circleci
|
||||||
|
mvn --quiet javadoc:javadoc -Psamples.circleci
|
||||||
|
|
||||||
# generate all petstore samples (client, servers, doc)
|
# generate all petstore samples (client, servers, doc)
|
||||||
./bin/run-all-petstore
|
./bin/run-all-petstore
|
||||||
|
@ -161,3 +161,7 @@ dependencies {
|
|||||||
{{/java8}}
|
{{/java8}}
|
||||||
testCompile "junit:junit:$junit_version"
|
testCompile "junit:junit:$junit_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
options.tags = [ "http.response.details:a:Http Response Details" ]
|
||||||
|
}
|
||||||
|
@ -170,17 +170,17 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
|
||||||
<tags>
|
|
||||||
<tag>
|
|
||||||
<name>http.response.details</name>
|
|
||||||
<placement>a</placement>
|
|
||||||
<head>Http Response Details:</head>
|
|
||||||
</tag>
|
|
||||||
</tags>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<tags>
|
||||||
|
<tag>
|
||||||
|
<name>http.response.details</name>
|
||||||
|
<placement>a</placement>
|
||||||
|
<head>Http Response Details:</head>
|
||||||
|
</tag>
|
||||||
|
</tags>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -143,3 +143,7 @@ dependencies {
|
|||||||
{{/threetenbp}}
|
{{/threetenbp}}
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
options.tags = [ "http.response.details:a:Http Response Details" ]
|
||||||
|
}
|
||||||
|
@ -149,17 +149,17 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
|
||||||
<tags>
|
|
||||||
<tag>
|
|
||||||
<name>http.response.details</name>
|
|
||||||
<placement>a</placement>
|
|
||||||
<head>Http Response Details:</head>
|
|
||||||
</tag>
|
|
||||||
</tags>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<tags>
|
||||||
|
<tag>
|
||||||
|
<name>http.response.details</name>
|
||||||
|
<placement>a</placement>
|
||||||
|
<head>Http Response Details:</head>
|
||||||
|
</tag>
|
||||||
|
</tags>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -87,7 +87,7 @@ public class AppConfig extends WebMvcConfigurerAdapter {
|
|||||||
* .exposedHeaders("header1", "header2")
|
* .exposedHeaders("header1", "header2")
|
||||||
* .allowCredentials(false).maxAge(3600);
|
* .allowCredentials(false).maxAge(3600);
|
||||||
*
|
*
|
||||||
* @return
|
* @return a new WebMvcConfigurer instance
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
public WebMvcConfigurer corsConfigurer() {
|
public WebMvcConfigurer corsConfigurer() {
|
||||||
|
@ -18,7 +18,7 @@ import org.springframework.security.oauth2.provider.request.DefaultOAuth2Request
|
|||||||
import org.springframework.security.oauth2.provider.token.TokenStore;
|
import org.springframework.security.oauth2.provider.token.TokenStore;
|
||||||
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;
|
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;
|
||||||
/**
|
/**
|
||||||
* Provides a convenient base class for creating a {@link WebSecurityConfigurer}
|
* Provides a convenient base class for creating a WebSecurityConfigurer
|
||||||
* instance. The implementation allows customization by overriding methods.
|
* instance. The implementation allows customization by overriding methods.
|
||||||
*
|
*
|
||||||
* @see EnableWebSecurity
|
* @see EnableWebSecurity
|
||||||
|
@ -10,7 +10,7 @@ import org.springframework.http.HttpMethod;
|
|||||||
/**
|
/**
|
||||||
* Configurer class for <code>@EnableResourceServer</code> classes. This class adjust the access
|
* Configurer class for <code>@EnableResourceServer</code> classes. This class adjust the access
|
||||||
* rules and paths that are protected by OAuth2 security. If more than one configures the same property, then the last
|
* rules and paths that are protected by OAuth2 security. If more than one configures the same property, then the last
|
||||||
* one wins. The configurers are sorted by {@link Order} before being applied.
|
* one wins. The configurers are sorted by Order before being applied.
|
||||||
*
|
*
|
||||||
* @author pkmst
|
* @author pkmst
|
||||||
*
|
*
|
||||||
|
@ -151,17 +151,17 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
|
||||||
<tags>
|
|
||||||
<tag>
|
|
||||||
<name>http.response.details</name>
|
|
||||||
<placement>a</placement>
|
|
||||||
<head>Http Response Details:</head>
|
|
||||||
</tag>
|
|
||||||
</tags>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<tags>
|
||||||
|
<tag>
|
||||||
|
<name>http.response.details</name>
|
||||||
|
<placement>a</placement>
|
||||||
|
<head>Http Response Details:</head>
|
||||||
|
</tag>
|
||||||
|
</tags>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -112,3 +112,7 @@ dependencies {
|
|||||||
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
|
||||||
testCompile "junit:junit:$junit_version"
|
testCompile "junit:junit:$junit_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
options.tags = [ "http.response.details:a:Http Response Details" ]
|
||||||
|
}
|
||||||
|
@ -151,17 +151,17 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
|
||||||
<tags>
|
|
||||||
<tag>
|
|
||||||
<name>http.response.details</name>
|
|
||||||
<placement>a</placement>
|
|
||||||
<head>Http Response Details:</head>
|
|
||||||
</tag>
|
|
||||||
</tags>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<tags>
|
||||||
|
<tag>
|
||||||
|
<name>http.response.details</name>
|
||||||
|
<placement>a</placement>
|
||||||
|
<head>Http Response Details:</head>
|
||||||
|
</tag>
|
||||||
|
</tags>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -114,3 +114,7 @@ dependencies {
|
|||||||
compile "com.brsanthu:migbase64:2.2"
|
compile "com.brsanthu:migbase64:2.2"
|
||||||
testCompile "junit:junit:$junit_version"
|
testCompile "junit:junit:$junit_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
options.tags = [ "http.response.details:a:Http Response Details" ]
|
||||||
|
}
|
||||||
|
@ -151,17 +151,17 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
|
||||||
<tags>
|
|
||||||
<tag>
|
|
||||||
<name>http.response.details</name>
|
|
||||||
<placement>a</placement>
|
|
||||||
<head>Http Response Details:</head>
|
|
||||||
</tag>
|
|
||||||
</tags>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<tags>
|
||||||
|
<tag>
|
||||||
|
<name>http.response.details</name>
|
||||||
|
<placement>a</placement>
|
||||||
|
<head>Http Response Details:</head>
|
||||||
|
</tag>
|
||||||
|
</tags>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -108,3 +108,7 @@ dependencies {
|
|||||||
compile 'org.threeten:threetenbp:1.3.5'
|
compile 'org.threeten:threetenbp:1.3.5'
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
options.tags = [ "http.response.details:a:Http Response Details" ]
|
||||||
|
}
|
||||||
|
@ -142,17 +142,17 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
|
||||||
<tags>
|
|
||||||
<tag>
|
|
||||||
<name>http.response.details</name>
|
|
||||||
<placement>a</placement>
|
|
||||||
<head>Http Response Details:</head>
|
|
||||||
</tag>
|
|
||||||
</tags>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<tags>
|
||||||
|
<tag>
|
||||||
|
<name>http.response.details</name>
|
||||||
|
<placement>a</placement>
|
||||||
|
<head>Http Response Details:</head>
|
||||||
|
</tag>
|
||||||
|
</tags>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -108,3 +108,7 @@ dependencies {
|
|||||||
compile 'org.threeten:threetenbp:1.3.5'
|
compile 'org.threeten:threetenbp:1.3.5'
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
javadoc {
|
||||||
|
options.tags = [ "http.response.details:a:Http Response Details" ]
|
||||||
|
}
|
||||||
|
@ -142,17 +142,17 @@
|
|||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
|
||||||
<tags>
|
|
||||||
<tag>
|
|
||||||
<name>http.response.details</name>
|
|
||||||
<placement>a</placement>
|
|
||||||
<head>Http Response Details:</head>
|
|
||||||
</tag>
|
|
||||||
</tags>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<tags>
|
||||||
|
<tag>
|
||||||
|
<name>http.response.details</name>
|
||||||
|
<placement>a</placement>
|
||||||
|
<head>Http Response Details:</head>
|
||||||
|
</tag>
|
||||||
|
</tags>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -20,7 +20,7 @@ public class AppConfig extends WebMvcConfigurerAdapter {
|
|||||||
* .exposedHeaders("header1", "header2")
|
* .exposedHeaders("header1", "header2")
|
||||||
* .allowCredentials(false).maxAge(3600);
|
* .allowCredentials(false).maxAge(3600);
|
||||||
*
|
*
|
||||||
* @return
|
* @return a new WebMvcConfigurer instance
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
public WebMvcConfigurer corsConfigurer() {
|
public WebMvcConfigurer corsConfigurer() {
|
||||||
|
@ -18,7 +18,7 @@ import org.springframework.security.oauth2.provider.request.DefaultOAuth2Request
|
|||||||
import org.springframework.security.oauth2.provider.token.TokenStore;
|
import org.springframework.security.oauth2.provider.token.TokenStore;
|
||||||
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;
|
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;
|
||||||
/**
|
/**
|
||||||
* Provides a convenient base class for creating a {@link WebSecurityConfigurer}
|
* Provides a convenient base class for creating a WebSecurityConfigurer
|
||||||
* instance. The implementation allows customization by overriding methods.
|
* instance. The implementation allows customization by overriding methods.
|
||||||
*
|
*
|
||||||
* @see EnableWebSecurity
|
* @see EnableWebSecurity
|
||||||
|
@ -10,7 +10,7 @@ import org.springframework.http.HttpMethod;
|
|||||||
/**
|
/**
|
||||||
* Configurer class for <code>@EnableResourceServer</code> classes. This class adjust the access
|
* Configurer class for <code>@EnableResourceServer</code> classes. This class adjust the access
|
||||||
* rules and paths that are protected by OAuth2 security. If more than one configures the same property, then the last
|
* rules and paths that are protected by OAuth2 security. If more than one configures the same property, then the last
|
||||||
* one wins. The configurers are sorted by {@link Order} before being applied.
|
* one wins. The configurers are sorted by Order before being applied.
|
||||||
*
|
*
|
||||||
* @author pkmst
|
* @author pkmst
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user