We all have tips and tricks that makes the difference on day to day use. These are ours.
Generate a self-signed certificate
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout self.key -out self.crt
Side note: -days 3650
keeps your certificate valid for 10 years.
Generate an ssh key, the right way
This key format is just far more efficient than the default one (currently RSA).
ssh-keygen -t ed25519
Side note: default file will be ~/.ssh/id_ed25519
instead of ~/.ssh/id_rsa
.
Validate OpenAPI file easily
- Install
redocly
https://redocly.com/ - Run
redocly lint