System Design · Junior · Question 71 of 75

What is OpenAPI (Swagger) used for?

Explanation

Generating TypeScript types from the spec keeps the frontend in sync with the backend contract.

Further reading

Problem with a question

System Design · Junior · question 71

Test yourself

Take the System Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz