openapi-generator/samples/server/petstore/java-inflector/inflector.yaml
2016-04-15 17:55:40 +08:00

17 lines
487 B
YAML

controllerPackage: io.swagger.handler
modelPackage: io.swagger.model
swaggerUrl: ./src/main/swagger/swagger.yaml
modelMappings:
# to enable explicit mappings, use this syntax:
DefinitionFromSwaggerSpecification: fully.qualified.path.to.Model
ApiResponse : io.swagger.model.ApiResponse
Category : io.swagger.model.Category
Order : io.swagger.model.Order
Pet : io.swagger.model.Pet
Tag : io.swagger.model.Tag
User : io.swagger.model.User
entityProcessors:
- json
- xml
- yaml