Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is the default file configuration:

Code Block
languagejs
{ 
  "swaggeropenapi": "23.0.0", 
  "info": { 
    "version": "1.0.0", 
    "title": "Swagger Consultingwerk", 
    "description": "Consultingwerk Prototype", 
    "termsOfService": "http:\/\/consultingwerk\/terms\/", 
    "contact": { 
      "name": "Consultingwerk",
      "email": "info@consultingwerk.de" 
    }, 
    "license": { 
      "name": "Copyright (C) 2006-2017 by Consultingwerk Ltd.", 
      "url": "http:\/\/www.consultingwerk.de\/legal\/" 
    }
  }, 
  "schemes": [ 
    "http" 
  ]
}

...

Note, that OpenEdge does not seem to support gaps in the numbering of Web Handlers. The handler27= ... is only supposed to serve as an example. 


The link to the Swagger documentation for Business Entities can be found from the List of Business Services Web Page (e.g. http://localhost:8820/web/BusinessServices/html/Consultingwerk.SmartComponentsDemo.*). 


Hosting swagger

The swagger.zip file contains a sampel Swagger website that can be hosted on your PASOE instances, e.g. by unzipping the file into the webapps/ROOT/static/swagger folder.

...

 

...