Skip to content

Commit

Permalink
Added version
Browse files Browse the repository at this point in the history
  • Loading branch information
indraniBh committed Sep 13, 2024
1 parent d2eaac4 commit 04178ab
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Version'
$ref: '../version.yaml#/components/schemas/Version'
x-field-uid: 1
default:
$ref: '#/components/responses/Failure'
$ref: '../models/result/request.yaml#/components/responses/Failure'
x-field-uid: 2
25 changes: 25 additions & 0 deletions version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
components:
schemas:
Version:
description: |-
Version details
type: object
properties:
api_spec_version:
description: |-
Version of API specification
type: string
default: ''
x-field-uid: 1
sdk_version:
description: |-
Version of SDK generated from API specification
type: string
default: ''
x-field-uid: 2
app_version:
description: |-
Version of application consuming or serving the API
type: string
default: ''
x-field-uid: 3

0 comments on commit 04178ab

Please sign in to comment.