Qore RestSchemaDataProvider Module Reference 2.3
Loading...
Searching...
No Matches

Introduction to the RestSchemaDataProvider Module

The RestSchemaDataProvider module provides a dataproviderintro "data provider" API for REST schemas including both Swagger 2.0 and OpenAPI 3.0 schemas.

The RestSchemaDataProvider class allows for introspecting REST schemas, while the RestSchemaRequestDataProvider class supports the dataproviderintro "data provider" request-reply API for communication with REST servers.

REST schema paths can be introspected with the following format:

  • REST operation path: uri_path/HTTP_method
    • ex: pet/PUT
    • results in a RestSchemaRequestDataProvider object where the request and response messages can be queried and requests can be sent to the server

The following classes are provided by this module:

Release Notes

RestSchemaDataProvider v2.3

  • initial release of the module supporting both Swagger 2.0 and OpenAPI 3.0 schemas
  • uses abstract base classes from RestSchemaValidator module for polymorphic access to operation and path item objects (issue 5006)