Skip to content

Commit

Permalink
Default maturity level
Browse files Browse the repository at this point in the history
  • Loading branch information
rjawesome committed Mar 4, 2023
1 parent 14c8ed6 commit 029aaa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ export default class API implements APIClass {

const servers = this.smartapiDoc.servers.map(server => ({
url: server.url,
level: getLevel(server["x-maturity"]),
maturity: server["x-maturity"],
level: getLevel(server["x-maturity"] ?? "production"),
maturity: server["x-maturity"] ?? "production",
https: server.url.includes("https")
}))

Expand Down

0 comments on commit 029aaa5

Please sign in to comment.