added more fitting example for endpoints.
This commit is contained in:
parent
478456da15
commit
c8898fe926
@ -24,14 +24,14 @@ class PuckignationMixin(LimitOffsetPagination):
|
||||
'type': 'string',
|
||||
'nullable': True,
|
||||
'format': 'uri',
|
||||
'example': 'http://pfapi.puckoprutt.tech/actions/?format=yaml&{offset_param}=30&{limit_param}=10'.format(
|
||||
'example': 'http://api.puckoprutt.tech/some_endpoint/?format=json&{offset_param}=30&{limit_param}=10'.format(
|
||||
offset_param=self.offset_query_param, limit_param=self.limit_query_param),
|
||||
},
|
||||
'previous': {
|
||||
'type': 'string',
|
||||
'nullable': True,
|
||||
'format': 'uri',
|
||||
'example': 'http://pfapi.puckoprutt.tech/actions/?format=yaml&{offset_param}=10&{limit_param}=10'.format(
|
||||
'example': 'http://api.puckoprutt.tech/some_endpoint/?format=json&{offset_param}=10&{limit_param}=10'.format(
|
||||
offset_param=self.offset_query_param, limit_param=self.limit_query_param),
|
||||
},
|
||||
'results': schema,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user