Comments (2)
I got the same issue, just download this example, change version of swagger plugin to newest one (3.1.6-SNAPSHOT) but after run mvn compile, the json is just:
{ "swagger" : "2.0", "info" : { "description" : "This is a sample for swagger-maven-plugin", "version" : "v1", "title" : "Swagger Maven Plugin Sample", "termsOfService" : "http://www.github.com/kongchen/swagger-maven-plugin", "contact" : { "name" : "Kong Chen", "url" : "http://kongch.com", "email" : "[email protected]" }, "license" : { "name" : "Apache 2.0", "url" : "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "host" : "petstore.swagger.wordnik.com", "basePath" : "/api", "schemes" : [ "http", "https" ] }
Does anyone help?
from swagger-maven-example.
Hi @HarshSama
You may need to try this #9
from swagger-maven-example.
Related Issues (20)
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project wallet-core: Compilation failure: Compilation failure: [ERROR] /Users/mac1/Documents/alex/pilot/Alex-Wallet/wallet-core/src/main/java/com/alex/wallet/core/impl/PromotionServiceImpl.java:[117,61] diamond operator is not supported in -source 1.6 HOT 2
- com.github.kongchen.swagger.sample.wordnik.util.ApiAuthorizationFilterImpl - no util package
- XmlAttribute is ignored
- Question: does the `attachSwaggerArtifact` not work anymore? HOT 1
- Cannot find 'supportSpringMvc' error while updating swagger version to 3.0.1 from 2.3.4
- I made a json file use swagger editor, is there any way to convert it to html?
- Problem with generated resource model definition for model with generic type
- Generate yaml in maven multi project
- reponse
- Cannot load Swagger extension: com.github.kongchen.swagger.docgen.spring.SpringSwaggerExtension
- "allowableValues" in "ApiModelProperty" are ignored / not visualized in html output
- Is @JsonView supported and honored in generated swagger?
- error NullPointerException on compile with version 3.1.8
- This plug-in cannot collect interface information
- a valid example, hope can help you guys HOT 1
- Override swagger:generate goal
- document.html - blank / 404
- Operations parameters are always named "body" in json documents HOT 1
- Apmoust empty swagger.json with swagger-maven-plugin-3.1.1-SNAPSHOT HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swagger-maven-example.