@varkes/odata-mock
TypeScript icon, indicating that this package has built-in type declarations

0.13.7 • Public • Published

OData Mock

npm version

The OData mock mocks the application APIs based on the OData specification.

Features

The OData mock brings you the following features:

  • Based on the n-odata package: The odata-mock application is based on the n-odata-server project, which is based on loopback.

  • Returns the OData specification as metadata: Call /odata/$metadata to see the OData edmx specification used in xml format.

Development

Make sure you have first executed make resolve from the project root!

To run the Odata mock locally with an empty configuration, use:

npm start

To run it locally with debug logs enabled and an example configuration from the test suite, use:

npm run start:dev

After the startup, you have access to:

  • odata API - http://localhost:10000/odata/
  • odata metadata - http://localhost:10000/odata/$metadata
  • rest API - http://localhost:10000/api/console

Readme

Keywords

none

Package Sidebar

Install

npm i @varkes/odata-mock

Weekly Downloads

1

Version

0.13.7

License

Apache-2.0

Unpacked Size

97.5 kB

Total Files

27

Last publish

Collaborators

  • kyma-bot
  • badrawi