Skip to content

Commit

Permalink
OpenAPI use name to request Lens instead of ID
Browse files Browse the repository at this point in the history
  • Loading branch information
aalonsolopez committed Jun 14, 2024
1 parent 17ef5c0 commit 129f7f2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ paths:
type: string
example: ["lense1", "lense2", "lense3"]

/lenses/{id}:
/lenses/{name}:
get:
tags:
- Lenses
Expand Down Expand Up @@ -73,3 +73,12 @@ paths:
items:
type: object

parameters:
- name: name
in: path
required: true
schema:
type: string
description: The name of the lense to return.


0 comments on commit 129f7f2

Please sign in to comment.