News for hackers. Stuff that matters.

avolpe

Re: on Tuesday March 26, 2024 @09:03AM (#39827303)
You are right, for Spring Boot, the relatively new springdoc supports javadoc[1] as descriptions, which is better than the annotation.

[1] https://springdoc.org/#javadoc-support

Re: on Monday March 25, 2024 @08:29PM (#39822954)
For the happy path, the Java code works great, but a good open API spec also includes the following:

- examples, they are a pain to write in Java annotations.

- multiple responses, ok, invalid id, not found, etc.

- good descriptions, you can write descriptions in annotations (particularly post Java 14) but they are overly verbose.

- validations, you can use bean validation, but if you implement the logic in code it's not easy to add that to the generated spec.

See for example this from springfox https://github.com/springfox/springfox/blob/master/springfox...

It's overly verbose and the generated open API spec is not very good.

Re:Firefox 85 cracks down on supercookies on Tuesday January 26, 2021 @12:54PM (#25918983)
I think that they put the user information in the image using something like this[1].

[1]. https://github.com/subc/steganography

Re:Ask HN: Who wants to be hired? (April 2019) on Monday April 01, 2019 @04:17PM (#19547736)
Location: Asunción, Paraguay

Remote: Yes

Willing to relocate: Maybe

Technologies: Java (EE and spring), Javascript, Docker

Résumé/CV: https://www.volpe.com.py/cv, https://github.com/avolpe, https://www.volpe.com.py

Email: [email protected]