-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Copy link
Labels
Description
It is needed to change classification for the following cases in response schema - paths.[].[].responses.[].content.[].schema:
- add new enum value
- changeId: add-enum-value
- severity: requires attention
Example:
before:
openapi: 3.0.0
...
paths:
/pets:
get:
responses:
'200':
content:
'application/json':
schema:
type: string
enum:
- val1
- val2after:
openapi: 3.0.0
...
paths:
/pets:
get:
responses:
'200':
content:
'application/json':
schema:
type: string
enum:
- val1
- val2
- val3- remove entire enum with all values
- changeId: remove-enum
- severity: requires attention
Example:
before:
openapi: 3.0.0
...
paths:
/pets:
get:
responses:
'200':
content:
'application/json':
schema:
type: string
enum:
- val1
- val2after:
openapi: 3.0.0
...
paths:
/pets:
get:
responses:
'200':
content:
'application/json':
schema:
type: stringtbd: separate ticket to change description for risky changes
Metadata
Metadata
Labels
Type
Projects
Status
Done