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.

@Api(value="...") not working

See original GitHub issue

Hi,

@Api(value="Location Rest Controller")
@Controller
public class LocationRestController 
{

for the above code i’m getting this json

 "host": "172.30.55.67:8080",
  "basePath": "/rest",
  "tags": [
    {
      "name": "location-rest-controller ",
      "description": "Location Rest Controller"
    },

Excpected :

 "host": "172.30.55.67:8080",
  "basePath": "/rest",
  "tags": [
    {
      "name": "Location Rest Controller ",
      "description": ""
    },

Why am i getting “name” separated by hyphen?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
punkmondaycommented, Jul 28, 2017

@dilipkrish i found solution, every @ApiOperation must add attr tags="brand" , it works for me

0reactions
RainThinkscommented, Feb 13, 2020

@Api(tags = “brand”) would do the trick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not getting the api returns value - Stack Overflow
1 Answer 1 · i tried by removing dataType: "JSON" but still i did not get api returns value. – sadasiva · <string...
Read more >
Troubleshoot API Calls - AppSheet Help - Google Support
Why isn't my API call working? · Open your app in the editor. · Go to Manage > Monitor and expand Audit History....
Read more >
Error Messages | Maps JavaScript API - Google Developers
The Maps JavaScript API returns both errors and warnings. An error indicates a severe issue which occurred while loading the Maps JavaScript API....
Read more >
Context - React
Context provides a way to share values like these between components without having to explicitly pass a prop through every level of the...
Read more >
API - esbuild
If needed, the working directory that esbuild uses can be set with the working ... In particular, esbuild is not designed to preserve...
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