-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update openapi_parser #125
Changes from all commits
4e8485a
d03c21d
c3032ad
22fb45b
b587ae5
d75885e
600ea79
4b08657
569b8c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,7 +1,8 @@ | ||||||
<h1 id="<%= info.title.parameterize %>"><%= info.title %> v<%= info.version %></h1> | ||||||
<%= markdown(info.description) %> | ||||||
<%= info.description_html %> | ||||||
|
||||||
<% unless servers.empty? %> | ||||||
<%# OpenAPI files default to having a single server of URL "/" %> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ooh, TIL! 👀 |
||||||
<% if servers.length > 1 || servers[0].url != "/" %> | ||||||
<h2 id="servers">Servers</h2> | ||||||
<div id="server-list"> | ||||||
<% servers.each do |server| %> | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