Skip to content

Commit

Permalink
feat: allow edge function schema to have a display name (#4549)
Browse files Browse the repository at this point in the history
* feat: allow edge function schema to have a display name

* chore: change displayName to name

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
danez and kodiakhq[bot] committed Oct 3, 2022
1 parent b7f66d1 commit f737c39
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -35,6 +35,7 @@ const routesSchema = {
type: 'object',
required: ['function', 'pattern'],
properties: {
name: { type: 'string' },
function: { type: 'string' },
pattern: { type: 'string', format: 'regexPattern', errorMessage: `must match format ${normalizedPatternRegex}` },
},
Expand Down

0 comments on commit f737c39

Please sign in to comment.