* ref #3958, support utf16 fragments on the deeplink plugin * put -> head for UTF16 operation this is a temporary fix, eventually we will run out of methods and need to use a new targeting strategy * drop obsolete %20 decoder * add full test suite for UTF16 operation * use encodeURIComponent when setting hash * drop obsolete test cases
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
openapi: "3.0.0"
|
|
|
|
paths:
|
|
/:
|
|
get:
|
|
operationId: "myOperation"
|
|
tags: ["myTag"]
|
|
summary: an operation
|
|
responses:
|
|
'200':
|
|
description: a pet to be returned
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
/withSpaces:
|
|
post:
|
|
operationId: "my Operation"
|
|
tags: ["my Tag"]
|
|
summary: an operation
|
|
responses:
|
|
'200':
|
|
description: a pet to be returned
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
/utf16fragments:
|
|
head:
|
|
operationId: "пошел"
|
|
tags: ["шеллы"]
|
|
summary: an operation
|
|
responses:
|
|
"200":
|
|
description: ok
|
|
/withUnderscores:
|
|
patch:
|
|
operationId: "underscore_Operation"
|
|
tags: ["underscore_Tag"]
|
|
summary: an operation
|
|
responses:
|
|
'200':
|
|
description: a pet to be returned
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
/noOperationId:
|
|
put:
|
|
tags: ["tagTwo"]
|
|
summary: some operations are anonymous...
|
|
responses:
|
|
'200':
|
|
description: a pet to be returned
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object |