Comments (9)
path
value for method parameters in
Line 26 of the default model defines the "path"
value. However, content-assist does not provide it.
in: "path"
from kaizen-openapi-editor.
"$ref" key not provided by content-assist
UPD: now it works
Line 34 of default model:
schema:
$ref: "#/definitions/TaxFilingObject"
from kaizen-openapi-editor.
type
keyword in definitons and properties
There is no code assist for type value of definition or property, e.g.
definitions:
TaxFilingObject:
type: "object"
and (for filingID
)
TaxFilingObject:
type: "object"
description: "An individual Tax Filing record, accessed by its ID"
properties:
filingID:
type: "string"
Parameters type works fine.
from kaizen-openapi-editor.
Content-assist for value of schema/$ref
It would be good to provide content assist for responses/schema/$ref
which would calculate available refs to definitions.
from kaizen-openapi-editor.
path value for method parameters in
issue
It is solved in this pull request:
#34
Content-assist for patternProperties
This raises the question about how we should handle pattern properties, and if we should introduce specific implementation for some of them. Some pattern properties are fine to be use as replacement strings, see below for example on path, some are not like for responses code, that uses regex strings.
refs issues
The refs
issues are a bit different and involves two different cases:
- The first is about resolving references to external json schema documents. The swagger schema references standard schemas from json-schema.org, and we should include those during generation of the content assist.
- The second is about showing the user possible references that can be used as values for the keys
$ref
in the document being edited. This can be could primarily by proposing the user, elements present in thedefinitions
object of the current document.
We should open different issues for those different cases.
from kaizen-openapi-editor.
Some fixes for the issues related to refs
have been pushed in branch external-refs.
Content assist now provide proposals for references inside the document, that is only for elements defined in definitions
Content assist also provides more hints about types of elements, as it is now able to parse external schemas.
from kaizen-openapi-editor.
Tanya will extract these to separate issues.
from kaizen-openapi-editor.
@tfesenko , FYI, I just read through the comments here. The most important issues are already fixed.
"Content-assist for patternProperties" should be extracted to a separate issue. Not sure right now how we should handle that.
from kaizen-openapi-editor.
Extracted #70 Content-assist for patternProperties .
Closing this issue
from kaizen-openapi-editor.
Related Issues (20)
- Failure running with java 11 HOT 2
- Code assist is missing properties named "default"
- Skip empty strings in formatter (customizable)
- File does not contain a valid swagger spec HOT 2
- Plugin not compatible with Eclipse 2019-06 release? HOT 3
- Memory leak in swagger editor
- YAML References in other files throws warning
- Internal error occurred during: "Update KaiZen Editor validation markers" HOT 4
- Only Swagger v2 features work, not OpenAPI v3 HOT 7
- Error updating Kaizen Editor to version 0.8.0.201909121743 HOT 3
- Unable to close eclipse properly because of Kaizen-OpenAPI-Editor HOT 1
- invalid character in reference
- Spell checker is not working on Swagger file editor HOT 1
- Add "./" for file completion on file $ref
- Doesn't follow the Eclipse Color Theme plugin (so black text on black background is a result of dark theme) HOT 3
- Installation in 2020-12 fails silently
- Avoid warning on inherited properties (allOf)
- description causes failed to match exactly one schema
- Update site returning HTTP status 504 HOT 5
- Update Site is down HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaizen-openapi-editor.