You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with swagger html page that is generated after codegen processes.
In the Example Value window I have both uturn and u_turn properties generated
while in the yaml definition only "u_turn" is defined
Swagger-codegen version
3.0.66
Swagger declaration file content or url
way_tags:
type: objectdescription: | Way tags are key-value-pairs that describe the properties of the (physical) street segment that a way represents; the tags that are most relevant DPDHL internally are defined below. Note: - The tags are not necessarily provided in the order defined below. - Use the "fields" parameter to restrict the list of way tags that the service returns. See '#/components/schemas/fields-parameter'properties:
highway:
type: stringenum:
- motorway
- motorway_link
- trunk
- trunk_link
- primary
- primary_link
- secondary
- secondary_link
- tertiary
- tertiary_link
- unclassified
- residential
- service
- pedestrian
- living_street
- cycleway
- footway
- path
- track
- steps
- constructionexample: residentialdescription: | Defines the type of a street segment Note: - Although, in OSM, there are more highway types, the get /street-network service will return only street segments with one of the values in the above list.name:
type: stringdescription: | name of the street segment, as given in OSM Note: - The OSM name of a street segment does not necessarily match the POINT requirements for a street name; the spelling might be differentexample: Charles-de-Gaulle-Stroneway:
type: stringdescription: | defines if a street segment is marked as oneway street or not Sample values: - yes = oneway street (in diggitalization direction, from start to end) - no = not a oneway street - -1 = exceptional case, indicates that a street segment is one way not in digitalization direction, but the reverse direction; used rarelyexample: 'yes''connector':
type: booleandescription: | DPDHL internal tag defines whether it is allowed to connect a postal object (e.g. a delivery point) to a street segment Possible values: - true - falseexample: true'car':
type: booleandescription: | DPDHL internal tag; marks a street segment as being accessible by car Possible values: - true - falseexample: true'carrier':
type: booleandescription: | DPDHL internal tag; marks a street segment as being accessible with a carrier Possible values: - true - falseexample: true'walk':
type: booleandescription: | DPDHL internal tag; marks a street segment as being accessible for pedestrians Possible values: - true - falseexample: true'car_speed':
type: integerformat: int8minimum: 0maximum: 999description: | DHL internal tag; defines speed limit (in km/h) for a street segmentexample: 30'parking':
type: booleandescription: | DPDHL internal tag; defines whether parking is allowed on the street segment Possible values: - true - falseexample: true'u_turn':
type: booleandescription: | DPDHL internal tag; defines whether a u-turn is allowed on the street segment Possible values: - true - falseexample: true'busy':
type: booleandescription: | DPDHL internal tag; defines whether there is much traffic on a street segment or not; on street segments with a lot of traffic (that is: busy), it is usually more difficult to cross the street segment as a pedestrian Possible values: - true - falseexample: false'zigzag':
type: booleandescription: | DPDHL internal tag; defines whether delivery on a street segment can be done alternating between both street sides (zigzag = true), or whether the delivery should be done one street side after the other (zigzag = false) Possible values: - true - falseexample: true'pref_dir':
type: stringdescription: | DPDHL internal tag; defines whether delivery on a street segment should be done in a specific order Possible values: - -1 = contrary to the direction of digitization - 0 = no preference - 1 = in the direction of digitizationexample: 0'pref_loop':
type: stringdescription: | DPDHL internal tag Possible values: 2 1 0 -1 -2example: 0'width':
type: numberformat: doubledescription: | DPDHL internal tag possible values: 0 to 30example: 0minimum: 0maximum: 30'bike_orientation':
type: booleandescription: DPDHL internal tagexample: truerequired:
- highway
Description
I have a problem with swagger html page that is generated after codegen processes.
In the Example Value window I have both uturn and u_turn properties generated
while in the yaml definition only "u_turn" is defined
Swagger-codegen version
3.0.66
Swagger declaration file content or url
Command line used for generation
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Java version: 17.0.10, vendor: Eclipse Adoptium
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: