Skip to content

Commit

Permalink
Fix issue 412
Browse files Browse the repository at this point in the history
  • Loading branch information
rathnapandi committed Jul 14, 2023
1 parent ac25d9c commit cc2b5bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

# [1.13.8] 07-07-2023

# [1.14.1] In progress
### Fixed
- Null pointer when converting OData -> Open API (See issue [#399](https://github.com/Axway-API-Management-Plus/apim-cli/issues/399))
- nullpointer exception occuring while try to import an api (See issue [#390](https://github.com/Axway-API-Management-Plus/apim-cli/issues/390))
- Backend basepath issue (See issue [#412](https://github.com/Axway-API-Management-Plus/apim-cli/issues/412))
### Added


# [1.14.0] 07-07-2023
### Fixed
- Inbound Security - Query String Pass Through is not included in api get (See issue [#392](https://github.com/Axway-API-Management-Plus/apim-cli/issues/392))
- breaking changes with overrideSpecBasePath = true (See issue [#397](https://github.com/Axway-API-Management-Plus/apim-cli/issues/397))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ public void configureBasePath(String backendBasePath, API api) throws AppExcepti
}
}
} else {
updateServerSection(backendBasePath, "/");
if (CoreParameters.getInstance().isOverrideSpecBasePath()) {
overrideServerSection(backendBasePath); // override openapi url to fix issue #412
}else {
updateServerSection(backendBasePath, "/");
}
}
this.apiSpecificationContent = this.mapper.writeValueAsBytes(openAPI);
} catch (Exception e) {
Expand Down

0 comments on commit cc2b5bd

Please sign in to comment.