Expand description
Defines the types defined by the [OpenRPC] specification.
Structs§
- Array
Literal - The constraints that may be applied to an array literal schema.
- Components
- Holds a set of reusable objects for different aspects of the OpenRPC document.
- Contact
- Contact information for the exposed API.
- Content
Descriptor - Content descriptors are that do just as they suggest - describe content. They are reusable ways of describing either parameters or results.
- Error
- An application-level error.
- Example
Object - Defines an example that is intended to match a
Schema
of a givenContentDescriptor
. - Example
Pairing - A set of example parameters and a result.
- External
Documentation - Allows referencing an external resource for extended documentation.
- Info
- Provides metadata about the API.
- Integer
Literal - The constraints that may be applied to an integer literal schema.
- License
- License information for the exposed API.
- Link
- Represents a possible design-time link for a result.
- Method
- Describes the interface for the given method name.
- Number
Literal - The constraints that may be applied to a number literal schema.
- Object
Literal - The constraints that may be applied to an object literal schema.
- OpenRpc
- Represents an OpenRPC document.
- Runtime
Expression - Runtime expressions allow the user to define an expression which will evaluate to a string once the desired value(s) are known.
- Schema
- Allows the definition of input and output data types.
- Server
- A server.
- Server
Variable - An object representing a Server Variable for server URL template substitution.
- String
Literal - The constraints that may be applied to an string literal schema.
- Tag
- Adds metadata to a single tag that is used by the
Method
Object.
Enums§
- Example
Value - The example value of an
ExampleObject
. - Link
Params - The content of the
params
field of aLink
. - Literal
- A literal value.
- Param
Structure - A possible value for the
param_structure
field ofMethod
. - RefOr
- Either a reference or an inline object.
- Schema
Contents - The content of a schema.
- String
Format - A string format.