-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: convert url variables to colon x (#109)
- Loading branch information
Showing
3 changed files
with
145 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: URL variables | ||
version: 1.0.0 | ||
servers: | ||
- url: https://example.com/ | ||
paths: | ||
/base64/{value}: | ||
get: | ||
tags: | ||
- Dynamic data | ||
parameters: | ||
- name: value | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
default: SFRUUEJJTiBpcyBhd2Vzb21l | ||
responses: | ||
200: | ||
description: Decoded base64 content. | ||
content: {} | ||
/basic-auth/{user}/{passwd}: | ||
get: | ||
tags: | ||
- Auth | ||
parameters: | ||
- name: user | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
- name: passwd | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
responses: | ||
200: | ||
description: Sucessful authentication. | ||
content: {} | ||
401: | ||
description: Unsuccessful authentication. | ||
content: {} | ||
/digest-auth/{qop}/{user}/{passwd}/{algorithm}/{stale_after}: | ||
get: | ||
tags: | ||
- Auth | ||
parameters: | ||
- name: qop | ||
in: path | ||
description: auth or auth-int | ||
required: true | ||
schema: | ||
type: string | ||
- name: user | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
- name: passwd | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
- name: algorithm | ||
in: path | ||
description: MD5, SHA-256, SHA-512 | ||
required: true | ||
schema: | ||
type: string | ||
default: MD5 | ||
- name: stale_after | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
default: never | ||
responses: | ||
200: | ||
description: Sucessful authentication. | ||
content: {} | ||
401: | ||
description: Unsuccessful authentication. | ||
content: {} | ||
components: {} |