question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find 'swaggerFileName' during generate

See original GitHub issue

I’m running version 3.1.3 of swagger-maven-plugin and I’m trying to set the filename using the swaggerFileName parameter. I get the following error message when running maven install:

[ERROR] Failed to execute goal com.github.kongchen:swagger-maven-plugin:3.1.3:generate (default) on project GridPackage-app: Unable to parse configuration of mojo com.github.kongchen:swagger-maven-plugin:3.1.3:generate for parameter swaggerFileName: Cannot find 'swaggerFileName' in class com.github.kongchen.swagger.docgen.mavenplugin.ApiSource -> [Help 1]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
whocommented, May 18, 2016

@danjo830 Try removing the swaggerFileName node from your pom.xml. The readme.md is currently reflecting the state of 3.1.4-SNAPSHOT, and swaggerFileName was added in 3.1.4-SNAPSHOT.

0reactions
hyp0th3rmi4commented, Mar 5, 2017

Sorry my bad, I found 3.1.4 in Maven Central.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Swagger Maven Plugin not generating parameters from ...
I ended up using this plugin instead, the documentation is a bit sparse but combing through the examples helps a lot.
Read more >
Failed to execute goal for swagger-maven-plugin
I am getting the following error when I try to add in the swagger plugin for ... for parameter attachSwaggerArtifact: Cannot find 'attachSwaggerArtifact'...
Read more >
Automatically generate RESTful API documentation in GoLang
This library uses the documentation generated by swag to help provide Swagger UI. Install template go get -u github.com/alecthomas/template.
Read more >
Documenting Go web APIs with Swag - LogRocket Blog
Here's a demo to get a feel of how Swagger works. Benefits of using Swagger in your next project include: Allowing you to...
Read more >
Setting Up Swagger Docs for Golang API - Martin Heinz
In the previous post - Building RESTful APIs in Golang - we created ... One thing that is missing though, is authentication for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found