Add examples as needed for linter

This commit is contained in:
aaron-beck-sp
2023-08-03 16:21:09 -04:00
parent 83d01460c0
commit 845ad47455
7 changed files with 15 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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