Skip to content

Commit

Permalink
feat: update internal/api/openapi.go
Browse files Browse the repository at this point in the history
* Review debug
  • Loading branch information
nick-rv authored and benoitdm-oslandia committed Apr 4, 2023
1 parent fd7b91b commit 63720d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion hugo/content/examples/ex_query_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@ The simplification operation is done using the Douglas-Peucker algorithm.
http://localhost:9001/collections/ne.countries/items/55
?max-allowable-offset=0.1
```

2 changes: 1 addition & 1 deletion internal/api/openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ func GetOpenAPIContent(urlBase string) *openapi3.T {
Required: false,
Schema: &openapi3.SchemaRef{
Value: &openapi3.Schema{
Type: "integer",
Type: "number",
Min: openapi3.Float64Ptr(0),
Max: openapi3.Float64Ptr(float64(conf.Configuration.Paging.LimitMax)),
Default: conf.Configuration.Paging.LimitDefault,
Expand Down
2 changes: 1 addition & 1 deletion internal/utiltest/test_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func InsertSimpleDataset(db *pgxpool.Pool, schema string) {

// collections tables
type tableContent struct {
geometryType string
geometryType api.GeometryType
extent api.Extent
nx int
ny int
Expand Down

0 comments on commit 63720d5

Please sign in to comment.