App Specs

You can import a spec and that is available for reuse across an app. Importing an app-level spec saves you the time and effort of uploading the same spec in multiple places. An app-level spec can be used in InvokeRESTService, gRPC Invoke, gRPC trigger, REST Trigger - ReceiveHTTPMessage, and GraphQL Trigger.

You can simply select an imported spec from a list by clicking the Use app level specs toggle.

Currently, three types of specs are supported:

  • OpenAPI: OpenAPI spec file or Swagger spec file, which is a type of .json file

  • gRPC: A .proto file

  • GraphQL: A .gql or .graphql file

App-level specs are filtered based on the type of Activity or Trigger. Only OpenAPI specs are displayed on the Browse API Specs dialog in a REST Trigger - ReceiveHTTPMessage or InvokeRESTService activity configuration when using app level specs. Only GraphQL specs show on GraphQL trigger and gRPC specs type for gRPC trigger and gRPC Invoke activity.