opengeospatial / ogcapi-common

OGC API - Common provides those elements shared by most or all of the OGC API standards to ensure consistency across the family.
https://ogcapi.ogc.org/common
Other
45 stars 14 forks source link

OpenAPI Challenges & Solutions (from Architecture DWG March 2022) #302

Open jerstlouis opened 2 years ago

jerstlouis commented 2 years ago

Presented today to the Architecture DWG some challenges and solutions from OGC API - Tiles in defining re-usable OpenAPI buliding blocks for OGC API specifications, including consideration for generating pre-compiled generic clients.

Presentation on the portal.

@ghobona @joanma747

jerstlouis commented 7 months ago

@joanma747 @cportele According to https://github.com/OAI/OpenAPI-Specification/issues/2453#issuecomment-1913414315 OAS 3.1 has this new $dynamicRef concept that may allow using templates in APIs for e.g., /collections/{collectionId}, /styles/{styleId}, /processes/{processId}, etc. at a particular end-point like https://maps.gnosis.earth/ogcapi/api/all-collections?f=json , https://maps.gnosis.earth/ogcapi/api/tileMatrixSets?f=json, etc.

Could that be right? I'm still intrigued by the possibility to auto-generate compiled clients from an API definition that will work with all implementations / deployments of an OGC API Standard.