{"action":"created","issue":{"url":"https://api.github.com/repos/bcgov/DBC-APIM/issues/93","repository_url":"https://api.github.com/repos/bcgov/DBC-APIM","labels_url":"https://api.github.com/repos/bcgov/DBC-APIM/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/bcgov/DBC-APIM/issues/93/comments","events_url":"https://api.github.com/repos/bcgov/DBC-APIM/issues/93/events","html_url":"https://github.com/bcgov/DBC-APIM/issues/93","id":291662920,"number":93,"title":"API console for WFS and WMS?","user":{"login":"BK01","id":9123564,"avatar_url":"https://avatars3.githubusercontent.com/u/9123564?v=4","gravatar_id":"","url":"https://api.github.com/users/BK01","html_url":"https://github.com/BK01","followers_url":"https://api.github.com/users/BK01/followers","following_url":"https://api.github.com/users/BK01/following{/other_user}","gists_url":"https://api.github.com/users/BK01/gists{/gist_id}","starred_url":"https://api.github.com/users/BK01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BK01/subscriptions","organizations_url":"https://api.github.com/users/BK01/orgs","repos_url":"https://api.github.com/users/BK01/repos","events_url":"https://api.github.com/users/BK01/events{/privacy}","received_events_url":"https://api.github.com/users/BK01/received_events","type":"User","site_admin":false},"labels":[{"id":512622648,"url":"https://api.github.com/repos/bcgov/DBC-APIM/labels/OpenAPI%20spec","name":"OpenAPI spec","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"banders","id":1737873,"avatar_url":"https://avatars1.githubusercontent.com/u/1737873?v=4","gravatar_id":"","url":"https://api.github.com/users/banders","html_url":"https://github.com/banders","followers_url":"https://api.github.com/users/banders/followers","following_url":"https://api.github.com/users/banders/following{/other_user}","gists_url":"https://api.github.com/users/banders/gists{/gist_id}","starred_url":"https://api.github.com/users/banders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banders/subscriptions","organizations_url":"https://api.github.com/users/banders/orgs","repos_url":"https://api.github.com/users/banders/repos","events_url":"https://api.github.com/users/banders/events{/privacy}","received_events_url":"https://api.github.com/users/banders/received_events","type":"User","site_admin":false},"assignees":[{"login":"banders","id":1737873,"avatar_url":"https://avatars1.githubusercontent.com/u/1737873?v=4","gravatar_id":"","url":"https://api.github.com/users/banders","html_url":"https://github.com/banders","followers_url":"https://api.github.com/users/banders/followers","following_url":"https://api.github.com/users/banders/following{/other_user}","gists_url":"https://api.github.com/users/banders/gists{/gist_id}","starred_url":"https://api.github.com/users/banders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banders/subscriptions","organizations_url":"https://api.github.com/users/banders/orgs","repos_url":"https://api.github.com/users/banders/repos","events_url":"https://api.github.com/users/banders/events{/privacy}","received_events_url":"https://api.github.com/users/banders/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-01-25T18:03:51Z","updated_at":"2018-02-23T23:17:48Z","closed_at":null,"author_association":"NONE","body":"Investigate creating an OpenAPI spec for public DataBC WFS and WMS\r\n\r\nMetadata record to have an API console:\r\nhttps://catalogue.data.gov.bc.ca/dataset/bc-web-map-library\r\n\r\nDocs:\r\nhttps://medium.com/@cholmes/wfs-3-0-get-excited-yes-8e904fdbcc0\r\nhttps://github.com/opengeospatial/WFS_FES/blob/master/overview.md\r\n\r\nfrom @webgismd,\r\nneed sth like https://www.npmjs.com/package/wfs2swagger to produce Open API specs for our current WFS/WMS,etc\r\n\r\n\r\nmaybe align with incoming WFS3 ?\r\nhttps://github.com/opengeospatial/WFS_FES\r\nhttps://rawgit.com/opengeospatial/WFS_FES/master/docs/17-069.html\r\n\r\n\r\n*Need estimate to convert WMS GetCapabilities, GetMap, key endpoints and parameters to OAS 3 spec"},"comment":{"url":"https://api.github.com/repos/bcgov/DBC-APIM/issues/comments/368166692","html_url":"https://github.com/bcgov/DBC-APIM/issues/93#issuecomment-368166692","issue_url":"https://api.github.com/repos/bcgov/DBC-APIM/issues/93","id":368166692,"user":{"login":"banders","id":1737873,"avatar_url":"https://avatars1.githubusercontent.com/u/1737873?v=4","gravatar_id":"","url":"https://api.github.com/users/banders","html_url":"https://github.com/banders","followers_url":"https://api.github.com/users/banders/followers","following_url":"https://api.github.com/users/banders/following{/other_user}","gists_url":"https://api.github.com/users/banders/gists{/gist_id}","starred_url":"https://api.github.com/users/banders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banders/subscriptions","organizations_url":"https://api.github.com/users/banders/orgs","repos_url":"https://api.github.com/users/banders/repos","events_url":"https://api.github.com/users/banders/events{/privacy}","received_events_url":"https://api.github.com/users/banders/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T23:17:47Z","updated_at":"2018-02-23T23:17:47Z","author_association":"COLLABORATOR","body":"@BK01 @ll911 Thinking more about this, I can't imagine any way to convert the WMS and WFS specs into OpenAPI format in a way that would be useful.  WMS and WFS are web services, but they are not RESTful.  (OAS is designed for RESTful APIs.)  Both WMS and WFS have a single endpoint with oodles of different parameter combinations.  OAS doesn't provide any means to organize and simplify this complexity.\r\n\r\nAlso, I tested the \"wfs2swagger\" tool to see if how they do the translation.  The tool doesn't work. It generates invalid OAS specs, and the specs include API endpoints that aren't valid WFS.\r\n\r\nIn short, I don't think it makes sense to create an OAS spec for WFS and WMS."}}
{"actor":{"display_login":"banders"}}