redskap / swagger-brake

Swagger contract checker for breaking API changes
Apache License 2.0
57 stars 16 forks source link

Add support for release field in MavenMetadata #38

Closed dylanwatsonsoftware closed 3 years ago

dylanwatsonsoftware commented 3 years ago

This change allows swagger-brake to support the following metadata model from Nexus:

<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>com.test</groupId>
  <artifactId>test-api</artifactId>
  <versioning>
    <release>1.0.567</release>
    <versions>
      <version>1.0.566</version>
      <version>1.0.567</version>
    </versions>
    <lastUpdated>20200901062505</lastUpdated>
  </versioning>
</metadata>
galovics commented 3 years ago

Thanks for the contribution @dylanwatsonsoftware

dylanwatsonsoftware commented 3 years ago

Sorry! Didn't actually check that the travis build had failed. Thanks for fixing it!