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

Generating api-spec with Scriptappy #508

Merged
merged 7 commits into from Sep 14, 2018
Merged

Generating api-spec with Scriptappy #508

merged 7 commits into from Sep 14, 2018

Conversation

hrigner
Copy link

@hrigner hrigner commented Sep 14, 2018

No description provided.

src/qix.js Outdated
* @interface Mixin
* @property {String|Array<String>} types String or array of strings containing the API-types that
* will be mixed in.
* @param {Object} [extend] Object literal containing the methods that will be extended on the

Choose a reason for hiding this comment

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

I think all of these should be @property instead of @param

Copy link
Author

Choose a reason for hiding this comment

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

Yes! My bad..

src/intercept.js Outdated
/**
* This method is invoked when a request is about to be sent to QIX Engine.
* @function InterceptorRequest#onFulfilled
* @param {Object} session The session executing the interceptor.

Choose a reason for hiding this comment

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

might as well use Session as type here since its' defined in session.js

Copy link
Author

Choose a reason for hiding this comment

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

I fix

src/qix.js Outdated
* @property {String} genericType Corresponds to the qInfo.qType property on the generic object's
* properties object.
* @property {Object} session Contains a reference to the session that this API belongs to.
* @property {String} handle Contains the handle QIX Engine assigned to the API. Used interally in

Choose a reason for hiding this comment

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

handle is a number

src/qix.js Outdated
* @property {String} type Contains the schema class name for this API.
* @property {String} genericType Corresponds to the qInfo.qType property on the generic object's
* properties object.
* @property {Object} session Contains a reference to the session that this API belongs to.

Choose a reason for hiding this comment

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

Session as type

src/qix.js Outdated
* @param {Object} config The configuration object for the QIX session.
* @returns {Session} Returns a new QIX session.
* @param {Configuration} config The configuration object for the QIX session.
* @returns {Object} Returns a new QIX session.

Choose a reason for hiding this comment

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

Session

Copy link
Contributor

@peol peol left a comment

Choose a reason for hiding this comment

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

Nice, double check the version comment please

@@ -0,0 +1,442 @@
{
"scriptappy": "1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

What does this version mean? Is this the API spec version?

Copy link
Author

Choose a reason for hiding this comment

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

It's scriptappy schema version..

@hrigner hrigner merged commit fa3bc81 into master Sep 14, 2018
@peol peol deleted the scriptappy branch September 28, 2018 17:13
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.

None yet

4 participants