Exactera interview question

What is OpenAPI and Swagger? How do they work?