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

Documentation obromios #387

Merged
merged 7 commits into from
Aug 23, 2018
Merged

Conversation

obromios
Copy link

This is a pull request that tries to resolve some of the documentation issues raised issue #386. The git log explains the changes.

Chris Drane added 5 commits July 30, 2018 14:30
The gemfile had
gem 'raddocs', :github => "smartlogic/raddocs"
which loads over http not https so is insecure.
At present, only option is :open_api, but this does not
produce output that is easily readable by user.

When the problem with the :json option is fixed see issue
zipmark#382
I suggest that :json option is added as well, users can
see output using raddocs.
This has been altered to take out any open_api code. Given there
is only one example spec in the README document, my view is that it should
not be specifically open_api, but just use the most general options.
I have bumped the level of this section up by two levels, as it no longer fits
under the open_api section of the format section.

I have also taken out or re-factored instances of <response>, given
I could not understand what the code did in this instance.

I note that the example code in the repository is open_api, so there
is already an example of open_api code.
to indicated that it uses the :open_api format
README.md Outdated
@@ -307,21 +320,18 @@ paths:
hide: true
```

#### Example of spec file
## Example of acceptance spec file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is specifically an example for the openapi stuff - so I'd leave it as is and then make a more generic section.

Chris Drane added 2 commits July 31, 2018 14:27
Put back open_api example spec in same place but labelled
it clearly as being open_api specific.

Moved generic example of spec up in document.
@oestrich oestrich merged commit 9f04200 into zipmark:master Aug 23, 2018
@oestrich
Copy link
Contributor

Thanks!

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.

2 participants