Skip to content

Commit

Permalink
Add config file for auto generating swagger.
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulla-ashurov committed Jul 10, 2023
1 parent 819952d commit 7948af3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/swagger.cjs
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: {}
};

0 comments on commit 7948af3

Please sign in to comment.