Date: May 14, 2019
What’s New?
This release introduces templates for completions in Swagger and OpenAPI specifications. Regular completions are still provided for referenced files.
Why templates?
- Less manual navigating through the API specification is required.
- It allows Senya Editor to chain completions, so that you stay in the flow.
- Default values are suggested, while keeping it simple to edit the value.
Less manual navigating
Quickly get started on a new API specification.
Effortlessly define properties for a schema with multiple required properties.
Chained completions
Senya Editor guides you while editing.
Defining security schemes becomes easy.
Suggested default values
Easily edit a suggested XML object name.
Code style
Completions are formatted based on the specification’s code style: line separator, number of indents and indent character (tabs/spaces).
For JSON it also takes spacing before and after the colon into account.
For YAML you can configure sequence item indentation.
Improvements
Additional completions
Senya Editor already offered completions for tag names when defining an operation. Now it also offers tag name completions based on operation tags when you’re editing the tags object.
The same functionality is also available for oauth scopes in security requirement and security scheme objects. For Swagger specifications it is even possible to create a full security scheme based on a security requirement with oauth scopes.
OpenAPI specifications require a bit more effort on your part, but again the oauth scopes from the security requirement are added.
Senya Server
Senya Editor relies on Senya Server for more and more of its functionality. Senya Server used to be distributed with Senya Editor (version 1.0.0 and up). With this release Senya Server is downloaded after the plugin is installed. Senya Editor tries to check for Senya Server updates in the background when you start your IDE.
Senya Editor on the go
Working in planes, trains and automobiles? Take Senya Editor with you! The initial download of Senya Server and activating your license do require an internet connection. After that you can run the plugin completely offline. When Senya Editor is trying to check for an update, and you happen to be offline, it will simply check for an update the next time.