This is a Next.js project designed for testing OpenAPI documentation generation based on simple types. The application provides a clean interface to interact with API endpoints and view their documentation.
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
The home page provides links to test the available API endpoints:
/api/openapi- View the generated OpenAPI documentation/api/hello- Test the Hello API endpoint
This application includes the following API endpoints for testing:
A simple Hello World API endpoint that demonstrates basic API functionality.
Serves the OpenAPI documentation for all available endpoints, allowing you to explore the API schema and test endpoints directly.
Additional test endpoint for API functionality validation.