File: responses.yaml

package info (click to toggle)
golang-github-go-openapi-analysis 0.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,548 kB
  • sloc: makefile: 4
file content (68 lines) | stat: -rw-r--r-- 1,541 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
204:
  description: No Content
400:
  description: Bad Request
  schema:
    $ref: './Error.yaml'
  examples:
    application/json:
      code: MISSING_PARAMETERS
      message: >-
        Required parameters missing or incorrect.
401:
  description: Unauthorized
  headers:
    WWW_Authenticate:
      type: string
  schema:
    $ref: './Error.yaml'
  examples:
    application/json:
      code: UNAUTHORIZED
      message: >-
        To access API you have to login
403:
  description: Forbidden
  schema:
    $ref: './Error.yaml'
  examples:
    application/json:
      code: FORBIDDEN
      message: >-
        Insufficient privileges to access API
404:
  description: Not Found
  schema:
    $ref: './Error.yaml'
  examples:
    application/json:
      code: RESOURCE_NOT_FOUND
      message: >-
        Requested resource not found
412:
  description: Precondition Failed
  schema:
    $ref: "./Error.yaml"
  examples:
    application/json:
      code: CONCURRENT_MODIFICATION
      message: >-
        The resource was modified in the meanwhile
500:
  description: Internal server error
  schema:
    $ref: './Error.yaml'
  examples:
    application/json:
      code: INTERNAL_SERVER_ERROR
      message: >-
        Internal server error occurred, retry after some time. In case the issue
        persists contact your system administrator
501:
  description: Not Implemented
  schema:
    $ref: './Error.yaml'
  examples:
    application/json:
      code: FEATURE_NOT_IMPLEMENTED
      message: Requested feature is not implemented.