Endpoints tool window
The Endpoints tool window provides an aggregated view of both client and server APIs used in your project for HTTP and WebSocket protocols. You can also extend the view to all projects that are open in IntelliJ IDEA.
Icon | Action | Description |
---|---|---|
![]() | Show From Open Projects | Include endpoints defined in other open projects and highlight them with a yellow background. This may be helpful, for example, if you have server and client code in separate projects. |
![]() | Show From Libraries | Include endpoints defined in libraries and highlight them with a yellow background. |
![]() | Show Empty Groups | Include all available frameworks, modules, and projects even if there are no endpoints defined for them. |
![]() | Show Details | Open an extra pane with endpoint details: the corresponding class, method, and so on. |
![]() | Group By | Select how you want to group endpoints in the list.
|
![]() | Edit Remote OpenAPI Specifications | Add an external OpenAPI specification to include endpoints from this specification in the Endpoints tool window and highlight them with a yellow background. This also adds URLs defined in the specification to code completion. For more information, see Add a remote OpenAPI specification. |
![]() | Generate HTTP Request | Generate an HTTP request based on the selected endpoint in a scratch file named generated-requests.http, from which you can execute the request. For more information, see HTTP client. |
IntelliJ IDEA provides code completion for endpoint URLs that you write in your source code and in injected URL references. You can also navigate from the Endpoints tool window or from endpoint usages to the relevant endpoint declaration using the Go to Declaration action Ctrl+B or Ctrl+Click.