mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-06 12:27:48 +00:00
Add examples as needed for linter
This commit is contained in:
@@ -4,4 +4,5 @@ description: Returns batching metadata in the response
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
example: true
|
||||||
@@ -4,4 +4,5 @@ description: ID of an attribute for filtering
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
|
example: 33f072dd-13b4-41e1-8ea0-16f2a59b57c8
|
||||||
@@ -4,4 +4,5 @@ description: Profile ID to filter by
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
|
example: 4e480441-451d-47d9-87c2-9a0f0fe135eb
|
||||||
@@ -14,5 +14,9 @@ schema:
|
|||||||
order:
|
order:
|
||||||
type: string
|
type: string
|
||||||
example: created_at
|
example: created_at
|
||||||
|
example:
|
||||||
|
limit: 100
|
||||||
|
offset: 50
|
||||||
|
order: created_at
|
||||||
style: deepObject
|
style: deepObject
|
||||||
explode: true
|
explode: true
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ description: Type of user contributor relationship to filter by
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
enum: [owner, contributor]
|
enum: [owner, contributor]
|
||||||
|
example: contributor
|
||||||
@@ -4,4 +4,5 @@ description: The ID of a user for filtering
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
|
example: bba9cfb2-96c1-4acb-ac79-a21732527265
|
||||||
@@ -20,7 +20,7 @@ get:
|
|||||||
$ref: "../responses/500.yaml"
|
$ref: "../responses/500.yaml"
|
||||||
post:
|
post:
|
||||||
summary: Create multiple user-profile contributor relationships
|
summary: Create multiple user-profile contributor relationships
|
||||||
operationId: postUserProfiles
|
operationId: createUserProfiles
|
||||||
description: Create multiple user-profile contributor relationships
|
description: Create multiple user-profile contributor relationships
|
||||||
tags:
|
tags:
|
||||||
- user profiles
|
- user profiles
|
||||||
|
|||||||
Reference in New Issue
Block a user