Commit d6d893df authored by Simon Pastor's avatar Simon Pastor
Browse files

cleaning yaml for request bodies

parent 0a0af862
Loading
Loading
Loading
Loading
+138 −174
Original line number Diff line number Diff line
@@ -1065,9 +1065,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              circleNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyCircleNotificationSubscription'
          example:
            circleNotificationSubscription:
@@ -1089,9 +1086,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              circleNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyCircleNotificationSubscription'
          example:
            circleNotificationSubscription:
@@ -1114,9 +1108,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              distanceNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyDistanceNotificationSubscription'
          example:
            distanceNotificationSubscription:
@@ -1139,9 +1130,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              distanceNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyDistanceNotificationSubscription'
          example:
            distanceNotificationSubscription:
@@ -1165,9 +1153,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              periodicNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyPeriodicNotificationSubscription'
          example:
            periodicNotificationSubscription:
@@ -1184,9 +1169,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              periodicNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyPeriodicNotificationSubscription'
          example:
            periodicNotificationSubscription:
@@ -1204,9 +1186,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              userTrackingSubscription:
            $ref: '#/components/schemas/InlineRequestBodyUserTrackingNotificationSubscription'
          example:
            userTrackingSubscription:
@@ -1221,9 +1200,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              userTrackingSubscription:
            $ref: '#/components/schemas/InlineRequestBodyUserTrackingNotificationSubscription'
          example:
            userTrackingSubscription:
@@ -1239,9 +1215,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zonalTrafficSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZonalTrafficNotificationSubscription'
          example:
            zonalTrafficSubscription:
@@ -1256,9 +1229,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zonalTrafficSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZonalTrafficNotificationSubscription'
          example:
            zonalTrafficSubscription:
@@ -1274,9 +1244,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zoneStatusSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZoneStatusNotificationSubscription'
          example:
            zoneStatusSubscription:
@@ -1292,9 +1259,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zoneStatusSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZoneStatusNotificationSubscription'
          example:
            zoneStatusSubscription:
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)

- API version: 2.1.1
- Build date: 2020-11-10T11:31:01.687-05:00[America/New_York]
- Build date: 2020-11-10T14:51:39.749-05:00[America/New_York]


### Running the server
+144 −180
Original line number Diff line number Diff line
@@ -5551,9 +5551,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              circleNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyCircleNotificationSubscription'
          example:
            circleNotificationSubscription:
@@ -5575,9 +5572,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              circleNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyCircleNotificationSubscription'
          example:
            circleNotificationSubscription:
@@ -5600,9 +5594,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              distanceNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyDistanceNotificationSubscription'
          example:
            distanceNotificationSubscription:
@@ -5625,9 +5616,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              distanceNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyDistanceNotificationSubscription'
          example:
            distanceNotificationSubscription:
@@ -5651,9 +5639,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              periodicNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyPeriodicNotificationSubscription'
          example:
            periodicNotificationSubscription:
@@ -5670,9 +5655,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              periodicNotificationSubscription:
            $ref: '#/components/schemas/InlineRequestBodyPeriodicNotificationSubscription'
          example:
            periodicNotificationSubscription:
@@ -5690,9 +5672,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              userTrackingSubscription:
            $ref: '#/components/schemas/InlineRequestBodyUserTrackingNotificationSubscription'
          example:
            userTrackingSubscription:
@@ -5708,9 +5687,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              userTrackingSubscription:
            $ref: '#/components/schemas/InlineRequestBodyUserTrackingNotificationSubscription'
          example:
            userTrackingSubscription:
@@ -5727,9 +5703,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zonalTrafficSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZonalTrafficNotificationSubscription'
          example:
            zonalTrafficSubscription:
@@ -5745,9 +5718,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zonalTrafficSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZonalTrafficNotificationSubscription'
          example:
            zonalTrafficSubscription:
@@ -5764,9 +5734,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zoneStatusSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZoneStatusNotificationSubscription'
          example:
            zoneStatusSubscription:
@@ -5783,9 +5750,6 @@ components:
      content:
        application/json:
          schema:
            type: object
            properties:
              zoneStatusSubscription:
            $ref: '#/components/schemas/InlineRequestBodyZoneStatusNotificationSubscription'
          example:
            zoneStatusSubscription:
+12 −12
Original line number Diff line number Diff line
@@ -727,7 +727,7 @@ Creates a subscription to the Location Service for an area change notification.

