Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • I Ingestion Workflow
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Data Flow
  • Data IngestionData Ingestion
  • Ingestion Workflow
  • Merge requests
  • !124

Fixed issue in swagger input parameter by upgrading Swagger 2 to Swagger 3

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Abhiman Neelakanteswara requested to merge bug/fix_swagger_issue into master Jun 08, 2021
  • Overview 5
  • Commits 3
  • Pipelines 7
  • Changes 8

Motivation

A bug was raised mentioned that the input parameters in the params field for the GET /{workflow_name}/workflowRun API were not accepted. The API did not work from the swagger page but however, worked with Postman.

Changes

The issue was Swagger 2 was unable to serialize parameters from JSON input to a GET API. This feature is only supported in Open API Spec(OAS)>3.0. Hence, the springfox-swagger version has been updated to 3.0.0

Known Issues

Recommended library for OAS 3.0 is springdoc-openapi-ui. However, the latest version of this library has an inline script in the index.html of the OAS page. This is currently not allowed according to the security policy in our azure deployment.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bug/fix_swagger_issue