Skip to content

Commit

Permalink
Release 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hisorange committed Jan 11, 2022
1 parent ef47a12 commit b1fa976
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Version 0.1.7

- Seamless HTTP restarts
- Proxified HTTP upstream servers
- Fix JSON Schema type bugs in the rest service

### Version 0.1.6

- CRON based flow trigger
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@artgen/core",
"version": "0.1.6",
"version": "0.1.7",
"description": "Versatily headless CMS",
"main": "build/main.js",
"homepage": "https://artgen.io",
Expand Down Expand Up @@ -181,4 +181,4 @@
"vite": "^2.6.10",
"vite-react-jsx": "^1.1.2"
}
}
}
16 changes: 9 additions & 7 deletions src/modules/http/provider/http-upstream.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export class HttpUpstreamProvider implements Provider<FastifyInstance> {
mode: 'dynamic',
openapi: {
info: {
title: 'Artgen API',
description: 'Http Server Documentation',
version: `RV1`,
title: 'Artgen Core - API',
description: 'Http Upstream Server Documentation',
version: `RV42`,
},
components: {
securitySchemes: {
Expand All @@ -54,23 +54,25 @@ export class HttpUpstreamProvider implements Provider<FastifyInstance> {
type: 'apiKey',
in: 'query',
name: 'access-key',
description: 'Access Key identification in the query param',
},
accessKeyHeader: {
type: 'apiKey',
in: 'header',
name: 'X-Access-Key',
description: 'Access Key identification in the HTTP header',
},
},
},
tags: [
{
name: 'OData',
description: 'OData backed endpoints',
},
{
name: 'Rest',
description: 'Rest structured endpoints',
},
{
name: 'OData',
description: 'OData backed endpoints',
},
{
name: 'Flow',
description: 'Flow defined HTTP triggers',
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.6
0.1.7

0 comments on commit b1fa976

Please sign in to comment.