-
Notifications
You must be signed in to change notification settings - Fork 12
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
OpenAPI v3: code assist for security scheme, operationId and operationRef #332
Conversation
…ement Fix compilation error
final Collection<Proposal> results = Lists.newArrayList(); | ||
final List<AbstractNode> nodes = Lists.newArrayList(); | ||
for (AbstractNode node : model.allNodes()) { | ||
if (node.getType() != null && operationPointer.equals(node.getType().getPointer())) { |
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.
Cool!
@@ -0,0 +1,43 @@ | |||
package com.reprezen.swagedit.core.assist.contexts; |
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.
We will need a copyright header for this other new classes
import com.reprezen.swagedit.core.model.Model; | ||
import com.reprezen.swagedit.core.schema.CompositeSchema; | ||
|
||
public abstract class SchemaContextType extends ContextType { |
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.
... and a javadoc here :)
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.
Passed code review and QA with the these follow up items:
- add copyright headers
- add Javadoc to
SchemaContextType
This is a PR for the following issues:
Screenshots of code assist new behaviour:
Security Schemes
OperationId
OperationRef