[BUG][CWIKI] Enum values for URI parameters are not showing
Created by: ximyro
Problem
Templates for Confluence don't render enum values.
Example
File:
openapi: "3.0.0"
info:
description: "This is documentation for users"
version: "1.0.0"
title: "Users API"
servers:
- url: http://example.com
description: GT
paths:
/api/users/{env}:
summary: "Users API"
post:
summary: "Creates a user"
parameters:
- in: path
name: env
required: true
schema:
type: string
enum: ["ru", "uk", "us"]
responses:
Module renders:
ParametersPath Parameters
Name | Description | Type | Required | Default | Pattern |
---|---|---|---|---|---|
env | String | null |
Solution
I want to add a column with possible enum values.
Name | Description | Type | Required | Default | Pattern | Enum |
---|---|---|---|---|---|---|
env | String | null | ru, uk, us, il |