@return InlineResponseCircleNotificationSubscription
*/
func (a *LocationApiService) AreaCircleSubPOST(ctx context.Context, body interface{}) (InlineResponseCircleNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) AreaCircleSubPOST(ctx context.Context, body InlineRequestBodyCircleNotificationSubscription) (InlineResponseCircleNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Post")
		localVarPostBody    interface{}
@@ -884,7 +884,7 @@ Updates a subscription.

@return InlineResponseCircleNotificationSubscription
*/
func (a *LocationApiService) AreaCircleSubPUT(ctx context.Context, body interface{}, subscriptionId string) (InlineResponseCircleNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) AreaCircleSubPUT(ctx context.Context, body InlineRequestBodyCircleNotificationSubscription, subscriptionId string) (InlineResponseCircleNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Put")
		localVarPostBody    interface{}
@@ -1593,7 +1593,7 @@ Creates a subscription to the Location Service for a distance change notificatio

@return InlineResponseDistanceNotificationSubscription
*/
func (a *LocationApiService) DistanceSubPOST(ctx context.Context, body interface{}) (InlineResponseDistanceNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) DistanceSubPOST(ctx context.Context, body InlineRequestBodyDistanceNotificationSubscription) (InlineResponseDistanceNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Post")
		localVarPostBody    interface{}
@@ -1750,7 +1750,7 @@ Updates a subscription.

@return InlineResponseDistanceNotificationSubscription
*/
func (a *LocationApiService) DistanceSubPUT(ctx context.Context, body interface{}, subscriptionId string) (InlineResponseDistanceNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) DistanceSubPUT(ctx context.Context, body InlineRequestBodyDistanceNotificationSubscription, subscriptionId string) (InlineResponseDistanceNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Put")
		localVarPostBody    interface{}
@@ -2284,7 +2284,7 @@ Creates a subscription to the Location Service for a periodic notification.

@return InlineResponsePeriodicNotificationSubscription
*/
func (a *LocationApiService) PeriodicSubPOST(ctx context.Context, body interface{}) (InlineResponsePeriodicNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) PeriodicSubPOST(ctx context.Context, body InlineRequestBodyPeriodicNotificationSubscription) (InlineResponsePeriodicNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Post")
		localVarPostBody    interface{}
@@ -2441,7 +2441,7 @@ Updates a subscription.

@return InlineResponsePeriodicNotificationSubscription
*/
func (a *LocationApiService) PeriodicSubPUT(ctx context.Context, body interface{}, subscriptionId string) (InlineResponsePeriodicNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) PeriodicSubPUT(ctx context.Context, body InlineRequestBodyPeriodicNotificationSubscription, subscriptionId string) (InlineResponsePeriodicNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Put")
		localVarPostBody    interface{}
@@ -2975,7 +2975,7 @@ Creates a subscription to the Location Service for user tracking change notifica

@return InlineResponseUserTrackingNotificationSubscription
*/
func (a *LocationApiService) UserTrackingSubPOST(ctx context.Context, body interface{}) (InlineResponseUserTrackingNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) UserTrackingSubPOST(ctx context.Context, body InlineRequestBodyUserTrackingNotificationSubscription) (InlineResponseUserTrackingNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Post")
		localVarPostBody    interface{}
@@ -3132,7 +3132,7 @@ Updates a subscription.

@return InlineResponseUserTrackingNotificationSubscription
*/
func (a *LocationApiService) UserTrackingSubPUT(ctx context.Context, body interface{}, subscriptionId string) (InlineResponseUserTrackingNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) UserTrackingSubPUT(ctx context.Context, body InlineRequestBodyUserTrackingNotificationSubscription, subscriptionId string) (InlineResponseUserTrackingNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Put")
		localVarPostBody    interface{}
@@ -3839,7 +3839,7 @@ Creates a subscription to the Location Service for zonal traffic change notifica

@return InlineResponseZonalTrafficNotificationSubscription
*/
func (a *LocationApiService) ZonalTrafficSubPOST(ctx context.Context, body interface{}) (InlineResponseZonalTrafficNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) ZonalTrafficSubPOST(ctx context.Context, body InlineRequestBodyZonalTrafficNotificationSubscription) (InlineResponseZonalTrafficNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Post")
		localVarPostBody    interface{}
@@ -3996,7 +3996,7 @@ Updates a subscription.

@return InlineResponseZonalTrafficNotificationSubscription
*/
func (a *LocationApiService) ZonalTrafficSubPUT(ctx context.Context, body interface{}, subscriptionId string) (InlineResponseZonalTrafficNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) ZonalTrafficSubPUT(ctx context.Context, body InlineRequestBodyZonalTrafficNotificationSubscription, subscriptionId string) (InlineResponseZonalTrafficNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Put")
		localVarPostBody    interface{}
@@ -4530,7 +4530,7 @@ Creates a subscription to the Location Service for zone status change notificati

@return InlineResponseZoneStatusNotificationSubscription
*/
func (a *LocationApiService) ZoneStatusSubPOST(ctx context.Context, body interface{}) (InlineResponseZoneStatusNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) ZoneStatusSubPOST(ctx context.Context, body InlineRequestBodyZoneStatusNotificationSubscription) (InlineResponseZoneStatusNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Post")
		localVarPostBody    interface{}
@@ -4687,7 +4687,7 @@ Updates a subscription.

@return InlineResponseZoneStatusNotificationSubscription
*/
func (a *LocationApiService) ZoneStatusSubPUT(ctx context.Context, body interface{}, subscriptionId string) (InlineResponseZoneStatusNotificationSubscription, *http.Response, error) {
func (a *LocationApiService) ZoneStatusSubPUT(ctx context.Context, body InlineRequestBodyZoneStatusNotificationSubscription, subscriptionId string) (InlineResponseZoneStatusNotificationSubscription, *http.Response, error) {
	var (
		localVarHttpMethod  = strings.ToUpper("Put")
		localVarPostBody    interface{}
+12 −12
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@ Creates a subscription to the Location Service for an area change notification.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to an area subscription request | 
  **body** | [**InlineRequestBodyCircleNotificationSubscription**](InlineRequestBodyCircleNotificationSubscription.md)| Request body to an area subscription request | 

### Return type

@@ -227,7 +227,7 @@ Updates a subscription.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to an area subscription request | 
  **body** | [**InlineRequestBodyCircleNotificationSubscription**](InlineRequestBodyCircleNotificationSubscription.md)| Request body to an area subscription request | 
  **subscriptionId** | **string**| Subscription Identifier, specifically the \"self\" returned in the subscription request | 

### Return type
@@ -375,7 +375,7 @@ Creates a subscription to the Location Service for a distance change notificatio
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a distance subscription request | 
  **body** | [**InlineRequestBodyDistanceNotificationSubscription**](InlineRequestBodyDistanceNotificationSubscription.md)| Request body to a distance subscription request | 

### Return type

@@ -403,7 +403,7 @@ Updates a subscription.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a distance subscription request | 
  **body** | [**InlineRequestBodyDistanceNotificationSubscription**](InlineRequestBodyDistanceNotificationSubscription.md)| Request body to a distance subscription request | 
  **subscriptionId** | **string**| Subscription Identifier, specifically the \"self\" returned in the subscription request | 

### Return type
@@ -512,7 +512,7 @@ Creates a subscription to the Location Service for a periodic notification.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a periodic subscription request | 
  **body** | [**InlineRequestBodyPeriodicNotificationSubscription**](InlineRequestBodyPeriodicNotificationSubscription.md)| Request body to a periodic subscription request | 

### Return type

@@ -540,7 +540,7 @@ Updates a subscription.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a periodic subscription request | 
  **body** | [**InlineRequestBodyPeriodicNotificationSubscription**](InlineRequestBodyPeriodicNotificationSubscription.md)| Request body to a periodic subscription request | 
  **subscriptionId** | **string**| Subscription Identifier, specifically the \"self\" returned in the subscription request | 

### Return type
@@ -649,7 +649,7 @@ Creates a subscription to the Location Service for user tracking change notifica
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a user tracking subscription request | 
  **body** | [**InlineRequestBodyUserTrackingNotificationSubscription**](InlineRequestBodyUserTrackingNotificationSubscription.md)| Request body to a user tracking subscription request | 

### Return type

@@ -677,7 +677,7 @@ Updates a subscription.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a user tracking subscription request | 
  **body** | [**InlineRequestBodyUserTrackingNotificationSubscription**](InlineRequestBodyUserTrackingNotificationSubscription.md)| Request body to a user tracking subscription request | 
  **subscriptionId** | **string**| Subscription Identifier, specifically the \"self\" returned in the subscription request | 

### Return type
@@ -823,7 +823,7 @@ Creates a subscription to the Location Service for zonal traffic change notifica
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a zonal traffic subscription request | 
  **body** | [**InlineRequestBodyZonalTrafficNotificationSubscription**](InlineRequestBodyZonalTrafficNotificationSubscription.md)| Request body to a zonal traffic subscription request | 

### Return type

@@ -851,7 +851,7 @@ Updates a subscription.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a zonal traffic subscription request | 
  **body** | [**InlineRequestBodyZonalTrafficNotificationSubscription**](InlineRequestBodyZonalTrafficNotificationSubscription.md)| Request body to a zonal traffic subscription request | 
  **subscriptionId** | **string**| Subscription Identifier, specifically the \"self\" returned in the subscription request | 

### Return type
@@ -960,7 +960,7 @@ Creates a subscription to the Location Service for zone status change notificati
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a zone status subscription request | 
  **body** | [**InlineRequestBodyZoneStatusNotificationSubscription**](InlineRequestBodyZoneStatusNotificationSubscription.md)| Request body to a zone status subscription request | 

### Return type

@@ -988,7 +988,7 @@ Updates a subscription.
Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**interface{}**](interface{}.md)| Request body to a zone status subscription request | 
  **body** | [**InlineRequestBodyZoneStatusNotificationSubscription**](InlineRequestBodyZoneStatusNotificationSubscription.md)| Request body to a zone status subscription request | 
  **subscriptionId** | **string**| Subscription Identifier, specifically the \"self\" returned in the subscription request | 

### Return type