Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
0 answers
84 views

I'm building a HATEOAS implementation in ASP.NET Core using a LinkCollectionWrapper<T> class that wraps a collection of entities and stores links. My classes look like this: public class ...
0 votes
1 answer
97 views

Should all HATEOAS links of the data-transfer object (DTO) be placed on the root level? Or should they be coupled with the individual keys as sub-objects? For example: Option 1: separate links { &...
1 vote
1 answer
50 views

Currently We have a Spring Hateoas (HAL) implementation in the backend and manually handle the communication with our angular client which is working fine. I started to look for libs (seems like no ...
0 votes
0 answers
60 views

I have a Web API controller that inherits from ControllerBase for invoices. It contains these endpoint definitions: [HttpGet] [Route("{id:guid}")] public async Task<ActionResult<...
kbd's user avatar
  • 4,539
1 vote
0 answers
23 views

I am working through the Amazon Junior Dev Certificate on Coursera and finishing up the course on Spring Boot APIs. The current lab I am working on is requiring me to write unit tests for a ...
1 vote
1 answer
66 views

I have this Junit test with is using hateoas 1.0: @Test public void processUserExceptionThrown() { when(userService.processAccount(request, account)) .thenThrow(new RuntimeException()); try { ...
1 vote
1 answer
576 views

Has anyone built a RESTful API with HATEOAS (Level 3 maturity) in NestJS? Are there any libraries or tools to help with this? If implementing it manually, would you create a specific DTO (Data ...
Doku's user avatar
  • 626
0 votes
1 answer
146 views

As we can se on json response, there's a property named 'files' where has no properties and no options, I don't know how to proceed in this case because it is another class nested in ...
1 vote
1 answer
61 views

I use spring-data-rest in a project and it generates hundreds of endpoints, but whenever I create an endpoint manually I struggle to make all those links to all the entities, is there an easy way to ...
1 vote
0 answers
949 views

In my ASP.NET Core MVC project, I have a Bootstrap 5.3 modal whose contents are loaded by hx-get. The contents loaded in the modal are the ff.: <form hx-put="/Edit/BasicInfo" hx-target=&...
2 votes
1 answer
536 views

I have a problem understanding something. I would like to implement HATEOAS and move to level 3 of a REST API. For now, I am using Spring HATEOAS, which is not very complicated, and it generates ...
0 votes
1 answer
114 views

I created a Spring boot 3 with webflux application, on top of that I added opanapi and contract first with swagger, I activated also HATEOAS in openapi because as model are generated on install with ...
0 votes
1 answer
38 views

Simply put, imagine a particular resource can be served using different Media Types (e.g. application/vnd.com.example.resource-v1+json and application/vnd.com.example.resource-v2+json). My question is,...
0 votes
1 answer
48 views

For eg: I have response returned as follows from a GET service. I want to evaluate URLs: URL2.com and URL7.com further in the same process and store the result. What would be a good approach to do ...
0 votes
1 answer
36 views

Per the JavaScript Traverson HAL documentation For embedded arrays you can additionally use the meta selector $all, which operates on embedded documents: If you pass ht:post[$all] to the follow ...

15 30 50 per page
1
2 3 4 5
...
45

AltStyle によって変換されたページ (->オリジナル) /