Skip to content
Permalink
Browse files

fix: Swagger options should be available when importing by a swagger …

…link

This closes gravitee-io/issues#1906
  • Loading branch information...
aelamrani committed Feb 11, 2019
1 parent eb52fdf commit 7c1a7a56bdb944a70661409fa7a9a03081a1e071
Showing with 1 addition and 2 deletions.
  1. +0 −1 src/management/api/creation/newApi.controller.ts
  2. +1 −1 src/management/api/creation/newApi.html
@@ -132,7 +132,6 @@ class NewApiController {
});
}


convertApiEntityToApiDefinition(apiEntity: ApiEntity, swagger: any) {
let apiDefinition = {
name: apiEntity.name,
@@ -50,7 +50,7 @@ <h4>... or import API definition or your Swagger descriptor file</h4>
</md-tab>
</md-tabs>

<div style="margin-top:24px;" layout="column" ng-if="newApiCtrl.isSwaggerImport()">
<div style="margin-top:24px;" layout="column" ng-if="newApiCtrl.importURLMode || newApiCtrl.isSwaggerImport()">
<h4>Swagger import configurations:</h4>
<md-checkbox
ng-model="newApiCtrl.importCreateDocumentation"

0 comments on commit 7c1a7a5

Please sign in to comment.
You can’t perform that action at this time.