Skip to content
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

[gh-pages] Hand-craft API templates for leaner output #1808

Merged
merged 1 commit into from
Jan 31, 2019

Conversation

MikeRalphson
Copy link
Member

@MikeRalphson MikeRalphson commented Jan 14, 2019

This PR rewrites the 'default' API templates (which included the HTML representations of the generated pages) with hand-crafted JSON output of the key metadata for each registry type.

An example can be seen at https://mikeralphson.github.io/OpenAPI-Specification/api/format.json

It also corrects a few owner property values, and moves base_type into the metadata for formats.

  • Should description in the front-matter be renamed to summary to align closer with the spec.?
  • Is an array more useful than a map in the API responses?

@webron webron merged commit 5a4d660 into OAI:gh-pages Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants