This pull request adds a new endpoint /timestamp that returns the current timestamp in ISO format. It includes the implementation of the endpoint in a new file timestamp.py under my_tiny_service/api/routers and updates the main API setup to include this new router. Additionally, a test case for this endpoint has been added to tests/test_api.py to ensure its correct functionality.
This pull request adds a new endpoint
/timestamp
that returns the current timestamp in ISO format. It includes the implementation of the endpoint in a new filetimestamp.py
undermy_tiny_service/api/routers
and updates the main API setup to include this new router. Additionally, a test case for this endpoint has been added totests/test_api.py
to ensure its correct functionality.