1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-11-14 10:36:55 +00:00

Rename alias parameter to manip

This commit is contained in:
Ethan Paul 2021-10-28 21:10:29 -04:00
parent fc658d07dd
commit 0be8cb96b7
No known key found for this signature in database
GPG Key ID: D0E2CBF1245E92BF

View File

@ -124,15 +124,15 @@ paths:
- $ref: "#/components/parameters/ImageName" - $ref: "#/components/parameters/ImageName"
- $ref: "#/components/parameters/ImageFormat" - $ref: "#/components/parameters/ImageFormat"
responses: *responses-options responses: *responses-options
/image/{image_name}/{alias}: /image/{image_name}/{manip}:
head: head:
summary: Returns metadata about the image request summary: Returns metadata about the image request
operationId: ImageAliasHead operationId: ImageManipHead
tags: ["meta"] tags: ["meta"]
parameters: parameters:
- $ref: "#/components/parameters/ImageName" - $ref: "#/components/parameters/ImageName"
- $ref: "#/components/parameters/ImageFormat" - $ref: "#/components/parameters/ImageFormat"
- $ref: "#/components/parameters/ImageAlias" - $ref: "#/components/parameters/ImageManip"
responses: responses:
'200': '200':
$ref: "#/components/responses/Image" $ref: "#/components/responses/Image"
@ -150,12 +150,12 @@ paths:
$ref: "#/components/responses/InternalServerError" $ref: "#/components/responses/InternalServerError"
get: get:
summary: Fetch a pre configured version of the image summary: Fetch a pre configured version of the image
operationId: ImageAliasGet operationId: ImageManipGet
tags: ["image"] tags: ["image"]
parameters: parameters:
- $ref: "#/components/parameters/ImageName" - $ref: "#/components/parameters/ImageName"
- $ref: "#/components/parameters/ImageFormat" - $ref: "#/components/parameters/ImageFormat"
- $ref: "#/components/parameters/ImageAlias" - $ref: "#/components/parameters/ImageManip"
responses: responses:
'200': '200':
$ref: "#/components/responses/Image" $ref: "#/components/responses/Image"
@ -173,12 +173,12 @@ paths:
$ref: "#/components/responses/InternalServerError" $ref: "#/components/responses/InternalServerError"
options: options:
summary: Retrieve available HTTP verbs for the selected endpoint summary: Retrieve available HTTP verbs for the selected endpoint
operationId: ImageAliasOptions operationId: ImageManipOptions
tags: ["meta"] tags: ["meta"]
parameters: parameters:
- $ref: "#/components/parameters/ImageName" - $ref: "#/components/parameters/ImageName"
- $ref: "#/components/parameters/ImageFormat" - $ref: "#/components/parameters/ImageFormat"
- $ref: "#/components/parameters/ImageAlias" - $ref: "#/components/parameters/ImageManip"
responses: *responses-options responses: *responses-options
components: components:
schemas: schemas:
@ -223,10 +223,10 @@ components:
type: string type: string
default: image/jpeg default: image/jpeg
enum: [image/jpeg, image/png] enum: [image/jpeg, image/png]
ImageAlias: ImageManip:
name: alias name: manip
in: path in: path
description: Name of the image config alias to use description: Name of the image config manip to use
required: true required: true
schema: schema:
type: string type: string