This is the documentation for my first Swagger API specifications. The API provides endpoints for managing students and teachers.
The API can be used in Swagger UI at:
https://petstore.swagger.io/?url=https://raw.githubusercontent.com/AndyPendragon/first-swagger-specs/main/openapi.yaml
The /students
endpoint allows you to interact with student resources.
Retrieve a list of all students.
Add a new student to the system.
The /teachers
endpoint allows you to interact with teacher resources.
Retrieve a list of all teachers.
Add a new teacher to the system.
You can use tools like Swagger UI or Postman to interact with the API endpoints and see the responses.
https://petstore.swagger.io/?url=https://raw.githubusercontent.com/AndyPendragon/first-swagger-specs/main/openapi.yaml#/default/get_students
POST https://petstore.swagger.io/?url=https://raw.githubusercontent.com/AndyPendragon/first-swagger-specs/main/openapi.yaml#/default/post_students
{
"id": "1",
"name": "Rakoto",
"birthdate": "2000-01-01"
}