mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
updated inflector templates
This commit is contained in:
parent
44e9b25dfd
commit
ed224d4c09
@ -2,8 +2,11 @@ controllerPackage: {{invokerPackage}}
|
||||
modelPackage: {{modelPackage}}
|
||||
swaggerUrl: ./src/main/swagger/swagger.yaml
|
||||
modelMappings:
|
||||
# to enable explicit mappings, use this syntax:
|
||||
DefinitionFromSwaggerSpecification: fully.qualified.path.to.Model
|
||||
{{#models}}{{#model}}{{classname}} : {{modelPackage}}.{{classname}}{{/model}}
|
||||
{{/models}}
|
||||
|
||||
entityProcessors:
|
||||
- json
|
||||
- xml
|
||||
|
@ -78,12 +78,21 @@
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-inflector</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<version>${swagger-inflector-version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-snapshots</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<properties>
|
||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||
<swagger-core-version>1.5.7</swagger-core-version>
|
||||
<swagger-inflector-version>1.0.4-SNAPSHOT</swagger-inflector-version>
|
||||
<jetty-version>9.2.9.v20150224</jetty-version>
|
||||
<logback-version>1.0.1</logback-version>
|
||||
<junit-version>4.8.2</junit-version>
|
||||
|
Loading…
Reference in New Issue
Block a user