Ignore:
Timestamp:
May 1, 2019, 3:55:35 PM (8 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
1e7f556
Parents:
be25db1
Message:

Adding waters is working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice/src-gen/openapi_server/openapi/openapi.yaml

    rbe25db1 r041e464  
    235235        required: false
    236236        schema:
    237           $ref: '#/components/schemas/item_name'
     237          $ref: '#/components/schemas/itemName'
    238238        style: form
    239239      - example: jane
    … …  
    297297        content:
    298298          application/json:
    299             examples:
    300               Water:
    301                 $ref: '#/components/examples/WaterCreation'
     299            example:
     300              name: Rhein
     301              osmId: 1756854
     302              osmType: Relation
    302303            schema:
    303304              $ref: '#/components/schemas/WaterCreation'
    … …  
    348349        required: true
    349350        schema:
    350           $ref: '#/components/schemas/item_id'
     351          $ref: '#/components/schemas/itemId'
    351352        style: simple
    352353      responses:
    … …  
    398399        osmId: 1756854
    399400        osmType: R
    400         link: http://gnuboat.engsas.com/mapservice/v1/waters/1
    401401    WaterCreation:
    402402      summary: A water example object for creation of a water
    … …  
    404404        name: Mississippi
    405405        osmId: 1756854
    406         osmType: R
     406        osmType: Relation
    407407    waters:
    408408      summary: A sample list with waters
    … …  
    411411        name: Mississippi
    412412        osmId: 1756854
    413         osmType: R
    414         link: http://gnuboat.engsas.com/mapservice/v1/waters/1
     413        osmType: Relation
    415414      - waterId: 2
    416415        name: Bodensee
    417         link: http://gnuboat.engsas.com/mapservice/v1/waters/2
    418416    HttpError:
    419417      value:
    … …  
    508506      title: Activation code for a User
    509507      type: string
    510     item_id:
     508    itemId:
    511509      format: int32
    512510      title: Item ID
    513511      type: integer
    514     item_name:
     512    itemName:
    515513      title: Item Name
    516514      type: string
    517515    osmType:
    518       maxLength: 1
    519       minLength: 1
     516      enum:
     517      - Node
     518      - Way
     519      - Relation
     520      title: OSM type of item (N|W|R)
    520521      type: string
    521522    User:
    … …  
    580581        osmId: 6
    581582        name: name
    582         osmType: osmType
    583         osm_class: osm_class
    584583        waterId: 0
    585584      properties:
    … …  
    599598          type: integer
    600599        osmType:
    601           maxLength: 1
    602           minLength: 1
    603           type: string
    604         osm_class:
    605           maxLength: 1
    606           minLength: 1
    607           type: string
     600          $ref: '#/components/schemas/osmType'
    608601      required:
    609602      - name
    … …  
    615608        osmId: 0
    616609        name: name
    617         osmType: osmType
    618610      properties:
    619611        name:
    … …  
    625617          type: integer
    626618        osmType:
    627           maxLength: 1
    628           minLength: 1
    629           type: string
     619          $ref: '#/components/schemas/osmType'
    630620      required:
    631621      - name
Note: See TracChangeset for help on using the changeset viewer.