Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{".":"1.0.0"}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

## 1.0.0 (2026-07-28)


### Features

* add service logic ([3616f6e](https://github.com/MapColonies/vector-standard/commit/3616f6ead7e0799147a2739407e56c021aa77a0f))
1 change: 0 additions & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ dependencies:
- name: mclabels
version: 1.0.1
repository: oci://acrarolibotnonprod.azurecr.io/helm/infra

35 changes: 8 additions & 27 deletions openapi3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ openapi: 3.0.3
info:
title: Layers & Specs API
description: >
API for retrieving geographic layer specifications.
Layers expose a set of properties; `enum`-typed properties
also carry their list of allowed values.
API for retrieving geographic layer specifications. Layers expose a set of
properties; `enum`-typed properties also carry their list of allowed values.
version: 1.0.0
license:
name: Proprietary
url: https://example.com/licenses/proprietary

paths:
/layers:
get:
Expand All @@ -21,7 +19,6 @@ paths:
$ref: '#/components/responses/LayerListResponse'
'404':
$ref: '#/components/responses/NotFound'

/layers/{layerName}:
get:
summary: Get layer spec by name
Expand All @@ -34,10 +31,7 @@ paths:
$ref: '#/components/responses/LayerSpecResponse'
'404':
$ref: '#/components/responses/NotFound'

components:
# ─── Parameters ──────────────────────────────────────────────────────────────

parameters:
LayerNameParam:
name: layerName
Expand All @@ -47,9 +41,6 @@ components:
schema:
type: string
example: buildings_polygon

# ─── Responses ───────────────────────────────────────────────────────────────

responses:
LayerListResponse:
description: A list of layers with their display aliases
Expand All @@ -63,7 +54,6 @@ components:
alias: Buildings
- layerName: fences_line
alias: Fences

LayerSpecResponse:
description: Full layer specification including its properties
content:
Expand All @@ -86,16 +76,12 @@ components:
alias: Number of Floors
- property: geom
type: gml:PolygonPropertyType

NotFound:
description: The requested resource was not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'

# ─── Schemas ─────────────────────────────────────────────────────────────────

schemas:
LayerSummary:
type: object
Expand All @@ -112,7 +98,6 @@ components:
required:
- layerName
- alias

LayerList:
type: object
description: Response wrapper for the list of layers.
Expand All @@ -123,12 +108,11 @@ components:
$ref: '#/components/schemas/LayerSummary'
required:
- layers

LayerSpec:
type: object
description: >
A layer and all of its properties.
Groups rows from the `Property` entity by `layerName`.
A layer and all of its properties. Groups rows from the `Property`
entity by `layerName`.
properties:
layerName:
type: string
Expand All @@ -146,14 +130,13 @@ components:
- layerName
- alias
- properties

Property:
type: object
description: >
A single property definition for a layer.
Mirrors the `Property` entity, minus `id` and `layerName`
(which are implicit on the parent `LayerSpec`).
When the property has coded/enumerated values, `possibleValues` is populated.
A single property definition for a layer. Mirrors the `Property` entity,
minus `id` and `layerName` (which are implicit on the parent
`LayerSpec`). When the property has coded/enumerated values,
`possibleValues` is populated.
properties:
property:
type: string
Expand All @@ -175,12 +158,10 @@ components:
required:
- property
- type

Type:
type: string
description: GeoServer-compatible WFS type (XSD scalar or GML geometry)
example: xsd:string

Error:
type: object
description: Standard error response
Expand Down
Loading