Skip to content

Commit e68ad68

Browse files
committed
Un-feature flag custom OpenAPI support
1 parent 9364db4 commit e68ad68

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/components/account/plan-picker.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,12 @@ export class PlanPicker extends React.Component<PlanPickerProps> {
364364
<strong>Advanced HTTP debugging & inspection tools</strong>, including compression & caching performance analysis.
365365
</Feature>
366366
<Feature>
367-
<strong>Validation & documentation for 2600+ APIs</strong>,
368-
from AWS to GitHub to Stripe, powered by OpenAPI.
367+
<strong>Validation &amp; API documentation for 2600+ built-in APIs</strong>,
368+
from AWS to GitHub to Stripe, plus your own custom <a
369+
href="https://swagger.io/docs/specification/about/"
370+
target="_blank"
371+
rel="noopener noreferrer"
372+
>OpenAPI</a> specs.
369373
</Feature>
370374
<Feature>
371375
<strong>Advanced customization</strong>, including UI themes,

src/components/settings/settings-page.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,8 @@ class SettingsPage extends React.Component<SettingsPageProps> {
238238
</AccountContactFooter>
239239
</CollapsibleCard>
240240

241-
242241
{/*
243-
This above shows for both active paid users, and recently paid users whose most recent
242+
The above shows for both active paid users, and recently paid users whose most recent
244243
payments failed. For those users, we drop other Pro features, but keep the settings
245244
UI so they can easily log out, update billing details or cancel fully.
246245
@@ -256,10 +255,7 @@ class SettingsPage extends React.Component<SettingsPageProps> {
256255
</>
257256
}
258257

259-
{
260-
this.props.accountStore!.featureFlags.includes('openapi') &&
261-
<ApiSettingsCard {...cardProps.api} />
262-
}
258+
<ApiSettingsCard {...cardProps.api} />
263259

264260
<CollapsibleCard {...cardProps.themes}>
265261
<header>

0 commit comments

Comments
 (0)