API Reference
class DeclaredAPI
property apiUrlParameters
Availability
This functionality is available from papupata version 1.5.0 onwards.Purpose
Exposes the path and query parameters of the apiMembers
Name | Type | Data type/return type | Description | Required |
---|---|---|---|---|
params | property | TypeMapping | Path parameters of the API | false |
query | property | TypeMapping | Regular query parameters of the API | false |
optionalQuery | property | TypeMapping | Optional query parameters of the API | false |
boolQuery | property | TypeMapping | Boolean query parameters of the API | false |
To get a list of fields similar to papupata 1.x you can use Object.keys on the TypeMappings, though do note that boolQuery is only populated if it is used explicitly, boolean values specified in normal query will be in query instead.