Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
This commit is contained in:
15
scripts/__fixtures__/api-compat/new.yaml
Normal file
15
scripts/__fixtures__/api-compat/new.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
openapi: 3.1.0
|
||||
info:
|
||||
title: Demo API
|
||||
version: 1.1.0
|
||||
paths:
|
||||
/foo:
|
||||
get:
|
||||
responses:
|
||||
"201":
|
||||
description: created
|
||||
/bar:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: ok
|
||||
10
scripts/__fixtures__/api-compat/old.yaml
Normal file
10
scripts/__fixtures__/api-compat/old.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
openapi: 3.1.0
|
||||
info:
|
||||
title: Demo API
|
||||
version: 1.0.0
|
||||
paths:
|
||||
/foo:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: ok
|
||||
Reference in New Issue
Block a user