-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add config file for auto generating swagger.
- Loading branch information
1 parent
819952d
commit 7948af3
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
openapi: '3.0.0', | ||
info: { | ||
// API information (required) | ||
title: 'Credential Service for cheqd network', // Title (required) | ||
version: '2.0.0', // Version (required) | ||
description: 'API service to create and manage DIDs and credentials on cheqd network.', // Description (optional) | ||
}, | ||
tags: [ | ||
{ | ||
name: 'Credential', | ||
externalDocs: { | ||
url: 'https://github.com/cheqd/credential-service#readme' | ||
} | ||
} | ||
], | ||
components: {} | ||
}; |