Patent attributes
A system may include a mocking server and one or more tenants served by the mocking server. A tenant may test an application programming interface (API) by creating a mock implementation of the API using a mocking service provided by the mocking server. The mocking server may generate a mock implementation of the API based on an API specification and expose an endpoint of the mock implementation for the user to perform testing. The user may provide an identifier for an API specification to the mocking server. The mocking server may retrieve the API specification from a source, parse the API specification in memory to create a mock model of the API, and generate a mock implementation for the API from the mock model. The mocking server includes an authentication mechanism to ensure that users accessing the API specification or running a mock implementation of the API are authorized.